joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43cad0
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
mov eax, dword [0x5f6998]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push str.__MULTI_PARTS_FORM_DATA_BOUNDARY
lea eax, [ebp - 0x808]
push eax
mov esi, ecx
mov dword [ebp - 0x810], 0x59506c
mov dword [ebp - 0x808], 0
call fcn.0043c770
mov edx, dword [esi + 0x30d78]
push 0
push 0x4480040
lea ecx, [ebp - 0x810]
push ecx
push 0x58df78
push str.HTTP_1.0
push edi
push str.POST
push edx
mov ebx, eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esi + 0x30d7c], eax
test eax, eax
jne 0x43cb68
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [esi + 0x30d80], eax
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00542c3e
mov esp, ebp
pop ebp
ret 4
mov edi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
push SysReAllocStringLen
push 0xd
push 0x594e00
push eax
call edi
test eax, eax
je 0x43cb47
mov eax, dword [esi + 0x30d7c]
push 0x10000000
push 0x4e
push str.Content_Type:_multipart_form_data__boundary__MULTI_PARTS_FORM_DATA_BOUNDARY_r_n
push eax
call edi
test eax, eax
je 0x43cb47
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [ebp - 0x802]
push edx
mov word [ebp - 0x804], cx
call fcn.00542dc0
push 0x400
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00542dc0
push ebx
lea ecx, [ebp - 0x804]
push str.Content_Length:__d_r_n
push ecx
call fcn.005467dd
lea eax, [ebp - 0x804]
add esp, 0x24
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43cbe6
sub eax, edx
push 0x10000000
sar eax, 1
push eax
mov eax, dword [esi + 0x30d7c]
lea edx, [ebp - 0x804]
push edx
push eax
call edi
test eax, eax
je 0x43cb47
mov edx, dword [esi + 0x30d7c]
xor edi, edi
push edi
xor eax, eax
push 8
push edi
lea ecx, [ebp - 0x838]
push ecx
mov dword [ebp - 0x834], eax
push edx
mov dword [ebp - 0x830], eax
mov dword [ebp - 0x82c], eax
mov dword [ebp - 0x828], eax
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x820], eax
mov dword [ebp - 0x81c], eax
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x814], eax
mov dword [ebp - 0x838], 0x28
mov dword [ebp - 0x834], edi
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
je 0x43cb47
mov ecx, dword [ebp - 0x808]
mov edx, dword [esi + 0x30d7c]
lea eax, [ebp - 0x80c]
push eax
push ebx
push ecx
push edx
mov dword [ebp - 0x80c], edi
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x43cb47
mov eax, dword [esi + 0x30d7c]
push edi
push 8
push edi
push eax
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
je 0x43cb47
lea ecx, [ebp - 0x808]
push ecx
mov ecx, esi
call fcn.0043c2d0
mov ecx, dword [ebp - 4]
lea eax, [edi + 1]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00542c3e
mov esp, ebp
pop ebp
ret 4
Function at 0x43cd20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d4a6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5f6998]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov dword [eax], vtable.GenericHTTPClient.0
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [ebp - 4], ecx
mov dword [eax + 0x28], 0xf
mov dword [eax + 0x24], ecx
mov byte [eax + 0x14], cl
mov byte [ebp - 4], 1
mov dword [eax + 0x30d7c], ecx
mov dword [eax + 0x30d78], ecx
mov dword [eax + 0x30d74], ecx
mov byte [eax + 0x30], cl
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x43d2c0
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d5d0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5f6998]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], ebx
cmp byte [esi + 0x30], bl
jne 0x43d341
lea eax, [ebp - 0x48]
push eax
call fcn.0043ce40
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403bc0
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], 0x10
jb 0x43d332
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0043f967
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
jmp 0x43d350
push 0xffffffffffffffff
push ebx
lea edx, [esi + 0x14]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004034b0
mov eax, dword [esi + 0x30d78]
push ebx
push 0x4480040
push ebx
push 0x58df78
push str.HTTP_1.0
push edi
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esi + 0x30d7c], eax
cmp eax, ebx
jne 0x43d3a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x30d80], eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x43d3a3
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0043f967
add esp, 4
xor eax, eax
jmp 0x43d417
push SysReAllocStringLen
push 0xd
push 0x594e00
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x43d3cc
call edi
mov dword [esi + 0x30d80], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x43d3d8
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
push edx
push eax
mov eax, dword [esi + 0x30d7c]
push 0x31
push 0x5950c8
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x43d3f9
call edi
jmp 0x43d384
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x43d412
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0043f967
add esp, 4
mov eax, 1
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00542c3e
mov esp, ebp
pop ebp
ret 4
Function at 0x44ab63
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 0x44abaa
call fcn.0044dab2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44abaa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44abc6
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0044a663
mov esi, eax
test edi, edi
je 0x44abc4
test ebx, ebx
je 0x44abc4
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44bf04
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5859e9
call fcn.005468bb
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x44bf29
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x44bf7b
call fcn.00440a7e
push eax
lea ecx, [ebp - 0x10]
call fcn.0043ff9a
mov ecx, dword [esi + 0x6c]
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.005469c5
push eax
call fcn.00401000
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401200
mov eax, esi
call fcn.00546993
ret 8

Function at 0x44c62f
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0044c2d3
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x44c679
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0044097f
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00440950
jmp 0x44c684
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00459e5f
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x44c68a
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0044b7ad
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x44c6c7
call fcn.0044c2d3
mov dword [esi + 0xc], 1
jmp 0x44c6cc
call fcn.0044c2d3
cmp dword [esi], 0
je 0x44c715
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x44c6ed
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0044097f
jmp 0x44c6ff
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00440142
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00440950
jmp 0x44c739
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x44c739
push dword [esi]
push dword [ebp + 8]
call fcn.00459e5f
pop esi
pop ebp
ret 0xc

Function at 0x44d129
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0044dab2
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44d162
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0044cd66
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x44d1c0
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 + 0x78], ebx
test ebx, 0xffff0000
jne 0x44d1e4
cmp dword [edi + 0x74], 0
jne 0x44d1e4
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0044dab2
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
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.0044d181
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 0x44e499
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 0x44e4c4
call fcn.0044dab2
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_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x44e4e7
push eax
push dword [esi + 4]
call fcn.0044e3fc
push esi
push eax
mov ecx, 0x5fedd8
call fcn.0044e07f
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x44edad
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x57e0cb
call fcn.005468bb
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov ebx, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0044ed6d
and dword [ebp - 4], 0
mov dword [esi], vtable.CHttpConnection.0
call fcn.00440a7e
push eax
lea ecx, [esi + 0x18]
call fcn.0043ff9a
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00440336
push dword [esi + 8]
mov ebx, dword [ebx + 8]
push 0
push 3
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x44ee24
push eax
push dword [esi + 8]
call fcn.0044e3fc
push dword [esi + 0xc]
mov ecx, 0x5fedd8
push eax
call fcn.0044e07f
mov eax, esi
call fcn.00546993
ret 0x18

Function at 0x44ee3c
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x57e0cb
call fcn.005468bb
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x20]
mov ebx, dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0044ed6d
and dword [ebp - 4], 0
mov dword [esi], vtable.CHttpConnection.0
call fcn.00440a7e
push eax
lea ecx, [esi + 0x18]
call fcn.0043ff9a
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00440336
push dword [esi + 8]
mov ebx, dword [ebx + 8]
push dword [ebp + 0x10]
push 3
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x44eeb4
push eax
push dword [esi + 8]
call fcn.0044e3fc
push dword [esi + 0xc]
mov ecx, 0x5fedd8
push eax
call fcn.0044e07f
mov eax, esi
call fcn.00546993
ret 0x1c
Function at 0x450d76
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5f6998]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x450dbb
push 0x5978f0
push 4
push eax
call fcn.00546aad
push eax
call fcn.00401000
add esp, 0x10
jmp 0x450dd1
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x450e51
push edi
call fcn.00546b52
mov edi, dword [eax]
call fcn.00546b52
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0054689a
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.00546b52
cmp dword [eax], 0
je 0x450e25
call fcn.00546b52
push dword [eax]
call fcn.0043ff3e
pop ecx
jmp 0x450e2c
call fcn.00546b52
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x450e51
cmp dword [ebp - 0x234], esi
jae 0x450e51
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x450e53
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00542c3e
leave
ret
Function at 0x4512f8
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5f6998]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.00446076
pop ecx
cmp eax, esi
je 0x4513e2
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x4513e2
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.00542dc0
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x4513e2
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x4513e2
cmp esi, 0x14
jge 0x4513e2
push 0x10
push 0
push edi
call fcn.0054951b
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4513d1
call fcn.00546b52
cmp dword [eax], 0x22
je 0x4513d1
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.00546a92
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x4513a7
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x5fee1c], 0
jne 0x45146d
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x451496
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.00450d76
pop ecx
pop ecx
test eax, eax
jne 0x451498
inc edi
cmp edi, esi
jl 0x451473
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00542c3e
leave
ret 8
Function at 0x4536ea
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 0x453732
call fcn.0044dab2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x453732
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x453775
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 0x45375e
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 0x45375e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x453772
mov ecx, dword [esi + 0x68]
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 0x45aab1
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5f6998]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x45aae6
xor eax, eax
jmp 0x45ab39
lea eax, [ebp - 0x210]
push eax
call fcn.00546a92
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x45ab17
push 0x58eb80
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00549535
add esp, 0xc
test eax, eax
jne 0x45aae2
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00549535
add esp, 0xc
test eax, eax
jne 0x45aae2
lea eax, [ebp - 0x210]
push eax
call fcn.00446076
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00542c3e
leave
ret
Function at 0x48fb30
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00518568
call fcn.0044d4e3
cmp dword [eax + 0x14], 0
jne 0x48fb4d
mov ecx, esi
pop esi
jmp fcn.0048f635
pop esi
ret

Function at 0x49304f
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004be27a
call fcn.0044d4e3
cmp dword [eax + 0x14], 0
jne 0x49306c
mov ecx, esi
pop esi
jmp fcn.00492a22
pop esi
ret

Function at 0x4cfdfd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4cfe17
call fcn.0044dab2
mov esi, dword [eax + 0xc]
push dword [0x60101c]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4cfe35
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4cfe2d
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4cfe62
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4cfe2f
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004cfd2b
mov esi, eax
jmp 0x4cfe54

Function at 0x522779
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x522791
mov edi, dword [esi + 0xc]
jmp 0x5227d1
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x5227aa
call fcn.004432ad
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x5227bf
call fcn.004432ad
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x5227d1
call fcn.004432ad
call fcn.0044dab2
cmp dword [eax + 0x3c], 0
je 0x5227e6
push edi
mov ecx, ebx
call fcn.005215a8
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00522693
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x522804
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x522810
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x542c3e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5f6998]
jne 0x542c48
repz ret
jmp fcn.0054f0ec