joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4130f0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x45098b
mov eax, dword fs:[0]
push eax
mov eax, 0x102c
call fcn.004386f0
mov eax, dword [0x469b70]
xor eax, esp
mov dword [esp + 0x1028], eax
push esi
push edi
mov eax, dword [0x469b70]
xor eax, esp
push eax
lea eax, [esp + 0x1038]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1048]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0xfff
lea eax, [esp + 0x39]
push 0
push eax
mov byte [esp + 0x40], 0
call fcn.00437670
mov esi, dword [esi]
mov eax, dword [esi - 0xc]
lea ecx, [esp + 0x40]
push ecx
push eax
push esi
call section..text
mov ecx, 9
mov esi, str.http:__tj.9158.com_downloadlog.aspx
lea edi, [esp + 0x28]
add esp, 0x18
rep movsd dword es:[edi], dword [esi]
call fcn.00417336
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x413191
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push str._s_log_s
push eax
mov dword [esp + 0x1050], 0
call fcn.00401ab0
mov esi, dword [esp + 0x1c]
push esi
call fcn.00412f10
lea eax, [esi - 0x10]
add esp, 0x14
mov dword [esp + 0x1040], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4131f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1038]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1028]
xor ecx, esp
call fcn.00437657
add esp, 0x1038
ret

Function at 0x413c80
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
lea eax, [esi + 4]
push 0
push eax
mov dword [esi], vtable.CMD5Checksum.0
call fcn.00437670
add esp, 0xc
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
mov eax, esi
pop esi
ret
Function at 0x414940
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x450bbc
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x469b70]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.00417336
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x414987
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esp + 0x20], ebp
call fcn.00417336
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4149b4
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [esp + 0x20], 1
lea ebx, [esi + 0x1c]
call fcn.00417336
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4149e5
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x20], 2
lea edi, [esi + 0x28]
call fcn.00417336
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x414a15
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
push ebp
mov dword [esi], ecx
push 0x453f18
lea ecx, [esi + 0xc]
mov byte [esp + 0x28], 3
mov dword [esi + 4], edx
mov dword [esi + 8], eax
call fcn.00401590
push ebp
push 0x453f18
lea ecx, [esi + 0x10]
call fcn.00401590
push ebp
push 0x453f18
mov ecx, ebx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
call fcn.00401590
push ebp
push 0x453f18
mov ecx, edi
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebp
call fcn.00401590
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x4158e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push edi
call fcn.00426582
mov edi, dword [eax + 8]
movzx eax, word [esp + 0x10]
push 0x455878
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x41599c
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41599b
push ebp
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push ebx
push eax
call fcn.00437ce0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebp, dword [esp + 0x10]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x415978
lea eax, [esi + 4]
push eax
push ebp
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esi + 8], eax
jmp 0x41597a
xor esi, esi
mov edx, dword [esp + 0x1c]
push edi
mov dword [edx], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
pop esi
pop edi
pop ebx
pop ecx
ret 8
Function at 0x4167c0
Capabilities:
Create tcp socket

Disassembly:
push esi
push 6
push 1
push 2
mov esi, ecx
call dword [sym.imp.WSOCK32.dll_socket]
mov dword [esi + 0x22c], eax
cmp eax, 0xffffffff
jne 0x4167f4
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.socket___failed
mov ecx, esi
call fcn.00416760
mov eax, reloc.OLEAUT32.dll_SysReAllocString
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x416870
Capabilities:
Connect socket

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov eax, 2
mov word [esi], ax
movzx ecx, word [edi + 2]
push ecx
call dword [sym.imp.WSOCK32.dll_htons]
push 0x10
mov word [esi + 2], ax
mov eax, dword [esi + 0x22c]
mov edx, dword [edi + 4]
push esi
push eax
mov dword [esi + 4], edx
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffffff
jne 0x4168c7
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.connect___failed
mov ecx, esi
call fcn.00416760
pop edi
mov eax, reloc.OLEAUT32.dll_SysReAllocString
pop esi
ret 4
pop edi
mov dword [esi + 0x228], 1
xor eax, eax
pop esi
ret 4

Function at 0x4168e0
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0x469b70]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push esi
mov esi, dword [esp + 0x24]
mov eax, esi
push edi
mov ebx, ecx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416900
sub eax, edx
je 0x41695b
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x41695b
push esi
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x41692b
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
jmp 0x416936
push esi
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
mov word [esp + 0x16], di
call fcn.00416870
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00437657
add esp, 0x18
ret 8
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, closesocket
call fcn.00437657
add esp, 0x18
ret 8

Function at 0x416980
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x4169cf
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4169cf
push 0
push eax
mov eax, dword [esi + 0x22c]
push ecx
push eax
call dword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
jne 0x4169d4
mov dword [esi + 0x228], 0
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.send___failed
mov ecx, esi
call fcn.00416760
mov eax, reloc.OLEAUT32.dll_SysReAllocString
pop esi
ret 8
mov eax, closesocket
pop esi
ret 8

Function at 0x4169e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
test eax, eax
je 0x416a22
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x22c]
push 0
push ecx
push eax
push edx
call dword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
jne 0x416a24
mov dword [esi + 0x228], 0
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.recv___failed
mov ecx, esi
call fcn.00416760
xor eax, eax
pop esi
ret 8
Function at 0x416a30
Capabilities:
Set socket configuration

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jge 0x416a43
mov eax, closesocket
pop esi
ret 4
mov ecx, dword [esi + 0x22c]
push 4
lea eax, [esp + 0xc]
push eax
push 0x1006
push 0xffff
push ecx
call dword [sym.imp.WSOCK32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x416a82
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.setsockopt___failed.
mov ecx, esi
call fcn.00416760
mov eax, reloc.OLEAUT32.dll_SysReAllocString
pop esi
ret 4
xor eax, eax
pop esi
ret 4

Function at 0x41ca74
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 0x41cabb
call fcn.00426582
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41cabb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41cad7
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041c5ee
mov esi, eax
test edi, edi
je 0x41cad5
test ebx, ebx
je 0x41cad5
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41d958
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x451761
call fcn.0043a90b
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41d97d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x41d9c3
lea ecx, [ebp - 0x10]
call fcn.004018a0
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.00416b84
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.00401220
mov eax, esi
call fcn.0043a9e3
ret 8

Function at 0x41f63a
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x41f665
call fcn.00426582
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x41f688
push eax
push dword [esi + 4]
call fcn.0041f5c0
push esi
push eax
mov ecx, 0x46e48c
call fcn.0041f26f
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x420087
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x45115d
call fcn.0043a90b
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00420047
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.004018a0
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 4], eax
test eax, eax
jne 0x4200ed
push eax
push dword [esi + 8]
call fcn.0041f5c0
push dword [esi + 0xc]
mov ecx, 0x46e48c
push eax
call fcn.0041f26f
mov eax, esi
call fcn.0043a9e3
ret 0x18

Function at 0x423b0f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x423b33
cmp dword [edi + 0x54], 0
jne 0x423b33
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00426582
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00423ad0
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4248d6
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 0x42491e
call fcn.00426582
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42491e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x424961
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 0x42494a
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 0x42494a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x42495e
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 0x437657
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x469b70]
jne 0x437661
repz ret
jmp fcn.0043fe4c
Function at 0x449f6d
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.0043f790
and dword [ebp - 4], 0
cmp dword [0x46f2a0], 0
mov ebx, eax
jne 0x44a01e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44a0cf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x45c5dc
push edi
call esi
test eax, eax
je 0x44a0cf
push eax
call fcn.0043f71e
mov dword [esp], 0x45c5cc
push edi
mov dword [0x46f2a0], eax
call esi
push eax
call fcn.0043f71e
mov dword [esp], 0x45c5b8
push edi
mov dword [0x46f2a4], eax
call esi
push eax
call fcn.0043f71e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46f2a8], eax
call esi
push eax
call fcn.0043f71e
pop ecx
mov dword [0x46f2b0], eax
test eax, eax
je 0x44a01e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043f71e
pop ecx
mov dword [0x46f2ac], eax
mov eax, dword [0x46f2ac]
cmp eax, ebx
je 0x44a076
cmp dword [0x46f2b0], ebx
je 0x44a076
push eax
call fcn.0043f799
push dword [0x46f2b0]
mov esi, eax
call fcn.0043f799
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44a076
test edi, edi
je 0x44a076
call esi
test eax, eax
je 0x44a06d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44a06d
test byte [ebp - 0xc], 1
jne 0x44a076
or dword [ebp + 0x10], 0x200000
jmp 0x44a0af
mov eax, dword [0x46f2a4]
cmp eax, ebx
je 0x44a0af
push eax
call fcn.0043f799
pop ecx
test eax, eax
je 0x44a0af
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44a0af
mov eax, dword [0x46f2a8]
cmp eax, ebx
je 0x44a0af
push eax
call fcn.0043f799
pop ecx
test eax, eax
je 0x44a0af
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46f2a0]
call fcn.0043f799
pop ecx
test eax, eax
je 0x44a0cf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44a0d1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x112f370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x112f38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x1158074
push ecx
mov edi, eax
call fcn.01143198
mov esi, eax
add esp, 8
test esi, esi
jne 0x112f3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0114302e
push esi
call fcn.01142fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x1132850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x11328ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x115d720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x11328ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.011431e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x11328ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x115d720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x113292a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.01144082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x1132957
mov word [eax], si
add eax, 2
push eax
call fcn.01144030
add esp, 4
jmp 0x1132959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x11328ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x11328b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x1132ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1133080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x11330c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x1158458
push ecx
call fcn.011431e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.011431e1
add esp, 0x10
jmp 0x11330d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0114320b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.01142dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.01133050
mov eax, dword [0x115d728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x113313b
push esi
call fcn.01132fb0
add esp, 4
mov dword [0x115d728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x113314c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.01132ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x1136440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x11364b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x113648e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1136471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x113647e
add edx, ecx
cmp ebx, edx
jb 0x113648a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1136467
xor ecx, ecx
jmp 0x11364a2
test eax, eax
jne 0x1136492
xor ecx, ecx
jmp 0x11364a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.011363c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x11368f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1136921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x1136946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x113696e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x1136993
push ecx
push esi
call fcn.011364c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret