joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9a48
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a9bb9
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a9b94
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404510
lea eax, [ebp - 0x118]
mov edx, 0x4a9bd0
call fcn.004045f0
mov eax, dword [ebp - 0x118]
call fcn.004047e8
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4a9b06
lea eax, [ebp - 0x111]
call fcn.00409574
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404418
jmp 0x4a9b0d
mov eax, esi
call fcn.00404328
cmp bl, 0x61
jae 0x4a9b2e
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040d570
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.0040437c
jmp 0x4a9b48
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040d4e4
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.0040437c
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x4a9bdc
call fcn.00409c50
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.0040437c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9b9b
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x4afa10
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004047d8
xor eax, eax
push ebp
push 0x4afa73
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
call fcn.004afaf4
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x4afa59
lea eax, [ebp - 4]
call fcn.004afaf4
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x4afa5d
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4afa7a
lea eax, [ebp - 4]
call fcn.00404328
ret

Function at 0x4afa84
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004047d8
xor eax, eax
push ebp
push 0x4afae9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1e]
push eax
lea eax, [ebp - 4]
call fcn.004afaf4
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1e]
call fcn.00409760
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4afaf0
lea eax, [ebp - 4]
call fcn.00404328
ret
Function at 0x4b0268
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.004047d8
xor eax, eax
push ebp
push 0x4b03cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov ax, word [eax + 4]
mov edx, dword [ebp - 4]
mov word [edx + 4], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 6]
mov edx, dword [ebp - 4]
mov word [edx + 6], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 8]
mov edx, dword [ebp - 4]
mov word [edx + 8], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0xa]
mov edx, dword [ebp - 4]
mov word [edx + 0xa], ax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.004af72c
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1c]
mov edx, dword [ebp - 4]
mov word [edx + 0x1c], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1e]
mov edx, dword [ebp - 4]
mov word [edx + 0x1e], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x20]
mov edx, dword [ebp - 4]
mov word [edx + 0x22], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x22]
mov edx, dword [ebp - 4]
mov word [edx + 0x24], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x24]
mov edx, dword [ebp - 4]
mov word [edx + 0x26], ax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26]
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2a]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004093bc
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004b0ed8
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004092a0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004b0f60
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x48], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b03d6
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040434c
ret
Function at 0x4b03dc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.004047d8
xor eax, eax
push ebp
push 0x4b0543
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov word [eax + 4], 0
mov eax, dword [ebp - 8]
mov ax, word [eax + 4]
mov edx, dword [ebp - 4]
mov word [edx + 6], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 6]
mov edx, dword [ebp - 4]
mov word [edx + 8], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 8]
mov edx, dword [ebp - 4]
mov word [edx + 0xa], ax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa]
call fcn.004af72c
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x12]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x16]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1a]
mov edx, dword [ebp - 4]
mov word [edx + 0x1c], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1c]
mov edx, dword [ebp - 4]
mov word [edx + 0x20], ax
mov eax, dword [ebp - 4]
mov word [eax + 0x22], 0
mov eax, dword [ebp - 4]
mov word [eax + 0x24], 0
mov eax, dword [ebp - 4]
mov word [eax + 0x26], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
cmp dword [ebp - 0xc], 0
je 0x4b04fe
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004093bc
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004b0ed8
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004092a0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004b0f60
jmp 0x4b0512
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004b0ed8
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004b0f60
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x48], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b054a
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040434c
ret
Function at 0x4b7c2c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x170]
mov dl, byte [ebp - 5]
mov eax, dword [ebp - 4]
call fcn.004b7ef8
mov edx, dword [ebp - 4]
mov dword [edx + 0x170], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x170]
and eax, 0xff
mov edx, dword [ebp - 4]
add dword [edx + 0x174], eax
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0x174], 0x8088405
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x174], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x174]
shr edx, 0x18
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x178]
mov eax, dword [ebp - 4]
call fcn.004b7ef8
mov edx, dword [ebp - 4]
mov dword [edx + 0x178], eax
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b7ce8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4b7d2f
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
call fcn.004b7cb0
mov edx, dword [ebp - 8]
xor byte [edx], al
mov eax, dword [ebp - 8]
mov dl, byte [eax]
mov eax, dword [ebp - 4]
call fcn.004b7c2c
inc dword [ebp - 8]
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x4b7d0a
mov esp, ebp
pop ebp
ret

Function at 0x4b7dd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004047d8
xor eax, eax
push ebp
push 0x4b7e58
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004b7d34
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.004b7cb0
mov edx, dword [ebp - 0x10]
xor al, byte [ebp + edx - 0x1d]
mov byte [ebp - 0x11], al
mov dl, byte [ebp - 0x11]
mov eax, dword [ebp - 4]
call fcn.004b7c2c
mov eax, dword [ebp - 0x10]
mov dl, byte [ebp - 0x11]
mov byte [ebp + eax - 0x1d], dl
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xc
jne 0x4b7e0c
mov al, byte [ebp - 0x12]
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7e5f
lea eax, [ebp - 8]
call fcn.00404328
ret
Function at 0x4b8c5c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b8e56
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0xffffffff
jle 0x4b8e0f
mov eax, dword [ebp - 4]
call fcn.004ba8a8
cmp eax, dword [ebp - 8]
jle 0x4b8e0f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, dword [ebp - 8]
call fcn.004aebc8
mov edx, dword [0x4afb94]
call fcn.004036e4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.004b0e14
test al, al
je 0x4b8e05
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x44], 0
jne 0x4b8df5
xor eax, eax
push ebp
push 0x4b8dee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004b9310
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.00419ec8
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x10]
push dword [eax + 0x34]
push dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x4e]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov ebx, dword [eax]
call dword [ebx + 0xc]
movzx eax, word [ebp - 0x32]
movzx edx, word [ebp - 0x30]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx eax, word [ebp - 0x2e]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.00404974
mov eax, dword [ebp - 0xc]
call fcn.00404840
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov al, byte [eax + 0x28]
mov byte [ebp - 0x15], al
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004b9030
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov dl, byte [ebp - 0x15]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8e40
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x4b8ded
mov eax, dword [ebp - 4]
call fcn.004b93bc
ret
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
call fcn.00409760
jmp 0x4b8e40
mov eax, dword [ebp - 0xc]
call fcn.00404328
jmp 0x4b8e40
mov eax, dword [ebp - 8]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
lea eax, [ebp - 0x58]
push eax
push 0
lea edx, [ebp - 0x5c]
mov eax, 0xb3
call fcn.00408cc4
mov ecx, dword [ebp - 0x5c]
mov dl, 1
mov eax, dword [0x415bec]
call fcn.0040c71c
call fcn.00403cc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8e5d
lea eax, [ebp - 0x5c]
call fcn.00404328
ret
Function at 0x4c1454
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
xor edx, edx
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c163b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004c1140
push 0x105
lea eax, [ebp - 0x121]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x128]
lea edx, [ebp - 0x121]
mov ecx, 0x105
call fcn.00404598
mov edx, dword [ebp - 0x128]
lea eax, [ebp - 0x18]
mov ecx, 0x4c1650
call fcn.00404634
lea eax, [ebp - 0x12c]
lea edx, [ebp - 0x121]
mov ecx, 0x105
call fcn.00404598
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x1c]
mov ecx, 0x4c166c
call fcn.00404634
mov eax, dword [ebp - 0x1c]
call fcn.00408e5c
test al, al
je 0x4c1501
mov eax, dword [ebp - 0x1c]
call fcn.00409150
mov eax, dword [ebp - 0x18]
call fcn.00408e5c
test al, al
je 0x4c1536
mov eax, dword [ebp - 0x18]
call fcn.00409150
test al, al
jne 0x4c1536
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.00409168
mov ecx, 0x4c1688
mov edx, 0x4c16d0
mov eax, dword [ebp - 4]
call fcn.004c2e30
xor eax, eax
mov dword [ebp - 0xc], eax
push 0x4c16d8
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4c1610
xor eax, eax
push ebp
push 0x4c1609
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4c16e8
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 8], eax
push 0x4c1708
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
je 0x4c158e
cmp dword [ebp - 0xc], 0
jne 0x4c1595
call fcn.00403d6c
jmp 0x4c1610
lea eax, [ebp - 0x14]
push eax
call dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
call fcn.00408e5c
test al, al
je 0x4c15b0
mov eax, dword [ebp - 0x1c]
call fcn.00409150
mov eax, dword [ebp - 0x18]
call fcn.00408e5c
test al, al
je 0x4c15e5
mov eax, dword [ebp - 0x18]
call fcn.00409150
test al, al
jne 0x4c15e5
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.00409168
mov ecx, 0x4c1730
mov edx, 0x4c1778
mov eax, dword [ebp - 4]
call fcn.004c2e30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1610
cmp dword [ebp - 0xc], 0
je 0x4c15ff
mov eax, dword [ebp - 0x14]
push eax
call dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1642
lea eax, [ebp - 0x12c]
mov edx, 2
call fcn.0040434c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040434c
ret
Function at 0x4c1780
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
xor ecx, ecx
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004047d8
xor eax, eax
push ebp
push 0x4c1923
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
lea eax, [ebp - 0x125]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x12c]
lea edx, [ebp - 0x125]
mov ecx, 0x105
call fcn.00404598
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x20]
mov ecx, 0x4c1938
call fcn.00404634
lea eax, [ebp - 0x1c]
mov ecx, 0x4c1938
mov edx, dword [ebp - 8]
call fcn.00404634
push 0
mov eax, dword [ebp - 0x20]
call fcn.004047e8
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004047e8
push eax
call sub.kernel32.dll_CopyFileA
push 0
push 0x4c194c
call sub.kernel32.dll_WinExec
call fcn.00467210
test al, al
je 0x4c18f5
xor eax, eax
mov dword [ebp - 0x10], eax
push 0x4c1974
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4c18f5
xor eax, eax
push ebp
push 0x4c18ee
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4c1984
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0xc], eax
push 0x4c19a4
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
je 0x4c1887
cmp dword [ebp - 0x10], 0
jne 0x4c188e
call fcn.00403d6c
jmp 0x4c18f5
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0xc]
lea eax, [ebp - 0x1c]
mov ecx, 0x4c19cc
mov edx, dword [ebp - 8]
call fcn.00404634
push 0
mov eax, dword [ebp - 0x20]
call fcn.004047e8
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004047e8
push eax
call sub.kernel32.dll_CopyFileA
push 0
push 0x4c194c
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c18f5
cmp dword [ebp - 0x10], 0
je 0x4c18e4
mov eax, dword [ebp - 0x18]
push eax
call dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c192a
lea eax, [ebp - 0x12c]
call fcn.00404328
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040434c
lea eax, [ebp - 8]
call fcn.00404328
ret
Function at 0x4c19e4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004047d8
xor eax, eax
push ebp
push 0x4c1af1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
call fcn.004bff54
call fcn.00467210
test al, al
je 0x4c1a3f
push dword [ebp - 8]
push 0x4c1b04
push 0x4c1b18
push 0x4c1b28
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.004046a8
jmp 0x4c1a5e
push dword [ebp - 8]
push 0x4c1b3c
push 0x4c1b18
push 0x4c1b28
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.004046a8
mov eax, dword [ebp - 0xc]
call fcn.00408e5c
test al, al
je 0x4c1ace
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x3c
call fcn.00402eb0
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x40
mov eax, 0x4c1b48
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
call fcn.004047e8
mov dword [ebp - 0x38], eax
mov eax, 0x4c1b50
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0xc]
call fcn.004092a0
mov eax, dword [ebp - 0x4c]
call fcn.004047e8
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
push eax
call sub.shell32.dll_ShellExecuteExA
mov eax, dword [ebp - 0x10]
mov dword [0x4ceb4c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1af8
lea eax, [ebp - 0x4c]
call fcn.00404328
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040434c
ret

Function at 0x4c2100
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
push ebp
call fcn.004c2074
pop ecx
push 0
push 2
call sub.user32.dll_ExitWindowsEx
pop ecx
pop ebp
ret
Function at 0x4c2e30
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004047d8
mov eax, dword [ebp - 0xc]
call fcn.004047d8
xor eax, eax
push ebp
push 0x4c2ee1
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0xf013f
mov dl, 1
mov eax, dword [0x433aa4]
call fcn.00433c54
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4c2ebf
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0x10]
call fcn.00433cec
mov cl, 1
mov edx, 0x4c2ef4
mov eax, dword [ebp - 0x10]
call fcn.00433d54
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00434438
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c2ec6
mov eax, dword [ebp - 0x10]
call fcn.00403534
ret