joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002340
Capabilities:
Create directory
Write file on windows

Disassembly:
sub esp, 0x10c
mov eax, dword [0x10008018]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
push edi
push 0x103
lea eax, [esp + 0x11]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x18], 0
call sub.MSVCR80.dll_memset
mov edi, 0x10
add esp, 0xc
cmp dword [esi + 0x6c], edi
jb 0x10002380
mov eax, dword [esi + 0x58]
jmp 0x10002383
lea eax, [esi + 0x58]
push eax
lea ecx, [esp + 0x10]
push 0x104
push ecx
call dword [sym.imp.MSVCR80.dll_strcpy_s]
add esp, 0xc
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push 0
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
cmp dword [esi + 0x6c], edi
jb 0x100023bb
mov eax, dword [esi + 0x58]
jmp 0x100023be
lea eax, [esi + 0x58]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10002426
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
push 0
lea ecx, [esp + 0xc]
push ecx
push edx
push eax
push edi
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
push edi
je 0x10002420
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.100037a7
add esp, 0x10c
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x110]
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.100037a7
add esp, 0x10c
ret

Function at 0x10002470
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x404
mov eax, dword [0x10008018]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x408]
test eax, eax
je 0x100024ba
lea ecx, [esp + 0x40c]
push ecx
push eax
push 0x400
lea edx, [esp + 0xc]
push 0x400
push edx
call dword [sym.imp.MSVCR80.dll__vsnprintf_s]
add esp, 0x14
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.100037a7
add esp, 0x404
ret
Function at 0x100024d0
Capabilities:
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x1000424b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10008018]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x1c]
push 0xc
mov dword [edi], vtable.CImWinInetSession.0
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov dword [esp + 0x14], 0
je 0x1000254a
call fcn.10003460
mov dword [esi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], 0
jmp 0x1000254c
xor esi, esi
mov eax, dword [esp + 0x20]
mov dword [edi + 0x14], esi
cmp dword [eax + 0x18], 0x10
jb 0x1000255e
mov eax, dword [eax + 4]
jmp 0x10002561
add eax, 4
push 0x14000000
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [edi + 4], eax
je 0x10002586
push sym.IMHttpComm.dll_private:_static_void___stdcall_CImWinInetRequest::WinInetCallBack_void___unsigned_long_int__unsigned_long_int__void___unsigned_long_int_
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallback]
push 0
push 0
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0
push 0
push str.Message
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [edi + 8], eax
jne 0x100025b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100025c4
push sym.IMHttpComm.dll_private:_static_long_int___cdecl_CImWinInetSession::WindowMsgProc_struct_HWND_____unsigned_int__unsigned_int__long_int_
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8

Function at 0x100037a7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10008018]
jne 0x100037b1
repz ret
jmp fcn.10003bd7
Function at 0x65257846
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc eax
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.65256fd4
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.65256f89
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
Function at 0x495e30
Capabilities:
Accept command line arguments

Disassembly:
push esi
call fcn.0044b610
jmp fcn.00c16b92

Function at 0x5d0f2a
Capabilities:
Encode data using xor

Disassembly:
dec ecx
mov es, word [eax + ebp*8]
sbb byte [ebp + 0x470677bf], bh
rcr ax, 0x47
mov eax, 0xb4d0b822
movsb byte es:[edi], byte [esi]
scasb al, byte es:[edi]
popal
xor esp, 0x17
xor dword [esp + esi*8 + 0x41], ecx
test dword [ebp + ebx*8 + 0x3f], ebx
xchg esi, eax
wbinvd
pop ds
xor byte [ebx + 0x78dda874], dh
push ds
leave
sub ebp, dword [esi + 0x24]
loopne 0x5d0fa2
cmp eax, ecx
cwde
dec edx
test al, 0xa0
test al, al
inc esp
and dword [eax - 0x43], ebx
jns 0x5d0f8f
pop ecx
xchg byte [eax + eax], ch
pop ecx
and dh, byte ss:[ebp - 0x2a]
inc eax
adc byte [esi + 0x52], cl
and bl, cl
jno 0x5d0fbc
scasd eax, dword es:[edi]
lcall 0xd99d, 0x81845fb0
fst dword [ebp + 0x4e]
mov edx, 0xabae7846
popal
inc eax
rcl ebx, 1
ficom word [edi - 0x40ee07d1]
and dword ds:[edx - 0x3e], 0x2b
cmpsd dword [esi], dword es:[edi]
rcr esi, cl
xchg edi, eax
das
clc
adc dword [edi - 0x3d9d7cc2], edi
sub esp, dword [edi + 0x773fdc66]
push ds
fdivr qword [edi]
ja 0x5d0fbf
jp 0x5d0f9c
stc
jo 0x5d1009
add esp, dword [ebx + ecx - 7]
imul esi, dword [esi + edi*4 - 0x6c2ce180], 0x44
in al, dx
pop ss
invalid
in al, dx
dec ebx
adc cl, bl
mov edx, 0xd408f833
fnstcw word [edx - 0x2bf707cd]
aam 0x7d
push edx
jge 0x5d1019
xchg edi, eax
mov cl, 0x29
cmp dword [eax + 0x4c0cd2dd], ecx
inc ebp
in al, dx
mov cl, 0xff
shl esi, 0xcb
cdq
cli
xor eax, 0x6292b5f3
in al, 0xac
or ah, ah
insd dword es:[edi], dx
outsd dx, dword [esi]
jge 0x5d1027
mov ch, 0x92
invalid
dec eax
sbb dh, 0xbf
adc eax, edi
xchg byte [eax - 0x33], al
push ecx
sbb eax, 0x96b4b651
xor dword [ebx + 0x7920a109], ecx
adc eax, eax
loop 0x5d0fc4
mov es, word [edi - 0x74ffd1ed]
mov es, word [edi - 0x74ffd1ed]
popal
and bh, 0x12
out 0x12, eax
das
test al, 0x9a
push 0x8227460a
xor al, 0x68
xchg esp, eax
mov ebx, 0xf63a913b
cmp dh, dh
xor dl, 0x26
adc byte [eax - 0x342dfc8b], bl
push ds
and ebx, dword [edi - 0x3fe1792d]
mov esi, dword [edx - 0x7d62c239]
jp 0x5d1001
rol dword [esi - 0x4d743fe2], cl
invalid
nop
mov cl, 2
sbb al, 0x19
jmp 0x5d0fdb
Function at 0x463e42
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.00456a24
and dword [ebp - 4], 0
cmp dword [0x490a30], 0
mov ebx, eax
jne 0x463ef3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x463fa4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x478130
push edi
call esi
test eax, eax
je 0x463fa4
push eax
call fcn.004569b2
mov dword [esp], 0x478120
push edi
mov dword [0x490a30], eax
call esi
push eax
call fcn.004569b2
mov dword [esp], 0x47810c
push edi
mov dword [0x490a34], eax
call esi
push eax
call fcn.004569b2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x490a38], eax
call esi
push eax
call fcn.004569b2
pop ecx
mov dword [0x490a40], eax
test eax, eax
je 0x463ef3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004569b2
pop ecx
mov dword [0x490a3c], eax
mov eax, dword [0x490a3c]
cmp eax, ebx
je 0x463f4b
cmp dword [0x490a40], ebx
je 0x463f4b
push eax
call fcn.00456a2d
push dword [0x490a40]
mov esi, eax
call fcn.00456a2d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x463f4b
test edi, edi
je 0x463f4b
call esi
test eax, eax
je 0x463f42
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x463f42
test byte [ebp - 0xc], 1
jne 0x463f4b
or dword [ebp + 0x10], 0x200000
jmp 0x463f84
mov eax, dword [0x490a34]
cmp eax, ebx
je 0x463f84
push eax
call fcn.00456a2d
pop ecx
test eax, eax
je 0x463f84
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x463f84
mov eax, dword [0x490a38]
cmp eax, ebx
je 0x463f84
push eax
call fcn.00456a2d
pop ecx
test eax, eax
je 0x463f84
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x490a30]
call fcn.00456a2d
pop ecx
test eax, eax
je 0x463fa4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x463fa6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x752cea
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x5cb74011
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4134b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426638
push 0x41da00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4135c5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x413519
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4135c5
push 0x40
push 0x1000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
mov dword [ebp - 0x20], ebx
test ebx, ebx
jne 0x41353e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4135c5
push 0
lea ecx, [ebp - 0x1c]
push ecx
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x24], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4135b7
cmp dword [ebp - 0x1c], edi
jne 0x4135b7
mov dword [ebp - 4], 0
call ebx
mov dword [ebp - 4], 0xffffffff
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x413930
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4220f2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov esi, ecx
xor edi, edi
push 0x6c
mov dword [esi + 0x84], edi
mov dword [esi + 0x20], edi
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 8], eax
cmp eax, edi
mov dword [esp + 0x38], edi
je 0x41398a
push 0x426a90
push 0x426838
push 0x4269a0
push 0x80
mov ecx, eax
call sub.MFC42.DLL_CSingleDocTemplate::CSingleDocTemplate
jmp 0x41398c
xor eax, eax
or edi, 0xffffffff
push eax
mov ecx, esi
mov dword [esp + 0x3c], edi
call sub.MFC42.DLL_CWinApp::AddDocTemplate
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CCommandLineInfo::CCommandLineInfo
lea eax, [esp + 0xc]
mov ecx, esi
push eax
mov dword [esp + 0x3c], 1
call sub.MFC42.DLL_CWinApp::ParseCommandLine
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWinApp::ProcessShellCommand
test eax, eax
je 0x4139df
mov ecx, dword [esi + 0x20]
push 3
call sub.MFC42.DLL_CWnd::ShowWindow
mov esi, dword [esi + 0x20]
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], edi
call fcn.0041d460
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x417420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4229c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
xor ebx, ebx
push esi
lea ecx, [esp + 8]
mov dword [esp + 0xc], ebx
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
lea eax, [esp + 0x30]
push ecx
mov dword [esp + 0x140], 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], 0x42f9c8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
cmp eax, ebx
je 0x4174a5
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x4174b3
lea eax, [esp + 0x30]
push eax
jmp 0x4174aa
push 0x42fcb0
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_1
mov esi, dword [esp + 0x144]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x13c], bl
call fcn.0041d310
mov ecx, dword [esp + 0x134]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret
Function at 0x41a8d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4230a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], esi
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 0x70]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push esi
push 0x1009
push eax
mov byte [esp + 0x48], 1
mov dword [esp + 0x20], esi
call ebp
lea ecx, [esp + 0x40]
call fcn.0041b9a0
test eax, eax
jle 0x41a94e
lea ebx, [edi + 0x50]
push 0
push 0
push 0
push 0
push 0x42fcb0
push esi
push 1
mov ecx, ebx
call sub.MFC42.DLL_CListCtrl::InsertItem
lea ecx, [esp + 0x40]
inc esi
call fcn.0041b9a0
cmp esi, eax
jl 0x41a929
lea ecx, [esp + 0x40]
xor ebx, ebx
call fcn.0041b9a0
test eax, eax
jle 0x41a9e6
push ebx
lea ecx, [esp + 0x44]
call fcn.0041bbb0
lea ecx, [esp + 0x40]
xor esi, esi
call fcn.0041bcd0
test eax, eax
jle 0x41a9d4
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push esi
push ecx
lea ecx, [esp + 0x4c]
call fcn.0041c110
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x44]
push edx
call fcn.0041b520
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.0041d310
mov eax, dword [esp + 0x14]
lea ecx, [edi + 0x50]
push eax
push esi
push ebx
call sub.MFC42.DLL_CListCtrl::SetItemText
lea ecx, [esp + 0x40]
inc esi
call fcn.0041bcd0
cmp esi, eax
jl 0x41a97a
lea ecx, [esp + 0x40]
inc ebx
call fcn.0041b9a0
cmp ebx, eax
jl 0x41a961
lea ecx, [esp + 0x40]
xor esi, esi
call fcn.0041bcd0
test eax, eax
jle 0x41aa14
mov ecx, dword [edi + 0x70]
push 0xffff
push esi
push 0x101e
push ecx
call ebp
lea ecx, [esp + 0x40]
inc esi
call fcn.0041bcd0
cmp esi, eax
jl 0x41a9f5
lea ecx, [esp + 0x40]
xor esi, esi
call fcn.0041bcd0
test eax, eax
jle 0x41aa6c
mov edx, dword [edi + 0x70]
push 0
push esi
push 0x101d
push edx
call ebp
add eax, 0x14
and eax, 0xffff
push eax
mov eax, dword [edi + 0x70]
push esi
push 0x101e
push eax
call ebp
mov ecx, dword [edi + 0x70]
push 0
push esi
push 0x101d
push ecx
call ebp
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x40]
add ebx, eax
inc esi
mov dword [esp + 0x10], ebx
call fcn.0041bcd0
cmp esi, eax
jl 0x41aa23
mov eax, dword [edi + 0x70]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
add edi, 0x49c
add ecx, eax
mov byte [esp + 0x38], 0
mov dword [edi], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], ecx
mov dword [edi + 4], edx
mov dword [edi + 8], ecx
lea ecx, [esp + 0x14]
mov dword [edi + 0xc], eax
call fcn.0041d310
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call fcn.0041b4c0
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 0xc
Function at 0x401168
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
jmp 0x408560
push 0xffffffffffffffff
push 0x483e2a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 0
mov eax, dword [0x4a3d34]
lea ecx, [esi + 4]
mov dword [ecx], eax
mov edx, dword [0x4a3d34]
lea edi, [esi + 8]
mov dword [edi], edx
mov eax, dword [0x4a3d34]
lea ebp, [esi + 0xc]
mov dword [ebp], eax
mov edx, dword [0x4a3d34]
lea ebx, [esi + 0x10]
mov dword [ebx], edx
mov eax, dword [0x4a3d34]
mov dword [esi + 0x14], eax
mov edx, dword [0x4a3d34]
mov dword [esi + 0x18], edx
lea eax, [esp + 0x24]
mov byte [esp + 0x1c], 0xc
push eax
mov dword [esi], 0x489d80
call fcn.0044bdb5
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.0044bdb5
lea edx, [esp + 0x2c]
mov ecx, ebp
push edx
call fcn.0044bdb5
lea eax, [esp + 0x30]
mov ecx, ebx
push eax
call fcn.0044bdb5
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044bdb5
lea edx, [esp + 0x38]
lea ecx, [esi + 0x18]
push edx
call fcn.0044bdb5
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x20], ecx
lea ecx, [esp + 0x24]
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], eax
mov byte [esp + 0x1c], 4
call fcn.0044bc7c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 3
call fcn.0044bc7c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 2
call fcn.0044bc7c
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c], 1
call fcn.0044bc7c
lea ecx, [esp + 0x34]
mov byte [esp + 0x1c], 0
call fcn.0044bc7c
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0044bc7c
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4012df
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
jmp 0x403050
push 0xffffffffffffffff
push 0x48307d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 0
mov eax, dword [0x4a3d34]
lea ecx, [esi + 4]
mov dword [ecx], eax
mov edx, dword [0x4a3d34]
lea edi, [esi + 8]
mov dword [edi], edx
mov eax, dword [0x4a3d34]
lea ebp, [esi + 0xc]
mov dword [ebp], eax
mov edx, dword [0x4a3d34]
lea ebx, [esi + 0x10]
mov dword [ebx], edx
mov eax, dword [0x4a3d34]
mov dword [esi + 0x14], eax
mov edx, dword [0x4a3d34]
mov dword [esi + 0x18], edx
mov eax, dword [0x4a3d34]
mov dword [esi + 0x24], eax
lea edx, [esp + 0x24]
mov byte [esp + 0x1c], 0xe
push edx
mov dword [esi], 0x4892dc
call fcn.0044bdb5
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call fcn.0044bdb5
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.0044bdb5
lea edx, [esp + 0x30]
mov ecx, ebx
push edx
call fcn.0044bdb5
lea eax, [esp + 0x34]
lea ecx, [esi + 0x14]
push eax
call fcn.0044bdb5
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esi + 0x18]
call fcn.0044bdb5
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x44]
mov dword [esi + 0x1c], edx
push ecx
lea ecx, [esi + 0x24]
mov dword [esi + 0x20], eax
call fcn.0044bdb5
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 5
call fcn.0044bc7c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 4
call fcn.0044bc7c
mov byte [esp + 0x1c], 3
lea ecx, [esp + 0x2c]
call fcn.0044bc7c
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c], 2
call fcn.0044bc7c
lea ecx, [esp + 0x34]
mov byte [esp + 0x1c], 1
call fcn.0044bc7c
lea ecx, [esp + 0x38]
mov byte [esp + 0x1c], 0
call fcn.0044bc7c
lea ecx, [esp + 0x44]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0044bc7c
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x24
Function at 0x401370
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x405eb0
push 0xffffffffffffffff
push 0x4837d2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 0
mov eax, dword [0x4a3d34]
lea edi, [esi + 4]
mov dword [edi], eax
mov ecx, dword [0x4a3d34]
lea ebp, [esi + 8]
mov dword [ebp], ecx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
lea ecx, [esi + 0xc]
mov byte [esp + 0x28], 5
call fcn.00401163
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
lea ecx, [esi + 0x1c]
mov byte [esp + 0x28], 6
call fcn.00401163
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
lea ecx, [esi + 0x2c]
mov byte [esp + 0x28], 7
call fcn.00401163
mov edx, dword [0x4a3d34]
lea ebx, [esi + 0x3c]
mov dword [ebx], edx
lea eax, [esp + 0x24]
mov ecx, edi
push eax
mov byte [esp + 0x20], 9
mov dword [esi], 0x489a6c
call fcn.0044bdb5
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
call fcn.0044bdb5
lea edx, [esp + 0x50]
mov ecx, ebx
push edx
call fcn.0044bdb5
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 1
call fcn.0044bc7c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0
call fcn.0044bc7c
lea ecx, [esp + 0x50]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0044bc7c
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x30

Function at 0x40dde2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x14], edi
mov ebx, ecx
je 0x40de20
call fcn.0046ce2a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40de20
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40de37
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push 1
test edi, edi
pop eax
je 0x40de37
push dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, ebx
push edi
push dword [esp + 0x18]
call dword [eax + 0x1c]
pop edi
pop esi
pop ebx
ret 0xc