joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47ecac
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
mov edx, dword [0x418080]
call fcn.0040513c
xor eax, eax
push ebp
push 0x47edff
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49084c], 0
jne 0x47ed02
mov ecx, dword [0x49106c]
mov dl, 1
mov eax, dword [0x407f4c]
call fcn.0040d9a8
call fcn.00403f3c
lea eax, [ebp - 0x30]
xor ecx, ecx
mov edx, 0x10
call fcn.0040314c
mov eax, dword [ebp - 4]
call fcn.00404ed8
mov dword [ebp - 0x2c], eax
mov esi, 0x47ee10
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
call fcn.004062c8
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.00404ee8
test eax, eax
jle 0x47ed9d
mov dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x50]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x47ed94
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 4]
call fcn.00404870
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x50]
mov ecx, 0x10
call fcn.00404858
mov eax, dword [ebp - 0x58]
pop edx
call fcn.00408f1c
test eax, eax
jne 0x47ed94
mov dword [ebp - 0x10], 0x15
jmp 0x47eda4
mov dword [ebp - 0x10], 0x10
jmp 0x47eda4
mov dword [ebp - 0x10], 0x15
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call dword [0x49084c]
call fcn.0047ebdc
mov eax, dword [ebp - 0x18]
call fcn.0047ebdc
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
call fcn.004062e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ee06
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.0040460c
lea eax, [ebp - 0x20]
mov edx, dword [0x418080]
call fcn.0040520c
ret

Function at 0x480a8c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x480afb
push dword fs:[eax]
mov dword fs:[eax], esp
push 7
lea eax, [ebp - 0x13]
push eax
push 0x1004
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x13]
mov ecx, 7
call fcn.00404858
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0xc]
call fcn.0040316c
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0
je 0x480ae5
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480b02
lea eax, [ebp - 0x18]
call fcn.004045e8
ret
Function at 0x480e2c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x480eca
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x492ff8], 0
je 0x480e79
mov eax, dword [ebp - 8]
call fcn.00404ed8
push eax
mov eax, dword [ebp - 4]
call fcn.00404ed8
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
jmp 0x480eaf
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0047fa84
mov eax, dword [ebp - 0x10]
call fcn.00404aa8
push eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0047fa84
mov eax, dword [ebp - 0x14]
call fcn.00404aa8
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480ed1
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040460c
ret

Function at 0x480ed8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x480f4e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x492ff8], 0
je 0x480f16
mov eax, dword [ebp - 4]
call fcn.00404ed8
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
jmp 0x480f38
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0047fa84
mov eax, dword [ebp - 0xc]
call fcn.00404aa8
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480f55
lea eax, [ebp - 0xc]
call fcn.004045e8
ret

Function at 0x481424
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x48150e
xor eax, eax
push ebp
push 0x481501
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 0xc]
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4814d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4814c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
call fcn.00402c98
mov eax, dword [ebp - 0x14]
push eax
movzx eax, word [ebp - 2]
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4814cc
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov byte [ebp - 0xd], 0
mov al, byte [ebp - 0xd]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x482068
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48214e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4908ac], 0xffffffff
jne 0x482097
call fcn.00481d20
mov dword [0x4908ac], eax
cmp dword [0x4908ac], 0xffffffff
je 0x482138
cmp dword [ebp - 4], 0
je 0x482120
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0047fab0
mov eax, dword [ebp - 8]
call fcn.00404ee8
lea eax, [eax + eax*2]
call fcn.00402a78
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
call fcn.00404ee8
push eax
mov eax, dword [ebp - 8]
call fcn.00404ee8
lea eax, [eax + eax*2]
push eax
mov eax, dword [ebp - 8]
call fcn.00404ed8
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.004063d8
dec eax
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x4908ac]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, dword [ebp - 8]
call fcn.00404ee8
lea edx, [eax + eax*2]
mov eax, dword [ebp - 0x10]
call fcn.00402aa8
push 0
lea eax, [ebp - 0xc]
push eax
push 2
push 0x482164
mov eax, dword [0x4908ac]
push eax
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482155
lea eax, [ebp - 8]
call fcn.00404cc8
ret

Function at 0x482168
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
cmp dword [0x4908ac], 0xffffffff
jne 0x482184
call fcn.00481d20
mov dword [0x4908ac], eax
cmp dword [0x4908ac], 0xffffffff
je 0x482220
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00405004
je 0x482208
mov eax, dword [ebp - 4]
call fcn.00404ee8
lea eax, [eax + eax*2]
call fcn.00402a78
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.00404ee8
push eax
mov eax, dword [ebp - 4]
call fcn.00404ee8
lea eax, [eax + eax*2]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ed8
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.004063d8
dec eax
mov dword [ebp - 0x10], eax
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x4908ac]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, dword [ebp - 4]
call fcn.00404ee8
lea edx, [eax + eax*2]
mov eax, dword [ebp - 0xc]
call fcn.00402aa8
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x48222c
mov eax, dword [0x4908ac]
push eax
call sub.kernel32.dll_WriteFile_1
mov esp, ebp
pop ebp
ret
Function at 0x483024
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
je 0x483055
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x483055
mov ecx, 0x19
mov edx, 0x4831a4
mov eax, 0x483208
call fcn.00404544
cmp dword [ebp - 0xc], 0
je 0x483067
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x483195
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 6
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x483093
push 0
push 0
push 1
call sub.kernel32.dll_GetLastError
push eax
call sub.kernel32.dll_RaiseException_1
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp word [eax], 0x25ff
jne 0x483105
add dword [ebp - 0x20], 2
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 6
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4830d9
push 0
push 0
push 1
call sub.kernel32.dll_GetLastError
push eax
call sub.kernel32.dll_RaiseException_1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 6
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x483105
push 0
push 0
push 1
call sub.kernel32.dll_GetLastError
push eax
call sub.kernel32.dll_RaiseException_1
cmp dword [ebp - 0xc], 0
je 0x483126
mov eax, dword [ebp - 0xc]
lea edx, [eax + 4]
mov eax, dword [ebp - 0x10]
mov ecx, 6
call fcn.00402c98
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
mov byte [eax], 0xe9
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x20]
sub eax, 5
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 0x14]
and al, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x14]
shr eax, 8
and al, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x14]
shr eax, 0x10
and al, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx + 3], al
mov eax, dword [ebp - 0x14]
shr eax, 0x18
and al, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx + 4], al
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 6
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x483195
push 0
push 0
push 1
call sub.kernel32.dll_GetLastError
push eax
call sub.kernel32.dll_RaiseException_1
mov esp, ebp
pop ebp
ret
Function at 0x48321c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x483243
mov ecx, 0x5e
mov edx, 0x4832f0
mov eax, 0x483354
call fcn.00404544
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x48325f
mov ecx, 0x5f
mov edx, 0x4832f0
mov eax, 0x483354
call fcn.00404544
mov eax, dword [ebp - 4]
test eax, eax
je 0x4832e4
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x4832e4
lea eax, [ebp - 8]
push eax
push 0x40
push 6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x483296
push 0
push 0
push 1
call sub.kernel32.dll_GetLastError
push eax
call sub.kernel32.dll_RaiseException_1
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
add eax, 4
mov ecx, 6
call fcn.00402c98
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4832d5
push 0
push 0
push 1
call sub.kernel32.dll_GetLastError
push eax
call sub.kernel32.dll_RaiseException_1
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, 0xc
call fcn.0040314c
mov esp, ebp
pop ebp
ret
Function at 0x486ad0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
je 0x486b01
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x486b01
mov ecx, 0x19
mov edx, 0x486c70
mov eax, 0x486cd8
call fcn.00404544
cmp dword [ebp - 0xc], 0
je 0x486b13
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x486c62
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 6
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x486b3f
push 0
push 0
push 1
call sub.kernel32.dll_GetLastError
push eax
call sub.kernel32.dll_RaiseException_1
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp word [eax], 0x25ff
jne 0x486bb8
add dword [ebp - 0x20], 2
jno 0x486b5a
call fcn.004036b0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 6
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x486b8c
push 0
push 0
push 1
call sub.kernel32.dll_GetLastError
push eax
call sub.kernel32.dll_RaiseException_1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 6
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x486bb8
push 0
push 0
push 1
call sub.kernel32.dll_GetLastError
push eax
call sub.kernel32.dll_RaiseException_1
cmp dword [ebp - 0xc], 0
je 0x486bd9
mov eax, dword [ebp - 0xc]
lea edx, [eax + 4]
mov eax, dword [ebp - 0x10]
mov ecx, 6
call fcn.00402c98
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
mov byte [eax], 0xe9
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x20]
jno 0x486bec
call fcn.004036b0
sub eax, 5
jno 0x486bf6
call fcn.004036b0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
and eax, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x14]
shr eax, 8
and eax, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x14]
shr eax, 0x10
and eax, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx + 3], al
mov eax, dword [ebp - 0x14]
shr eax, 0x18
and eax, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx + 4], al
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 6
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x486c62
push 0
push 0
push 1
call sub.kernel32.dll_GetLastError
push eax
call sub.kernel32.dll_RaiseException_1
mov esp, ebp
pop ebp
ret
Function at 0x487370
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4873ea
push dword fs:[eax]
mov dword fs:[eax], esp
push 6
lea eax, [ebp - 0xf]
push eax
push 0x1004
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
call sub.kernel32.dll_GetACP
test eax, eax
jns 0x4873ae
call fcn.004036a8
push eax
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xf]
mov ecx, 7
call fcn.00404858
mov eax, dword [ebp - 0x14]
pop edx
call fcn.00409654
test eax, eax
jns 0x4873d1
call fcn.004036a8
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4873f1
lea eax, [ebp - 0x14]
call fcn.004045e8
ret

Function at 0x4873f8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x18], 0
je 0x487457
lea eax, [ebp - 4]
push eax
push 0x40
push 6
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x48742b
call fcn.0040f26c
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov ecx, 6
call fcn.00402c98
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 6
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x487457
call fcn.0040f26c
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x47009b
Capabilities:
Encode data using xor

Disassembly:
or dword [ebx + 0x239e2207], eax
add al, byte [ebp - 0x2e]
out 0x45, eax
push ebp
in al, dx
mov cl, byte [ebp - 0x60]
shr ebx, 0xc6
test byte [esi - 0x4c], dl
inc ebx
test al, 0x23
int1
sub esi, 0x3b
mov ah, 0xc8
enter 0xffffffffffff8c40, 0xffffffffffffff9a
add eax, dword [ecx]
add cl, al
enter 0xffffffffffff8c40, 0xffffffffffffff9a
add eax, dword [ecx]
add cl, al
sub al, 0x43
inc eax
loope 0x47010a
cmp al, 0x19
mov word [ebx + 4], ss
inc edi
arpl word [ebx - 0x73], di
jo 0x47007d
cmp edx, edx
jae 0x4700f3
sbb byte [esi + 0x3c], dh
jmp 0xec9498cc
insb byte es:[edi], dx
lodsb al, byte [esi]
add al, 0x1d
jl 0x47016b
loopne 0x470083
adc dword [eax + 0x51e320ea], ebx
rcr dword [eax - 0x23], 0xbf
push ebp
fdivr qword [ebp - 0x36ccc3b5]
cmp al, 0x33
leave
add eax, esi
adc edx, ecx
cmp edx, dword [ebp + 7]
xchg edi, eax
dec ecx
lea eax, [esi]
dec ecx
add byte [eax + eax*4 - 0x3ae0afc2], 0xd5
sub dword [esp + esi*4], eax
add eax, 0xde277589
push esp
push 0xffffffffffffffbc
or esp, eax
hlt
or dword [eax + 0x3dd86db9], ebx
push cs
jmp 0x47016f
shl byte [ecx - 0x10], 0x5d
lcall 0x902, 0xe0134508
int 0xa0
cmp edx, eax
rcr ecx, 1
aaa
sbb byte [eax + 0x10e37024], al
add al, byte [ecx + 0x79d5c3f]
pushal
add al, 0x37
add eax, 0x67618c1e
cmp al, 6
fld dword [esi + 0x7a54d0a7]
inc edx
pop eax
cmpsd dword [esi], dword es:[edi]
jge 0x470150
add eax, 0x69c03844
dec ecx
mov ecx, dword [eax - 0x3fff2d94]
xor dword [ecx], edx
sbb dh, byte [edx]
adc ebp, eax
or al, 0x34
dec edx
or byte [ebx - 0x3c], al
loope 0x470178
outsd dx, dword [esi]
or ebp, dword [edi + 0x20048d57]
std
or edi, 0xc45a99d6
add byte [ecx], bl
or byte [ebp + 0xc], al
mov cl, 0x23
or bl, dh
dec eax
int3
Function at 0x401580
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c8f5f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_CWnd::CWnd
xor ebx, ebx
lea ecx, [esi + 0x40]
mov dword [esp + 0x30], ebx
call sub.MFC42.DLL_CString::CString_3
lea edi, [esi + 0x44]
mov byte [esp + 0x30], 1
mov ecx, edi
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [edi + 4]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_3
mov al, byte [esp + 0xf]
mov cl, byte [esp + 0xf]
mov byte [edi + 0xc], al
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov byte [edi + 0x1c], cl
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x34], ebx
mov ecx, 0x11
mov eax, 0xa
mov dword [esi + 0x7c], 0x4d66dc
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], 0x4d66c8
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], eax
mov byte [esp + 0x30], 5
mov dword [esi], 0x4d6608
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push ebx
push ebx
lea edx, [esp + 0x20]
push eax
push edx
push ebx
push 0x554ea0
push ebx
mov ecx, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call sub.MFC42.DLL_CWnd::Create
push ebx
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 8
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x20]
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x403bb0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c93b8
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push 0x65
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ebp, eax
test ebp, ebp
je 0x403ceb
mov eax, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esi + 0x60]
call sub.MFC42.DLL_CListCtrl::GetItemText_1
add esi, 0x1a4
push eax
lea edx, [esp + 0x24]
push esi
push edx
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_operator_3
push str..txt
push eax
lea eax, [esp + 0x10]
mov byte [esp + 0x20], 1
push eax
call sub.MFC42.DLL_operator_4
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
push 0x53432c
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x403c85
push 0x554ea0
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
pop ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
push ebx
push edi
push 2
push 0
push esi
call dword [sym.imp.MSVCRT.dll_fseek]
push esi
call dword [sym.imp.MSVCRT.dll_ftell]
push esi
mov ebx, eax
call dword [sym.imp.MSVCRT.dll_rewind]
lea edx, [ebx + 1]
push edx
call sub.MFC42.DLL_operatornew
push esi
mov edi, eax
push ebx
push 1
push edi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x28
mov ecx, ebp
mov byte [edi + ebx], 0
push edi
call sub.MFC42.DLL_CWnd::SetWindowTextA
push edi
call dword [sym.imp.MSVCRT.dll_free]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop ebx
mov ecx, dword [esp + 0x10]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x403d00
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c93d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_3
mov esi, dword [esi + 0x18c]
mov dword [esp + 0x10], 0
test esi, esi
je 0x403d69
push edi
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea eax, [esi + 8]
lea ecx, [esp + 8]
push eax
call sub.MFC42.DLL_CString::operator_3
mov ecx, dword [esp + 8]
mov esi, dword [esi]
push 5
push 0x554ea0
push 0x554ea0
push ecx
push str.open
push 0
call edi
test esi, esi
jne 0x403d3b
pop edi
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret