joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002bcb0
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [esp + 4]
cmp word [eax], 0x5a4d
jne 0x1002bcf6
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov ax, word [ecx]
cmp ax, 0x454e
je 0x1002bcf0
cmp ax, 0x454c
je 0x1002bcf0
cmp ax, 0x584c
je 0x1002bcf0
mov edx, dword [ecx]
xor eax, eax
cmp edx, 0x4550
setne al
dec eax
and eax, 0xffffeb03
add eax, 0x5a4d
ret 4
movzx eax, ax
ret 4
xor eax, eax
ret 4

Function at 0x1002bd20
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
push eax
mov ecx, edi
mov dword [esi], sym.Host71.dll_const_CPEParse::vftable
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov eax, dword [esi + 0x18]
push 0
push 0x10000000
push 3
push 0
push 1
and eax, 0xfffffffe
push Ordinal_2
mov ecx, edi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 8], eax
je 0x1002bdda
push 0
push 0
push 0
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esi + 0xc], eax
je 0x1002bdda
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 0x10], eax
je 0x1002bdda
push eax
mov ecx, esi
call sym.Host71.dll_public:_unsigned_long_int___thiscall_CPEParse::ImageFileType_void__
mov edi, dword [esi + 0x18]
xor ecx, ecx
cmp eax, 0x4550
sete cl
mov dword [esi + 0x14], eax
mov eax, edi
xor ecx, edi
and ecx, 1
xor eax, ecx
mov dword [esi + 0x18], eax
test byte [esi + 0x18], 1
jne 0x1002bde7
mov ecx, esi
call sym.Host71.dll_protected_virtual:_void___thiscall_CPEParse::Cleanup_void_
pop edi
mov eax, esi
pop esi
ret 4

Function at 0x1002c050
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x44
mov eax, dword [0x1005d1c0]
push esi
push edi
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, 0x40
ja 0x1002c08d
push 0x40
lea eax, [esp + 8]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, esi
jne 0x1002c08d
push edi
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x1002c095
push edi
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [esp + 0x44]
pop esi
call fcn.10038e11
add esp, 0x44
ret
Function at 0x1002c190
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x6c
mov eax, dword [0x1005d1c0]
push esi
mov dword [esp + 0x6c], eax
push 0x64
mov esi, ecx
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.MSVCR71.dll_strtod]
mov eax, dword [esp + 0xc]
add esp, 8
test eax, eax
je 0x1002c1e6
cmp byte [eax], 0
jne 0x1002c1e6
fstp qword [esi + 0xe8]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x68]
call fcn.10038e11
add esp, 0x6c
ret
mov ecx, dword [esp + 0x6c]
fstp st(0)
mov eax, 0xfffffffe
pop esi
call fcn.10038e11
add esp, 0x6c
ret

Function at 0x1002c2b0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x148]
test eax, eax
je 0x1002c2ca
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x144]
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call edi
test ax, ax
jge 0x1002c2e1
fld qword [esi + 0xe0]
jmp 0x1002c301
push 0x10
call edi
test ax, ax
jl 0x1002c2fb
push 2
call edi
test ax, ax
jl 0x1002c2fb
fld qword [esi + 0xd0]
jmp 0x1002c301
fld qword [esi + 0xd8]
fadd qword [esi + 0xe8]
mov eax, dword [esi]
pop edi
mov ecx, esi
fstp qword [esi + 0xe8]
pop esi
jmp dword [eax + 0x144]

Function at 0x1002c320
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x148]
test eax, eax
je 0x1002c33a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x144]
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call edi
test ax, ax
jge 0x1002c351
fld qword [esi + 0xe0]
jmp 0x1002c371
push 0x10
call edi
test ax, ax
jl 0x1002c36b
push 2
call edi
test ax, ax
jne 0x1002c36b
fld qword [esi + 0xd0]
jmp 0x1002c371
fld qword [esi + 0xd8]
fld qword [esi + 0xe8]
mov eax, dword [esi]
fsub st(1)
pop edi
mov ecx, esi
fstp qword [esi + 0xe8]
pop esi
fstp st(0)
jmp dword [eax + 0x144]
Function at 0x1002f470
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x1003bd49
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
mov dword [esp + 0x14], 0
call sub.MFC71.DLL_AfxGetModuleState
mov esi, dword [eax + 8]
movzx eax, word [esp + 0x1c]
push str.SMLDOC
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1002f4c8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x1002f4e7
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
push 0
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
mov ecx, edi
call fcn.1002ed50
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x10032410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1003be89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0xc]
call dword [0x1003d2e4]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10036d60
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1003c279
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [esi + 4], ebx
je 0x10036e70
cmp dword [sym.Host71.dll_enum_LoadState_CWinExec::ggm_eLS], 2
jne 0x10036e70
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov edi, dword [esp + 0x24]
cmp edi, ebx
mov dword [esp + 0x14], ebx
je 0x10036dcc
cmp byte [edi], bl
je 0x10036dcc
push 0x20
lea ecx, [esp + 0x20]
call dword [0x1003d318]
push edi
lea ecx, [esp + 0x20]
call dword [0x1003d2ec]
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
mov dword [esi + 4], eax
jae 0x10036df9
push 5
push sym.Host71.dll_enum_LoadState_CWinExec::ggm_eLS
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x10036e66
mov eax, dword [sym.Host71.dll_enum_LoadState_CWinExec::ggm_eLS]
xor esi, esi
cmp eax, 2
jne 0x10036e27
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10036e10
push 0x64
call edi
mov eax, dword [sym.Host71.dll_enum_LoadState_CWinExec::ggm_eLS]
inc esi
cmp esi, 0xc8
jge 0x10036e27
cmp eax, 2
je 0x10036e10
mov ecx, eax
sub ecx, 4
je 0x10036e61
dec ecx
je 0x10036e66
cmp eax, 2
jne 0x10036e51
cmp esi, 0xc8
jl 0x10036e51
mov eax, 3
push eax
push sym.Host71.dll_enum_LoadState_CWinExec::ggm_eLS
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x10036e66
xor eax, eax
push eax
push sym.Host71.dll_enum_LoadState_CWinExec::ggm_eLS
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x10036e66
mov ebx, 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0xc

Function at 0x10037200
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0xfffffffffffffff0
push ebp
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x20000000
je 0x10037228
push 3
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
push ebp
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, eax
cmp esi, edi
je 0x10037251
push 1
push edi
push esi
call ebx
push ebp
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp esi, edi
je 0x10037262
push 0
push edi
push esi
call ebx
push 1
push 0
push ebp
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10037676
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100376cc
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x1003de55
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100376bf
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x100376ce
xor eax, eax
pop esi
leave
ret 4

Function at 0x10039c5f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x1005d1c0]
push esi
mov dword [ebp + 0x74], eax
mov esi, ecx
call fcn.10039b35
mov eax, 0x10000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR71.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x10039cc1
cmp dword [ebp - 0x1c], 5
jb 0x10039cd9
jmp 0x10039cd5
cmp dword [ebp - 0x10], 1
jne 0x10039cd9
cmp dword [ebp - 0x1c], 4
ja 0x10039cd5
jne 0x10039cd9
cmp dword [ebp - 0x18], 0
jbe 0x10039cd9
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x710
mov dword [esi + 0x14], 0x10044384
call fcn.1003853a
test eax, eax
jge 0x10039cfa
mov byte [0x1005d25c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
pop esi
call fcn.10038e11
add ebp, 0x78
leave
ret
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x5cc47832
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x55b57bd7
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x2a473bc2
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x78952f6b
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x37782231
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..text
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7d172961
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x50432f02
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x72482b89
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4023c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x402868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov eax, dword [esp + 0x18]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x402439
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 4]
push 0
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov al, 1
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 8]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x402460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x402890
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
and ecx, 0xffff
push eax
push ecx
push 0
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x402509
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x402509
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x402509
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, ebx
mov esi, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString
jmp loc.0040f498
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp int.00401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407358
nop
mov ecx, 0x73391148
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cdf0
nop
mov ecx, 0x48a575c9
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x10], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
jmp 0x4010c3
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x18]
jae 0x401105
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call section..text
add esp, 4
cmp eax, dword [ebp + 0xc]
jne 0x401103
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx*4]
jmp 0x401105
jmp 0x4010ba
mov esp, ebp
pop ebp
ret
Function at 0x401710
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
push 0xd4f6
call fcn.00401110
add esp, 8
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 8]
push ecx
push 0x9aac
call fcn.00401110
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], 0
je 0x40183f
cmp dword [ebp - 0xc], 0
je 0x40183f
cmp dword [ebp - 0x1c], 0
je 0x40183f
cmp dword [ebp - 8], 0
je 0x40183f
mov edx, dword [ebp - 0xc]
shr edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407928
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
jmp 0x4017a7
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0xc]
jae 0x4017c2
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
mov cl, byte [edx + ecx*2]
mov byte [eax], cl
jmp 0x40179e
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.004016c0
add esp, 0x10
mov eax, dword [ebp - 0x18]
push eax
call fcn.00401300
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword fs:[0x30]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + ecx + 0x28]
mov dword [ebp - 0x2c], eax
call dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004075a0
add esp, 4
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004075a0
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
call fcn.004075a0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404704
mov esp, ebp
pop ebp
ret

Function at 0x404fd4
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x405013
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x405013
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x405013
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x405013
cmp dword [ecx + 0x74], 0xe
jbe 0x405013
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret