joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f92a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40f971
call fcn.0041419d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40f971
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40f98d
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040f4a4
mov esi, eax
test edi, edi
je 0x40f98b
test ebx, ebx
je 0x40f98b
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41077f
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x43836e
call fcn.00426000
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4107a4
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4107ea
lea ecx, [ebp - 0x10]
call fcn.004092b7
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00409817
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004015b0
mov eax, esi
call fcn.004260d8
ret 8

Function at 0x411d9d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x411de5
call fcn.0041419d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x411de5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x411e28
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x411e11
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x411e11
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x411e25
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42549e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4484c0]
jne 0x4254a8
repz ret
jmp fcn.00429d3f
Function at 0x43214f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042a7fa
and dword [ebp - 4], 0
cmp dword [0x44c29c], 0
mov ebx, eax
jne 0x432200
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4322b1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43e458
push edi
call esi
test eax, eax
je 0x4322b1
push eax
call fcn.0042a788
mov dword [esp], 0x43e448
push edi
mov dword [0x44c29c], eax
call esi
push eax
call fcn.0042a788
mov dword [esp], 0x43e434
push edi
mov dword [0x44c2a0], eax
call esi
push eax
call fcn.0042a788
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44c2a4], eax
call esi
push eax
call fcn.0042a788
pop ecx
mov dword [0x44c2ac], eax
test eax, eax
je 0x432200
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042a788
pop ecx
mov dword [0x44c2a8], eax
mov eax, dword [0x44c2a8]
cmp eax, ebx
je 0x432258
cmp dword [0x44c2ac], ebx
je 0x432258
push eax
call fcn.0042a803
push dword [0x44c2ac]
mov esi, eax
call fcn.0042a803
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x432258
test edi, edi
je 0x432258
call esi
test eax, eax
je 0x43224f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43224f
test byte [ebp - 0xc], 1
jne 0x432258
or dword [ebp + 0x10], 0x200000
jmp 0x432291
mov eax, dword [0x44c2a0]
cmp eax, ebx
je 0x432291
push eax
call fcn.0042a803
pop ecx
test eax, eax
je 0x432291
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x432291
mov eax, dword [0x44c2a4]
cmp eax, ebx
je 0x432291
push eax
call fcn.0042a803
pop ecx
test eax, eax
je 0x432291
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44c29c]
call fcn.0042a803
pop ecx
test eax, eax
je 0x4322b1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4322b3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10016f8f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10012c18]
jne 0x100801e2
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x10091490], eax
mov dword [0x1009148c], ecx
mov dword [0x10091488], edx
mov dword [0x10091484], ebx
mov dword [0x10091480], esi
mov dword [0x1009147c], edi
mov word [0x100914a8], ss
mov word [0x1009149c], cs
mov word [0x10091478], ds
mov word [0x10091474], es
mov word [0x10091470], fs
mov word [0x1009146c], gs
pushfd
pop dword [0x100914a0]
mov eax, dword [ebp]
mov dword [0x10091494], eax
mov eax, dword [ebp + 4]
mov dword [0x10091498], eax
lea eax, [ebp + 8]
mov dword [0x100914a4], eax
mov eax, dword [ebp - 0x320]
mov dword [0x100913e0], 0x10001
mov eax, dword [0x10091498]
mov dword [0x10091394], eax
mov dword [0x10091388], 0xc0000409
mov dword [0x1009138c], 1
mov eax, dword [0x10012c18]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10088d1c]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x100913d8], eax
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x10012e0c
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x100913d8], 0
jne 0x100802ce
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x1003b10f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x10080da0
call fcn.1002822b
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x41c], edx
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x1003b170
call fcn.1003905a
mov esi, eax
jmp 0x1003b248
push dword [ebp - 0x41c]
push esi
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1003b18e
call fcn.1003905a
jmp 0x1003b23f
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x1003b184
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x41c], esi
cmp eax, esi
jae 0x1003b1c1
mov esi, 0x8007000e
jmp 0x1003b241
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1007a181
mov dword [ebp - 4], 1
jmp 0x1003b1f5
cmp dword [ebp - 0x418], 0
je 0x1003b1b7
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x420]
push ebx
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x1003b184
mov eax, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor edx, edx
mov word [eax + ecx*2], dx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.1007a181
mov esi, eax
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1003b261
lea ecx, [ebp - 0x418]
call fcn.1003b322
lea ecx, [ebp - 0x428]
call fcn.10038fdc
mov eax, esi
call fcn.10028b8f
ret 0x10
Function at 0x1007a181
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1007a190
pop dword [ebp - 0x24]
mov eax, 0xac1f9348
add eax, 0x63e80e48
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x42dd7573
sub dword [ebp - 0x34], 0xf48b3028
mov dword [ebp - 0x30], 0xe576fe6
sub dword [ebp - 0x30], 0xdc2423a1
mov dword [ebp - 0x2c], 0x1d013d82
add dword [ebp - 0x2c], 0x2f4b06ac
mov dword [ebp - 0x28], 0xbe9a1877
sub dword [ebp - 0x28], 0xbe9a1877
lea eax, [ebp - 0x34]
push eax
mov eax, 0x28ace1c6
add eax, 0xe7533076
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x2a3600cc
add dword [ebp - 0x34], 0x4a3c688a
mov dword [ebp - 0x30], 0x626ce4b4
add dword [ebp - 0x30], 0xdeff7cc1
mov dword [ebp - 0x2c], 0xcef1d78d
add dword [ebp - 0x2c], 0x947d94df
mov dword [ebp - 0x28], 0xe689552c
sub dword [ebp - 0x28], 0xe689552c
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x50310
push 0
call eax
mov ecx, 0xb0a3508
sub ecx, 0xb09f88a
mov ebx, eax
mov esi, 0x1a244eed
add esi, 0xf5e55b13
add esi, dword [ebp - 0x24]
mov edx, 0x1577f972
xor dword [ebp - 0x1c], 0xbf0029c9
mov edi, dword [esi]
mov dword [ebp - 4], 0x513fcbe2
sub edi, edx
xor dword [ebp - 8], 0xd31ed3e3
mov dword [ebx], edi
add dword [ebp - 0x18], ebx
add ebx, 0x38b7c842
sub ebx, 0x38b7c83e
add esi, 4
loop 0x1007a2a7
add eax, 0xf8e88c1
add eax, 0xf0725c0a
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40288e
pop dword [ebp - 0x50]
mov eax, 0x40288e
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xc9e16b64
add dword [ebp - 0x60], 0x8470d9e7
mov dword [ebp - 0x5c], 0x1c8e5057
sub dword [ebp - 0x5c], 0xea5b0412
mov dword [ebp - 0x58], 0x965e6395
add dword [ebp - 0x58], 0xb5ede099
mov dword [ebp - 0x54], 0xf5f1258d
sub dword [ebp - 0x54], 0xf5f1258d
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xa9a4bd12
sub dword [ebp - 0x60], 0x353253bc
mov dword [ebp - 0x5c], 0xf9a28c2c
sub dword [ebp - 0x5c], 0xb8362ab7
mov dword [ebp - 0x58], 0x561efe8
sub dword [ebp - 0x58], 0xa1f2837c
mov dword [ebp - 0x54], 0xa3c8e3a5
add dword [ebp - 0x54], 0x5c371c5b
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x373a2
push 0
call eax
mov ecx, 0xedff9db3
sub ecx, 0xedff532d
xor edx, edx
add edx, eax
mov edi, 0xfac36209
add edi, 0x57dadf7
add edi, dword [ebp - 0x50]
mov esi, 0x5af7340f
add esi, 0xadf85ddf
sub dword [ebp - 0x3c], eax
mov ebx, dword [edi]
add ebx, esi
xor dword [ebp - 8], 0x830f4cfc
mov dword [edx], ebx
add dword [ebp - 0x44], 0xc2c35adf
add edx, 0xdf4decb3
sub edx, 0xdf4decaf
add edi, 4
loop 0x4029a3
add eax, 0x11ceb
mov ebx, eax
add eax, 5
mov ecx, 0x102820c
sub ecx, 0xc2820c
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x40126c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x819004]
jne 0x401276
repz ret
jmp fcn.00401864

Function at 0x40981d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x819004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004042e0
and dword [ebp - 0x14], 0
cmp dword [0x81bd9c], 0
mov dword [ebp - 0x18], eax
jne 0x4098d0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x409978
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x409978
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x81bd9c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x81bda0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x81bda4], eax
call edi
push eax
call esi
mov dword [0x81bdac], eax
test eax, eax
je 0x4098d0
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x81bda8], eax
mov eax, dword [0x81bda8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x409929
cmp dword [0x81bdac], ecx
je 0x409929
push eax
call esi
push dword [0x81bdac]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x409929
test ebx, ebx
je 0x409929
call edi
test eax, eax
je 0x409920
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x409920
test byte [ebp - 8], 1
jne 0x409929
or dword [ebp + 0x10], 0x200000
jmp 0x40995c
mov eax, dword [0x81bda0]
cmp eax, dword [ebp - 0x18]
je 0x40995c
push eax
call esi
test eax, eax
je 0x40995c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40995c
mov eax, dword [0x81bda4]
cmp eax, dword [ebp - 0x18]
je 0x40995c
push eax
call esi
test eax, eax
je 0x40995c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x81bd9c]
call esi
test eax, eax
je 0x409978
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40997a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040126c
leave
ret
Function at 0x80cb70
Capabilities:
Create pipe

Disassembly:
sub esp, 0x41c
mov eax, dword [0x819004]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [esp + 0x420]
mov eax, dword [eax]
push ebx
mov ebx, dword [0x81db34]
push edi
mov edi, dword [0x81ffb4]
call fcn.0080cab0
cmp dword [0x81ffb4], 0x2f
jne 0x80cc04
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.0080cae0
mov ecx, dword [esp + 0x420]
pop edi
pop ebx
xor ecx, esp
call fcn.0040126c
add esp, 0x41c
ret
Function at 0x80d090
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x81ffb4]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemTimes]
push edi
mov ebx, 0x1519af
mov edi, 0x8e46a6f0
jmp 0x80d0b0
mov dword [0x81fc1c], edi
cmp eax, 0x3dc
jne 0x80d0ca
push 0
push 0
push 0
call esi
mov eax, dword [0x81ffb4]
dec ebx
jne 0x80d0b0
mov edi, dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
xor esi, esi
jmp 0x80d0e0
cmp eax, 0xa5f
jne 0x80d102
push 0
call edi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
mov eax, dword [0x81ffb4]
cmp esi, 0x846143
jne 0x80d119
mov eax, dword [0x81abf0]
add eax, 0xa231
mov dword [0x81ffb4], eax
cmp eax, 0x141
jne 0x80d134
mov dword [0x81c2c0], 0xec58acac
mov dword [0x81c2c4], 0xffffffff
inc esi
cmp esi, 0x12d12ba
jl 0x80d0e0
call fcn.0080cc20
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
Function at 0x401140
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x411d5c
call esi
push 0x411d70
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40116e
push 0x800
call eax
push 0x411d8c
call esi
push str.CLRCreateInstance
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 4], 0
test eax, eax
je 0x4011e8
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push 0x411e2c
push 0x411e3c
call eax
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x4011e0
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
push 0x411e4c
push str.v4.0.30319
push ecx
call dword [eax + 0xc]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4011e0
mov eax, dword [ecx]
lea edx, [esp + 4]
push edx
push 0x411dfc
push 0x411e1c
push ecx
call dword [eax + 0x24]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x401207
lea eax, [esp + 4]
push eax
push 0x411dfc
push 0x411e1c
push 0
push 0
push 0
call dword [sym.imp.mscoree.dll_CorBindToRuntimeEx]
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x28]
mov eax, dword [esp + 4]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xc]
push edx
push 0x411e0c
push eax
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
push str._RESOLVER
call fcn.00401010
mov edx, dword [esp + 0x10]
add esp, 4
mov ecx, dword [ebp + 8]
push str._ENTRYPOINT
call fcn.00401010
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401a94
Capabilities:
Parse pe header

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

Function at 0x40bf80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40bfad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40bfad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x3ec70569
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
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
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..didat
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x65297aae
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x5256f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc8000]
mov dword [edi + 0xcf740], 0x10b70f07
push edi
jmp 0x52571a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x525721
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x525710
mov eax, 1
add ebx, ebx
jne 0x525733
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x525744
jne 0x525763
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x525763
dec eax
add ebx, ebx
jne 0x525750
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x525728
add ebx, ebx
jne 0x52575f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5257b5
xor ecx, ecx
sub eax, 3
jb 0x52577b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5257ea
sar eax, 1
mov ebp, eax
jmp 0x525786
add ebx, ebx
jne 0x525786
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x525754
inc ecx
add ebx, ebx
jne 0x525794
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x525754
add ebx, ebx
jne 0x5257a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x525796
jne 0x5257b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x525796
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5257d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5257c6
jmp 0x525716
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5257d4
add edi, ecx
jmp 0x525716
pop esi
mov edi, esi
mov ecx, 0x40d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5257f2
cmp byte [edi], 0x11
jne 0x5257f2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5257f7
lea edi, [esi + 0x11e000]
mov eax, dword [edi]
or eax, eax
je 0x52586f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16581c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x165998]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x525824
mov ecx, edi
jns 0x525853
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x16599c]
or eax, eax
je 0x525869
mov dword [ebx], eax
add ebx, 4
jmp 0x525841
call dword [esi + 0x1659ac]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5258a0
cmp al, 0xef
ja 0x525893
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x525875
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x525882
mov ebp, dword [esi + 0x1659a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5258d4
sub esp, 0xffffff80
jmp 0x4204f7