joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45675f
Capabilities:
Get disk information

Disassembly:
mov eax, 0x463cf8
call fcn.0042d51c
sub esp, 0x260
mov eax, dword [0x47b6dc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x264]
push eax
push edi
mov esi, 0x104
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
xor ebx, ebx
cmp eax, ebx
jne 0x4567a7
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x4567ab
cmp eax, esi
jb 0x4567b2
xor eax, eax
jmp 0x45688b
call fcn.00456047
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push edi
mov dword [ebp - 4], ebx
call fcn.0045671d
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x45687b
push ebx
push ebx
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x26c]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x456806
xor esi, esi
jmp 0x45687e
test byte [ebp - 0x268], 2
jne 0x456816
push edi
call dword [sym.imp.USER32.dll_CharUpperW]
test byte [ebp - 0x268], 4
jne 0x45687b
lea eax, [ebp - 0x260]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x45687b
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x264], ebx
je 0x456802
cmp dword [ebp - 0x264], edi
jbe 0x456802
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x264]
sub ecx, edi
sar ecx, 1
add ecx, eax
cmp ecx, esi
jge 0x456802
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor esi, esi
inc esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401200
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0042a4a0
leave
ret 8

Function at 0x459618
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x459651
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00401b50
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00401690
pop esi
ret 4
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x45a82c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x45a86f
call fcn.00460645
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45a86f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x45a88a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004599a4
test ebx, ebx
mov esi, eax
je 0x45a888
test edi, edi
je 0x45a888
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x45af16
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x54], 0
mov eax, dword [edi + 0x58]
mov esi, dword [edi + 0x5c]
mov dword [ebp - 4], eax
je 0x45af4d
call fcn.00460645
mov ebx, dword [eax + 0xc]
push 5
push dword [edi + 0x54]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x45af5e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor ebx, ebx
inc ebx
test esi, esi
je 0x45af97
cmp word [esi + 2], 0xffff
mov ecx, dword [esi]
jne 0x45af7c
mov ecx, dword [esi + 0xc]
mov ax, word [esi + 0x12]
mov si, word [esi + 0x14]
jmp 0x45af84
mov ax, word [esi + 0xa]
mov si, word [esi + 0xc]
test cx, 0x1801
jne 0x45af95
test ax, ax
jne 0x45af95
test si, si
je 0x45af97
xor ebx, ebx
cmp dword [edi + 0x54], 0
je 0x45afa6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x45b206
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x463eb3
call fcn.0042d51c
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
mov ebx, dword [esi + 0x5c]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
call fcn.00460645
cmp dword [esi + 0x54], 0
mov edi, dword [eax + 0xc]
je 0x45b246
call fcn.00460645
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x54]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45b257
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x45b263
or eax, 0xffffffff
jmp 0x45b366
mov ecx, esi
call fcn.0045ad38
mov dword [ebp - 0x14], eax
call fcn.00458c6a
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x14], 0
je 0x45b2a6
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x45b2a6
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x45b2a6
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
and dword [ebp - 4], 0
push esi
call fcn.00459ec0
push dword [ebp - 0x14]
call fcn.00458bc2
push edi
push eax
push ebx
mov ecx, esi
call fcn.0045afeb
xor ebx, ebx
cmp eax, ebx
je 0x45b31a
test byte [esi + 0x38], 0x10
je 0x45b2e8
push 4
pop edi
mov ecx, esi
call fcn.004574fe
test ah, 1
je 0x45b2e0
push 5
pop edi
push edi
mov ecx, esi
call fcn.00458666
cmp dword [esi + 0x1c], ebx
je 0x45b31a
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.00457620
jmp 0x45b31a
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], ebx
je 0x45b32e
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], ebx
je 0x45b347
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x45b347
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0045ad72
cmp dword [esi + 0x54], ebx
je 0x45b363
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x40]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x45bcc3
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x22c
xor ebx, ebx
push ebx
push esi
mov edi, ecx
call fcn.0042da00
add esp, 0xc
push 0x104
push dword [edi + 0xc]
lea eax, [esi + 0x22]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [edi + 4]
cmp eax, dword [0x469b7c]
je 0x45bdca
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x45bd33
push ebx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
jne 0x45bd3a
cmp ebx, ebx
jne 0x45bd3a
xor eax, eax
jmp 0x45bdcd
mov edi, dword [edi + 0xc]
cmp dword [edi - 0xc], ebx
jne 0x45bd47
mov byte [esi + 0x20], bl
jmp 0x45bd5b
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
sete cl
dec cl
and ecx, eax
mov byte [esi + 0x20], cl
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.004296e4
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.004296e4
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x14], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.004296e4
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0xc], ecx
mov ecx, dword [esi]
or ecx, dword [esi + 4]
jne 0x45bdb6
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x45bdca
mov eax, dword [esi + 8]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x45cd77
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x47b6dc]
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
mov eax, pe_nt_image_headers32
cmp esi, eax
ja 0x45cdc6
push eax
lea eax, [ebp - 0x204]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, esi
jne 0x45cdc6
push dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x45cdd2
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 4]
pop esi
call fcn.0042a4a0
leave
ret 8
Function at 0x45da17
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47b6dc]
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
mov dword [ebp - 4], eax
je 0x45da64
push dword [ebp + 8]
call fcn.004608f5
mov esi, eax
test esi, esi
je 0x45da8c
push edi
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
pop edi
jmp 0x45da8c
push dword [ebp + 0x10]
lea eax, [ebp - 0x24]
push 0x468214
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push dword [esi + 0x64]
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
pop esi
call fcn.0042a4a0
leave
ret 0xc
Function at 0x45de8c
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.0042af60
mov edx, dword [ebp + 0xc]
mov eax, dword [0x47b6dc]
push ebx
xor ecx, ecx
cmp edx, ecx
push esi
mov dword [ebp - 4], eax
push edi
je 0x45dfb4
cmp dword [ebp + 8], ecx
je 0x45dfb4
mov eax, dword [ebp + 0x18]
mov esi, eax
mov edi, eax
and esi, 0x2e000000
and edi, 0x40000000
test eax, 0x90000000
mov dword [ebp - 0x1054], 0x824
mov dword [ebp - 0x1050], ecx
mov dword [ebp + 0x18], ecx
je 0x45df02
cmp dword [edx + 0x30], ecx
je 0x45df02
test eax, 0x2000000
je 0x45defc
mov dword [ebp + 0x18], 1
jmp 0x45df02
or edi, 0x80000000
mov ebx, dword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
push esi
lea eax, [ebp - 0x1054]
push eax
lea eax, [ebp - 0x104c]
push eax
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x45df6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x45dfb4
mov eax, dword [ebp - 0x1054]
add eax, eax
push eax
call fcn.004556d6
test eax, eax
pop ecx
mov dword [ebp - 0x1058], eax
je 0x45dfb4
push esi
lea ecx, [ebp - 0x1054]
push ecx
push eax
push dword [ebp + 8]
mov dword [ebp - 0x1050], 1
call ebx
test eax, eax
jne 0x45df74
push dword [ebp - 0x1058]
jmp 0x45dfae
lea ebx, [ebp - 0x104c]
jmp 0x45df7a
mov ebx, dword [ebp - 0x1058]
mov esi, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
cmp dword [ebp + 0x18], edi
mov dword [ebp + 8], eax
je 0x45dfd1
push 0x2100000
push edi
push edi
push dword [esi + 0x2c]
call dword [sym.imp.SHLWAPI.dll_UrlUnescapeW]
test eax, eax
jge 0x45dfc5
cmp dword [ebp - 0x1050], edi
je 0x45dfb4
push ebx
call fcn.00455706
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0042a4a0
leave
ret 0x14
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esi + 0x30], eax
cmp dword [ebp - 0x1050], edi
je 0x45dfe0
push ebx
call fcn.00455706
pop ecx
mov eax, dword [ebp + 8]
cmp eax, edi
jne 0x45dff2
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0x1000
jmp 0x45dfb6
mov cx, word [esi + 0x18]
mov edx, dword [ebp + 0x14]
mov word [edx], cx
mov esi, dword [esi + 0xc]
dec esi
mov ecx, dword [ebp + 0x10]
je 0x45e050
dec esi
je 0x45e045
dec esi
je 0x45e03a
dec esi
je 0x45e02f
dec esi
je 0x45e027
dec esi
je 0x45e01f
dec esi
jne 0x45dfea
mov dword [ecx], 0x1002
jmp 0x45dfb6
mov dword [ecx], 0x1006
jmp 0x45dfb6
mov dword [ecx], 0x1001
jmp 0x45dfb6
mov dword [ecx], 0x100b
jmp 0x45dfb6
mov dword [ecx], 3
jmp 0x45dfb6
mov dword [ecx], 2
jmp 0x45dfb6
mov dword [ecx], 1
jmp 0x45dfb6
Function at 0x45e546
Capabilities:
Create http request

Disassembly:
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]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x45e56f
call fcn.00460645
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]
test eax, eax
mov dword [esi + 8], eax
jne 0x45e592
push eax
push dword [esi + 4]
call fcn.0045e4d3
push esi
push eax
mov ecx, 0x47f46c
call fcn.0045e383
mov eax, esi
pop esi
pop ebp
ret 0x18

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
je 0x45e850
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45e850
mov ecx, dword [esi + 0x3c]
test ecx, ecx
jne 0x45e76e
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x45e766
push 0
jmp 0x45e852
mov eax, dword [ebp - 4]
jmp 0x45e831
mov eax, dword [esi + 0x38]
push ebx
push edi
mov edi, dword [ebp + 0xc]
cmp edi, dword [esi + 0x34]
jb 0x45e7c2
mov ebx, dword [esi + 0x40]
sub ebx, eax
jns 0x45e786
xor ebx, ebx
jmp 0x45e78e
cmp ebx, edi
ja 0x45e836
push ebx
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0042d540
mov eax, dword [esi + 0x34]
add esp, 0xc
mov dword [esi + 0x38], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
sub edi, ebx
push edi
add eax, ebx
push eax
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x45e75f
mov eax, dword [ebp - 4]
jmp 0x45e82d
mov edx, dword [esi + 0x40]
lea ebx, [eax + edi]
cmp ebx, edx
jb 0x45e83a
sub edx, eax
jns 0x45e7d4
xor ebx, ebx
jmp 0x45e7da
mov ebx, edx
cmp ebx, edi
ja 0x45e836
push ebx
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0042d540
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [esi + 0x34]
push dword [esi + 0x3c]
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x45e75f
mov eax, dword [ebp + 0xc]
sub edi, ebx
cmp edi, eax
mov dword [esi + 0x40], eax
jae 0x45e813
mov dword [ebp + 0xc], edi
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [esi + 0x3c]
add eax, ebx
push eax
call fcn.0042d540
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [esi + 0x38], eax
add eax, ebx
pop edi
pop ebx
pop esi
leave
ret 8
xor eax, eax
jmp 0x45e82f
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0042d540
add esp, 0xc
add dword [esi + 0x38], edi
mov eax, edi
jmp 0x45e82f
push 6
push dword [esi + 0x1c]
call fcn.0045e4d3
int3
Function at 0x45e85b
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x18], 1
push edi
je 0x45e904
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45e904
mov ecx, dword [esi + 0x30]
test ecx, ecx
mov edi, dword [ebp + 0xc]
jne 0x45e89f
lea ecx, [ebp + 0xc]
push ecx
push edi
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x45e898
push 0
jmp 0x45e906
cmp dword [ebp + 0xc], edi
je 0x45e8dd
jmp 0x45e894
mov eax, dword [esi + 0x2c]
lea edx, [eax + edi]
cmp edx, dword [esi + 0x28]
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetWriteFile]
jb 0x45e8c4
lea edx, [ebp + 0xc]
push edx
push eax
push ecx
push dword [esi + 0x14]
call ebx
test eax, eax
je 0x45e894
and dword [esi + 0x2c], 0
mov ecx, dword [esi + 0x28]
cmp edi, ecx
jb 0x45e8e3
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 0x14]
call ebx
test eax, eax
je 0x45e894
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov eax, dword [esi + 0x2c]
lea edx, [eax + edi]
cmp edx, ecx
ja 0x45e8dc
mov ecx, dword [esi + 0x30]
push edi
push dword [ebp + 8]
add ecx, eax
push ecx
call fcn.0042d540
add esp, 0xc
add dword [esi + 0x2c], edi
jmp 0x45e8dc
push 6
push dword [esi + 0x1c]
call fcn.0045e4d3
int3

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
jne 0x45e97f
push 0x1000
call fcn.0045e0ca
test eax, eax
je 0x45e9e2
lea eax, [ebp - 4]
push eax
push dword [esi + 0x34]
push dword [esi + 0x3c]
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x45e9e8
mov eax, dword [ebp - 4]
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], ebx
mov eax, dword [esi + 0x38]
add eax, dword [esi + 0x3c]
push edi
mov edi, dword [ebp + 8]
jmp 0x45e9d6
mov ecx, dword [esi + 0x38]
cmp ecx, dword [esi + 0x40]
jb 0x45e9ba
lea eax, [ebp - 4]
push eax
push dword [esi + 0x34]
push dword [esi + 0x3c]
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x45e9e8
mov eax, dword [ebp - 4]
cmp eax, ebx
mov dword [esi + 0x40], eax
je 0x45e9f1
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x38], ebx
mov cx, word [eax]
cmp cx, 0xd
je 0x45e9c8
mov word [edi], cx
inc edi
inc edi
inc dword [esi + 0x38]
mov cx, word [eax]
inc eax
inc eax
cmp cx, 0xa
je 0x45e9db
dec dword [ebp + 0xc]
jne 0x45e98b
mov eax, dword [ebp + 8]
mov word [edi], bx
pop edi
pop esi
pop ebx
leave
ret 8
push ebx
push dword [esi + 0x1c]
call fcn.0045e4d3
mov eax, edi
sub eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, dword [ebp + 8]
jmp 0x45e9de
Function at 0x45ebe7
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
mov eax, 0x463f7d
call fcn.0042d51c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00456ec6
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [ebp - 4], edi
mov dword [esi], vtable.CInternetFile.0
mov dword [esi + 0x1c], eax
call fcn.00401900
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
call fcn.00402390
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.00402390
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x18], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x45f02c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
cmp dword [ebp + 0xc], 0x800
mov eax, dword [0x47b6dc]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
jne 0x45f08a
push 0x469540
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.0042d474
add esp, 0x10
cmp eax, 0xffffffff
je 0x45f09e
cmp eax, esi
jae 0x45f09e
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x45f0a0
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x45f055
jmp 0x45f0a1
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
call fcn.0042a4a0
leave
ret
Function at 0x45f0c1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x47b6dc]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor ebx, ebx
push 0x4695ec
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x45f163
call eax
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 0x28], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0x2c], ecx
call esi
push dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x28], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ebx, cx
and eax, edi
or eax, ebx
push eax
call esi
push ebx
mov dword [ebp - 0x40], eax
call esi
mov dword [ebp - 0x3c], eax
push 4
xor ebx, ebx
jmp 0x45f265
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x45f213
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push SysReAllocString
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45f266
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
push ebx
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0x20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45f208
cmp dword [ebp - 0x34], 1
jne 0x45f208
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x24]
push 0x46955c
push eax
call fcn.0042d4e4
add esp, 0xc
cmp eax, 1
jne 0x45f208
mov eax, dword [ebp - 0x4c]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [ebp - 0x28], eax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x48], eax
call esi
push 2
mov dword [ebp - 0x44], eax
pop esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45f266
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x45f266
lea ecx, [ebp - 0x28]
push ecx
push 0x45f0ab
push 1
push 0x10
push eax
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
cmp word [ebp - 0x28], bx
je 0x45f266
movzx eax, word [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x48], eax
call esi
mov dword [ebp - 0x44], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x48], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x45f28c
push dword [ebp + edi*4 - 0x48]
push dword [ebp + 8]
call fcn.0045f02c
cmp eax, ebx
pop ecx
pop ecx
jne 0x45f28e
inc edi
cmp edi, esi
jl 0x45f275
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0042a4a0
leave
ret 4