joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4096f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x868
mov eax, dword [0x4290c0]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push 0x40
lea eax, [ebp - 0x860]
push 0
push eax
call fcn.00411ce0
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x834], ax
mov word [ebp - 0x80c], ax
lea eax, [ebp - 0x80a]
xorps xmm0, xmm0
push eax
mov dword [ebp - 0x81c], 0
movq qword [ebp - 0x818], xmm0
mov dword [ebp - 0x810], 0
mov dword [ebp - 0x864], 0x44
mov dword [ebp - 0x838], 1
call fcn.00411ce0
add esp, 0x18
cmp dword [ebp + 0x30], 0
lea eax, [ebp + 8]
jne 0x409795
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x80c]
push 0x426320
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x4097bf
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x80c]
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x864]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x80c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4097f0
xor esi, esi
jmp 0x409804
push dword [ebp + 0x38]
push dword [ebp - 0x81c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, 1
cmp dword [ebp + 0x34], 8
jb 0x409815
push dword [ebp + 0x20]
call fcn.0040d11a
add esp, 4
xor eax, eax
cmp dword [ebp + 0x1c], 8
mov dword [ebp + 0x34], 7
mov dword [ebp + 0x30], 0
mov word [ebp + 0x20], ax
jb 0x40983a
push dword [ebp + 8]
call fcn.0040d11a
add esp, 4
mov ecx, dword [ebp - 8]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040d11f
mov esp, ebp
pop ebp
ret
Function at 0x409850
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4290c0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x256
push eax
mov word [ebp - 0x25c], ax
lea eax, [ebp - 0x25a]
push eax
mov dword [ebp - 0x260], 1
mov dword [ebp - 0x264], 0x12c
call fcn.00411ce0
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x260]
push eax
push str.ProviderName
push str.SYSTEMControlSet001ControlClass4D36E968_E325_11CE_BFC1_08002BE103180000
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4098d3
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040d11f
mov esp, ebp
pop ebp
ret
mov ecx, str.VMware__Inc.
lea eax, [ebp - 0x25c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409906
test dx, dx
je 0x409902
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409906
add eax, 4
add ecx, 4
test dx, dx
jne 0x4098e0
xor eax, eax
jmp 0x40990b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x409922
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040d11f
mov esp, ebp
pop ebp
ret
mov ecx, str.Oracle_Corporation
lea eax, [ebp - 0x25c]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409956
test dx, dx
je 0x409952
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409956
add eax, 4
add ecx, 4
test dx, dx
jne 0x409930
xor ecx, ecx
jmp 0x40995b
sbb ecx, ecx
or ecx, 1
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
call fcn.0040d11f
mov esp, ebp
pop ebp
ret
Function at 0x40ae90
Capabilities:
Connect to wmi namespace via wbemlocator
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test eax, eax
je 0x40aeae
push str.WMI_DeviceQuery_Init:faild
call edi
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
je 0x40aed1
push str.WMI_DeviceQuery_Init:faild
call edi
push 0x42b72c
push 0x4234dc
push 1
push 0
push 0x4235ac
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [0x42b72c], 0
jne 0x40af04
push str.WMI_DeviceQuery_Init:faild
call edi
mov eax, 0xfffffffe
pop edi
mov esp, ebp
pop ebp
ret
push ecx
lea ecx, [ebp - 4]
call fcn.0040a870
mov edx, dword [eax]
test edx, edx
je 0x40af17
mov edx, dword [edx]
jmp 0x40af19
xor edx, edx
mov eax, dword [0x42b72c]
push esi
mov ecx, dword [eax]
push 0x42b728
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov esi, dword [ebp - 4]
test esi, esi
je 0x40af83
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x40af83
test esi, esi
je 0x40af83
mov eax, dword [esi]
test eax, eax
je 0x40af63
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40af7a
push eax
call fcn.0040dff6
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.0040d11a
add esp, 4
mov eax, dword [0x42b728]
pop esi
test eax, eax
je 0x40aef3
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
je 0x40afb1
push str.WMI_DeviceQuery_Init:faild
call edi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40c2f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a8
mov eax, dword [0x4290c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0x3ff
lea eax, [ebp - 0x407]
push 0
push eax
mov byte [ebp - 0x408], 0
call fcn.00411ce0
mov edi, dword [ebp + 0xc]
add esp, 0xc
lea eax, [ebp - 0x408]
push 0
push 0
push edi
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x40c35a
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040d11f
mov esp, ebp
pop ebp
ret 8
cmp byte [ebp - 0x408], 0
mov byte [ebp - 0x440], 0
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x4a8], 0x67452301
mov dword [ebp - 0x4a4], 0xefcdab89
mov dword [ebp - 0x4a0], 0x98badcfe
mov dword [ebp - 0x49c], 0x10325476
mov dword [ebp - 0x40c], 0xf
mov dword [ebp - 0x410], 0
mov byte [ebp - 0x420], 0
jne 0x40c3c5
xor ecx, ecx
jmp 0x40c3d9
lea ecx, [ebp - 0x408]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c3d0
sub ecx, edx
push ecx
lea eax, [ebp - 0x408]
push eax
lea ecx, [ebp - 0x420]
call fcn.00402e90
cmp dword [ebp - 0x40c], 0x10
push dword [ebp - 0x410]
lea eax, [ebp - 0x420]
cmovae eax, dword [ebp - 0x420]
push eax
lea ecx, [ebp - 0x4a8]
call fcn.0040b810
cmp dword [ebp - 0x40c], 0x10
jb 0x40c429
push dword [ebp - 0x420]
call fcn.0040d11a
add esp, 4
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x4a8]
call fcn.0040c2b0
cmp dword [ebp - 0x424], 0x10
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x408]
push edi
push eax
mov dword [ebp - 0x408], 0
call fcn.0040ec1a
add esp, 0xc
lea eax, [ebp - 0x408]
push edi
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
neg esi
sbb esi, esi
neg esi
cmp dword [ebp - 0x424], 0x10
jb 0x40c4a4
push dword [ebp - 0x438]
call fcn.0040d11a
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040d11f
mov esp, ebp
pop ebp
ret 8
Function at 0x418eb1
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4290c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00412e48
mov dword [ebp - 0x14], eax
cmp dword [0x42b478], edi
jne 0x418fa2
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x418f2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x419082
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x419082
push 0x420c38
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x419082
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x42b478], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x42b47c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x42b480], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42b488], eax
test eax, eax
je 0x418f9f
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42b484], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x418fc7
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x418fba
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x418fdc
push 4
pop eax
jmp 0x419084
cmp dword [ebp - 0x14], edi
je 0x418fdc
push dword [0x42b478]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x418fc1
mov eax, dword [0x42b484]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41903a
cmp dword [0x42b488], esi
je 0x41903a
push eax
call ebx
push dword [0x42b488]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41903a
test eax, eax
je 0x41903a
call ecx
test eax, eax
je 0x41902f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41902f
test byte [ebp - 8], 1
jne 0x41903a
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41906a
mov eax, dword [0x42b47c]
cmp eax, esi
je 0x419067
push eax
call ebx
test eax, eax
je 0x419067
call eax
mov edi, eax
test edi, edi
je 0x419067
mov eax, dword [0x42b480]
cmp eax, esi
je 0x419067
push eax
call ebx
test eax, eax
je 0x419067
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x42b478]
call ebx
test eax, eax
je 0x419082
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x419084
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d11f
leave
ret
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
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
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x40808f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
lea edx, str.VirtualAlloc
push edx
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, 0x40
mov ecx, 0x3000
push esi
push ecx
push 0x519040
push 0
call eax
push eax
pop dword [0x45d705]
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40de38
nop
mov ecx, 0x4a7c4d0f
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x6aaa0e38
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40915c
mov ecx, 0x53ea0824
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
nop
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
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x21194ff8
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x414dd4
Capabilities:
Encode data using xor

Disassembly:
xor dword [eax], edi
add ecx, ecx
add eax, 4
push edx
pop esi
cmp eax, ebx
jne fcn.00414dd4
add ecx, 1
add ecx, 0xce9e48c6
add ecx, 0x2985add1
ret
Function at 0x4a2950
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x40
mov esi, dword [ebp + 8]
lea ebx, [ebp - 0xc]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4ce6a0
mov dword [esp + 4], 0x4ce6b5
mov dword [esp], ebx
call dword [0x871754]
push edx
mov dword [esp + 4], ebx
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x87235c]
mov dword [esp], ebx
call fcn.004aa6c4
lea ebx, [ebp - 0x10]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4ce6c7
mov dword [esp + 4], 0x4ce6b5
mov dword [esp], ebx
call dword [0x871754]
push eax
mov dword [esp + 4], ebx
mov eax, dword [esi + 4]
mov dword [esp], eax
call dword [0x8724a8]
mov dword [esp], ebx
call fcn.004aa6c4
lea ebx, [ebp - 0x14]
mov dword [esp], ebx
call fcn.004aa6ac
mov dword [esp + 4], ebx
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call dword [0x8721e0]
mov dword [esp], ebx
call fcn.004aa6c4
mov eax, dword [esi + 0x10]
mov dword [esp], eax
call dword [0x87267c]
mov esi, eax
lea ebx, [ebp - 0x18]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4ce6d6
mov dword [esp + 4], 0x4ce6b5
mov dword [esp], ebx
call dword [0x871754]
push ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], 2
mov dword [esp], esi
call fcn.00499130
mov dword [esp], ebx
call fcn.004aa6c4
lea ebx, [ebp - 0x1c]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4ce6e0
mov dword [esp + 4], 0x4ce6b5
mov dword [esp], ebx
call dword [0x871754]
push edx
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.00499130
mov dword [esp], ebx
call fcn.004aa6c4
lea esp, [ebp - 8]
pop ebx
pop esi
leave
ret
Function at 0x45fb90
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45fbbe
mov eax, ebx
call fcn.00460644
cmp dword [ebx + 0x40], 0
je 0x45fbb7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45fc2f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45fc21
cmp dword [ebx + 8], 0
je 0x45fbe0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45fbf2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45fc21
cmp dword [ebx + 8], 0
je 0x45fbd3
cmp eax, 3
je 0x45fc05
dec eax
jne 0x45fbd3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45fbd3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45fbd3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45fc4d
cmp dword [ebx + 0x14], 0xcc
je 0x45fc4d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045fc58
pop ebx
ret

Function at 0x470638
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 ebx
push esi
push edi
mov ebx, edx
xor eax, eax
push ebp
push 0x470765
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x470740
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 8]
mov eax, dword [0x475330]
mov eax, dword [eax]
call fcn.0045905c
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00409b44
push dword [ebp - 4]
push 0x47077c
lea edx, [ebp - 0x10]
mov eax, dword [0x475330]
mov eax, dword [eax]
call fcn.0045905c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00409b78
push dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 3
call fcn.004055bc
mov eax, dword [ebp - 4]
call fcn.00409938
test al, al
je 0x4706e4
push 1
push 0x470780
push 0x470780
mov eax, dword [ebp - 4]
call fcn.004056b8
push eax
push 0x470784
mov eax, ebx
call fcn.004431bc
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x470736
lea edx, [ebp - 0x14]
mov eax, dword [0x475330]
mov eax, dword [eax]
call fcn.0045905c
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 4]
call fcn.00409b44
mov eax, dword [ebp - 4]
test eax, eax
je 0x47070a
sub eax, 4
mov eax, dword [eax]
cmp eax, 3
jne 0x470736
push 1
push 0x470780
push 0x470780
mov eax, dword [ebp - 4]
call fcn.004056b8
push eax
push 0x470784
mov eax, ebx
call fcn.004431bc
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47074a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47076c
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.0040524c
ret

Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x40
push 0x1000
push 0x53400
push 0
call sub.user32.dll_GetMessagePos
call sub.kernel32.dll_VirtualAlloc
call fcn.004a1528
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x2ef3a6e
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x5b76091c
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x402e60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x402e67
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x402f3d
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x55a368]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x55a368]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x55a368]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x55a368]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x55a368]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x55a368]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x55a368]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x55a368]
add ecx, 8
sub edx, 8
dec esi
jne 0x402e80
pop edi
test edx, edx
je 0x402f5a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x55a368]
inc ecx
dec edx
jne 0x402f41
not eax
pop esi
ret

Function at 0x402f60
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x55a368]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x55a368]
mov dword [edx + 8], ecx
ret

Function at 0x402fb0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x55a368]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x55a368]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret

Function at 0x403770
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ebx
imul esi, dword [ebp + 0xc]
cmp byte [edi], 0
je 0x4037a6
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 4]
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40379c
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
div ebx
pop esi
pop ebp
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x4037b7
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
add eax, ecx
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
call fcn.005064a0
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop esi
pop ebp
ret
Function at 0x4037e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x403813
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 8]
push eax
push edi
lea ecx, [ebp - 1]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40380e
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x40383e
mov eax, dword [esi + 0x18]
push ebx
mov ebx, dword [esi + 0x1c]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x403825
sub eax, ebx
mov edi, eax
mov edx, dword [esi + 0x14]
push edi
add edx, ebx
push edx
lea eax, [ebp - 1]
push eax
call fcn.005064a0
add esp, 0xc
add ebx, edi
mov dword [esi + 0x1c], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x403853
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x40384d
cmp byte [esi + 8], 0
je 0x40384d
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret