joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43cd50
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push 0
push 0x587f8c
push 0x587f8c
push 0
push eax
mov esi, ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x30d74], eax
test eax, eax
jne 0x43cd8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x30d80], eax
xor eax, eax
pop esi
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push 0
push 0x4400000
push 3
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 0x30d78], eax
test eax, eax
jne 0x43cdd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x30d80], eax
mov eax, dword [esi + 0x30d74]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop ebp
ret 0x14
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
je 0x43ce0e
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x30d78]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov dword [esi + 0x30d80], eax
call edi
mov edx, dword [esi + 0x30d74]
push edx
call edi
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x14
mov eax, 1
pop esi
pop ebp
ret 0x14

Function at 0x43cf10
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x30d7c], 0
jne 0x43cf32
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x30d80], eax
xor eax, eax
pop esi
pop ebp
ret 8
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push 0
push ebx
call fcn.00543b50
mov eax, dword [esi + 0x30d7c]
add esp, 0xc
push 0x5f6780
push edi
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
pop edi
pop ebx
test eax, eax
je 0x43cf1f
mov eax, dword [0x5f6780]
pop esi
pop ebp
ret 8
Function at 0x43d0c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, ebx
push esi
mov dword [ebp - 4], 0x400
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43d0d5
sub eax, edx
sar eax, 1
mov esi, eax
je 0x43d10b
push edi
lea edi, [ebx + esi*2]
lea esp, [esp]
push 1
push 0x58c998
push edi
call fcn.00547514
add esp, 0xc
test eax, eax
je 0x43d10a
sub edi, 2
dec esi
jne 0x43d0f0
pop edi
lea eax, [ebp + 8]
push eax
push 1
push 0
lea ecx, [ebx + esi*2]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop esi
pop ebx
test eax, eax
jne 0x43d16f
lea edx, [ebp - 4]
push edx
push 0x5f6788
push eax
push eax
mov eax, dword [ebp + 8]
push str.Content_Type
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43d15a
push 0x18
push str.application_octet_stream
push 0x5f6788
call fcn.0054415b
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x5f6788
mov esp, ebp
pop ebp
ret 4
push 0x18
push str.application_octet_stream
push 0x5f6788
call fcn.0054415b
add esp, 0xc
mov eax, 0x5f6788
mov esp, ebp
pop ebp
ret 4

Function at 0x43d4c0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ecx + 4]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
cmp ebx, dword [ecx + 8]
jae 0x43d52d
push esi
mov eax, dword [ebx + 0xa00]
dec eax
je 0x43d51b
dec eax
jne 0x43d521
push eax
push 0x80
push 3
push eax
push 1
push SysReAllocString
lea eax, [ebx + 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
lea edi, [edi + eax + 0x1800]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
jmp 0x43d521
add edi, 0x2000
add ebx, 0xa04
cmp ebx, dword [ecx + 8]
jb 0x43d4d4
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43d8a0
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
mov eax, dword [0x5f0bf8]
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], 0x5907ec
mov dword [ebp - 0x808], 0
call fcn.0043d540
mov edx, dword [esi + 0x30d78]
push 0
push 0x4480040
lea ecx, [ebp - 0x810]
push ecx
push 0x587f8c
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 0x43d938
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.005437e5
mov esp, ebp
pop ebp
ret 4
mov edi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
push SysReAllocString
push 0xd
push 0x590580
push eax
call edi
test eax, eax
je 0x43d917
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 0x43d917
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [ebp - 0x802]
push edx
mov word [ebp - 0x804], cx
call fcn.00543b50
push 0x400
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00543b50
push ebx
lea ecx, [ebp - 0x804]
push str.Content_Length:__d_r_n
push ecx
call fcn.0054754d
lea eax, [ebp - 0x804]
add esp, 0x24
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43d9b6
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 0x43d917
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 0x43d917
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 0x43d917
mov eax, dword [esi + 0x30d7c]
push edi
push 8
push edi
push eax
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
je 0x43d917
lea ecx, [ebp - 0x808]
push ecx
mov ecx, esi
call fcn.0043d0a0
mov ecx, dword [ebp - 4]
lea eax, [edi + 1]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005437e5
mov esp, ebp
pop ebp
ret 4
Function at 0x43daf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577a56
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5f0bf8]
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 0x43e090
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577b80
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5f0bf8]
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 0x43e111
lea eax, [ebp - 0x48]
push eax
call fcn.0043dc10
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403fe0
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], 0x10
jb 0x43e102
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00440737
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
jmp 0x43e120
push 0xffffffffffffffff
push ebx
lea edx, [esi + 0x14]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004038d0
mov eax, dword [esi + 0x30d78]
push ebx
push 0x4480040
push ebx
push 0x587f8c
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 0x43e177
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x30d80], eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x43e173
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00440737
add esp, 4
xor eax, eax
jmp 0x43e1e7
push SysReAllocString
push 0xd
push 0x590580
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x43e19c
call edi
mov dword [esi + 0x30d80], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x43e1a8
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
push edx
push eax
mov eax, dword [esi + 0x30d7c]
push 0x31
push 0x590848
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x43e1c9
call edi
jmp 0x43e154
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x43e1e2
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00440737
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.005437e5
mov esp, ebp
pop ebp
ret 4
Function at 0x44b879
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 0x44b8c0
call fcn.0044e83a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44b8c0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44b8dc
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0044b379
mov esi, eax
test edi, edi
je 0x44b8da
test ebx, ebx
je 0x44b8da
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44cc02
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x57bb33
call fcn.0054762b
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x44cc27
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x44cc79
call fcn.0044184e
push eax
lea ecx, [ebp - 0x10]
call fcn.00440d6a
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.00547735
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.00547703
ret 8

Function at 0x44d32d
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.0044cfd1
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x44d377
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0044174f
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00441720
jmp 0x44d382
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0045ac7e
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x44d388
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.0044c4c6
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 0x44d3c5
call fcn.0044cfd1
mov dword [esi + 0xc], 1
jmp 0x44d3ca
call fcn.0044cfd1
cmp dword [esi], 0
je 0x44d413
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x44d3eb
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0044174f
jmp 0x44d3fd
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00440f12
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00441720
jmp 0x44d437
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 0x44d437
push dword [esi]
push dword [ebp + 8]
call fcn.0045ac7e
pop esi
pop ebp
ret 0xc

Function at 0x44deb1
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.0044e83a
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 0x44deea
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.0044daee
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 0x44df48
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 0x44df6c
cmp dword [edi + 0x74], 0
jne 0x44df6c
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0044e83a
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.0044df09
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 0x44f21c
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 0x44f247
call fcn.0044e83a
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 0x44f26a
push eax
push dword [esi + 4]
call fcn.0044f17f
push esi
push eax
mov ecx, 0x5f8c10
call fcn.0044ee02
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x44fb53
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x5785fe
call fcn.0054762b
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.0044fb13
and dword [ebp - 4], 0
mov dword [esi], vtable.CHttpConnection.0
call fcn.0044184e
push eax
lea ecx, [esi + 0x18]
call fcn.00440d6a
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00441106
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 0x44fbca
push eax
push dword [esi + 8]
call fcn.0044f17f
push dword [esi + 0xc]
mov ecx, 0x5f8c10
push eax
call fcn.0044ee02
mov eax, esi
call fcn.00547703
ret 0x18

Function at 0x44fbe2
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x5785fe
call fcn.0054762b
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.0044fb13
and dword [ebp - 4], 0
mov dword [esi], vtable.CHttpConnection.0
call fcn.0044184e
push eax
lea ecx, [esi + 0x18]
call fcn.00440d6a
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00441106
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 0x44fc5a
push eax
push dword [esi + 8]
call fcn.0044f17f
push dword [esi + 0xc]
mov ecx, 0x5f8c10
push eax
call fcn.0044ee02
mov eax, esi
call fcn.00547703
ret 0x1c
Function at 0x451ae8
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5f0bf8]
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 0x451b2d
push 0x592fb8
push 4
push eax
call fcn.00546040
push eax
call fcn.00401000
add esp, 0x10
jmp 0x451b43
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x451bc3
push edi
call fcn.0054785f
mov edi, dword [eax]
call fcn.0054785f
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.0054760a
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0054785f
cmp dword [eax], 0
je 0x451b97
call fcn.0054785f
push dword [eax]
call fcn.00440d0e
pop ecx
jmp 0x451b9e
call fcn.0054785f
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x451bc3
cmp dword [ebp - 0x234], esi
jae 0x451bc3
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x451bc5
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005437e5
leave
ret
Function at 0x452064
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5f0bf8]
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.00446e34
pop ecx
cmp eax, esi
je 0x45214e
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x45214e
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.00543b50
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 0x45214e
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x45214e
cmp esi, 0x14
jge 0x45214e
push 0x10
push 0
push edi
call fcn.0054a52b
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x45213d
call fcn.0054785f
cmp dword [eax], 0x22
je 0x45213d
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.00547802
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x452113
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 [0x5f8c54], 0
jne 0x4521d9
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x452202
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.00451ae8
pop ecx
pop ecx
test eax, eax
jne 0x452204
inc edi
cmp edi, esi
jl 0x4521df
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005437e5
leave
ret 8
Function at 0x454413
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 0x45445b
call fcn.0044e83a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45445b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x45449e
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 0x454487
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 0x454487
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x45449b
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 0x45b8ee
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5f0bf8]
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 0x45b923
xor eax, eax
jmp 0x45b976
lea eax, [ebp - 0x210]
push eax
call fcn.00547802
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x45b954
push 0x588d00
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0054a545
add esp, 0xc
test eax, eax
jne 0x45b91f
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0054a545
add esp, 0xc
test eax, eax
jne 0x45b91f
lea eax, [ebp - 0x210]
push eax
call fcn.00446e34
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005437e5
leave
ret

Function at 0x4d0e1d
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 0x4d0e37
call fcn.0044e83a
mov esi, dword [eax + 0xc]
push dword [0x5fae54]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4d0e55
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 0x4d0e4d
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4d0e82
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4d0e4f
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004d0d4b
mov esi, eax
jmp 0x4d0e74

Function at 0x51fde4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00449edf
call fcn.00443506
cmp eax, esi
pop esi
jne 0x51fe00
mov ecx, 0x5f8f68
jmp fcn.0045c7c1
ret