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

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x451470]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x42a8b8
xor eax, eax
jmp 0x42aa41
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x455c60]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x42a8f4
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.0042c350
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x42a9cf
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x42aa0d
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x42a958
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x42a949
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x42a929
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42a998
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x42a9a1
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x42a91a
jmp 0x42a9a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x42aa3c
cmp dword [ebp - 0x6c], edi
je 0x42aa0d
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x42aa02
call fcn.00423823
mov dword [eax], 9
call fcn.0042382c
mov dword [eax], esi
jmp 0x42aa37
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42a9f7
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x42a9a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x42a9a3
push dword [ebp - 0x6c]
call fcn.00423835
pop ecx
jmp 0x42aa37
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x42aa25
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x42aa25
xor eax, eax
jmp 0x42aa3f
call fcn.00423823
mov dword [eax], 0x1c
call fcn.0042382c
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x42aa3f
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.00420c94
add ebp, 0x3a0
leave
ret
Function at 0x42b0ce
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x455b64], ebx
push esi
push edi
jne 0x42b14e
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x42b189
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44665c
push edi
call esi
test eax, eax
mov dword [0x455b64], eax
je 0x42b189
push 0x44664c
push edi
call esi
push 0x446638
push edi
mov dword [0x455b68], eax
call esi
cmp dword [0x455708], 2
mov dword [0x455b6c], eax
jne 0x42b14e
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x455b74], eax
je 0x42b14e
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x455b70], eax
mov eax, dword [0x455b70]
test eax, eax
je 0x42b193
call eax
test eax, eax
je 0x42b17a
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x455b74]
test eax, eax
je 0x42b17a
test byte [ebp - 8], 1
jne 0x42b193
cmp dword [0x455714], 4
jb 0x42b18d
or byte [ebp + 0x12], 0x20
jmp 0x42b1b2
xor eax, eax
jmp 0x42b1c2
or byte [ebp + 0x12], 4
jmp 0x42b1b2
mov eax, dword [0x455b68]
test eax, eax
je 0x42b1b2
call eax
mov ebx, eax
test ebx, ebx
je 0x42b1b2
mov eax, dword [0x455b6c]
test eax, eax
je 0x42b1b2
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x455b64]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42ce73
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00421240
mov eax, dword [0x451470]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.0042ab00
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x42cfa6
push 2
push esi
push dword [ebp + 8]
call fcn.0042ab00
add esp, 0xc
cmp eax, ebx
je 0x42cfa6
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x42cf46
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00421d70
push 0x8000
push dword [ebp + 8]
call fcn.0042d3b9
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x42cefc
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.0042a887
add esp, 0xc
cmp eax, 0xffffffff
je 0x42cf1c
sub edi, eax
test edi, edi
jg 0x42cef4
jmp 0x42cf34
call fcn.0042382c
cmp dword [eax], 5
jne 0x42cf31
call fcn.00423823
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.0042d3b9
pop ecx
pop ecx
jmp 0x42cf8e
jge 0x42cf8e
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042ab00
push dword [ebp + 8]
call fcn.004234dd
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x42cf8e
call fcn.00423823
mov dword [eax], 0xd
call fcn.0042382c
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.0042ab00
add esp, 0xc
mov eax, esi
pop edi
jmp 0x42cfa8
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.00420c94
leave
ret
Function at 0x42d873
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x42d88c
or eax, 0xffffffff
jmp 0x42d8ed
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x42d8e9
push 0x3d
push esi
call fcn.004206f2
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x42d8e9
cmp esi, eax
je 0x42d8e9
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x455728]
sete cl
cmp eax, dword [0x45572c]
mov dword [ebp - 8], ecx
jne 0x42d8cf
mov edi, eax
call fcn.0042d812
mov dword [0x455728], eax
cmp eax, ebx
jne 0x42d928
cmp dword [ebp + 0xc], ebx
je 0x42d8f1
cmp dword [0x455730], ebx
je 0x42d8f1
call fcn.0042d002
test eax, eax
je 0x42d928
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x42d8fa
xor eax, eax
jmp 0x42d8ec
push 4
call fcn.00420216
cmp eax, ebx
pop ecx
mov dword [0x455728], eax
je 0x42d8e9
mov dword [eax], ebx
cmp dword [0x455730], ebx
jne 0x42d928
push 4
call fcn.00420216
cmp eax, ebx
pop ecx
mov dword [0x455730], eax
je 0x42d8e9
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x455728]
call fcn.0042d7c5
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x42d989
cmp dword [esi], ebx
je 0x42d989
lea esi, [esi + edi*4]
push dword [esi]
call fcn.00420e5f
cmp dword [ebp - 8], ebx
pop ecx
jne 0x42d96c
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x42d9ca
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x42d963
mov eax, edi
shl eax, 2
push eax
push dword [0x455728]
call fcn.00422293
cmp eax, ebx
pop ecx
pop ecx
je 0x42d9ca
jmp 0x42d9c5
cmp dword [ebp - 8], ebx
jne 0x42da35
cmp edi, ebx
jge 0x42d998
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x455728]
call fcn.00422293
cmp eax, ebx
pop ecx
pop ecx
je 0x42d8e9
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x455728], eax
cmp dword [ebp + 0xc], ebx
je 0x42da1f
push dword [ebp - 4]
call fcn.00422130
inc eax
inc eax
push eax
call fcn.00420216
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x42da1f
push dword [ebp - 4]
push esi
call fcn.00426f20
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x42da18
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.00420e5f
pop ecx
cmp dword [ebp - 8], ebx
je 0x42da2d
push dword [ebp - 4]
call fcn.00420e5f
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x42d8ec
push dword [ebp - 4]
call fcn.00420e5f
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x42d8f6
Function at 0x42efc0
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 0x42eff7
call fcn.00439aff
mov ebx, dword [eax + 0xc]
push 5
push dword [edi + 0x54]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42f008
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor ebx, ebx
inc ebx
test esi, esi
je 0x42f041
cmp word [esi + 2], 0xffff
mov ecx, dword [esi]
jne 0x42f026
mov ecx, dword [esi + 0xc]
mov ax, word [esi + 0x12]
mov si, word [esi + 0x14]
jmp 0x42f02e
mov ax, word [esi + 0xa]
mov si, word [esi + 0xc]
test cx, 0x1801
jne 0x42f03f
test ax, ax
jne 0x42f03f
test si, si
je 0x42f041
xor ebx, ebx
cmp dword [edi + 0x54], 0
je 0x42f050
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x42f2a2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x43e570
call fcn.00421dd0
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.00439aff
cmp dword [esi + 0x54], 0
mov edi, dword [eax + 0xc]
je 0x42f2f0
call fcn.00439aff
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x54]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42f301
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x42f30d
or eax, 0xffffffff
jmp 0x42f410
mov ecx, esi
call fcn.0042ede2
mov dword [ebp - 0x14], eax
call int.00430aa7
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x14], 0
je 0x42f350
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x42f350
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42f350
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.00431d37
push dword [ebp - 0x14]
call fcn.004309ff
push edi
push eax
push ebx
mov ecx, esi
call fcn.0042f095
xor ebx, ebx
cmp eax, ebx
je 0x42f3c4
test byte [esi + 0x38], 0x10
je 0x42f392
push 4
pop edi
mov ecx, esi
call fcn.004329b3
test ah, 1
je 0x42f38a
push 5
pop edi
push edi
mov ecx, esi
call fcn.004304a3
cmp dword [esi + 0x1c], ebx
je 0x42f3c4
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.00432c01
jmp 0x42f3c4
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], ebx
je 0x42f3d8
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], ebx
je 0x42f3f1
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x42f3f1
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.0042ee1c
cmp dword [esi + 0x54], ebx
je 0x42f40d
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 0x4382d1
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 0x4382fa
call fcn.00439aff
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]
test eax, eax
mov dword [esi + 8], eax
jne 0x43831d
push eax
push dword [esi + 4]
call fcn.0043825e
push esi
push eax
mov ecx, 0x4553ac
call fcn.004380d4
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x4384b2
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 0x4385db
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4385db
mov ecx, dword [esi + 0x3c]
test ecx, ecx
jne 0x4384f9
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 0x4384f1
push 0
jmp 0x4385dd
mov eax, dword [ebp - 4]
jmp 0x4385bc
mov eax, dword [esi + 0x38]
push ebx
push edi
mov edi, dword [ebp + 0xc]
cmp edi, dword [esi + 0x34]
jb 0x43854d
mov ebx, dword [esi + 0x40]
sub ebx, eax
jns 0x438511
xor ebx, ebx
jmp 0x438519
cmp ebx, edi
ja 0x4385c1
push ebx
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00421df0
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 0x4384ea
mov eax, dword [ebp - 4]
jmp 0x4385b8
mov edx, dword [esi + 0x40]
lea ebx, [eax + edi]
cmp ebx, edx
jb 0x4385c5
sub edx, eax
jns 0x43855f
xor ebx, ebx
jmp 0x438565
mov ebx, edx
cmp ebx, edi
ja 0x4385c1
push ebx
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00421df0
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 0x4384ea
mov eax, dword [ebp + 0xc]
sub edi, ebx
cmp edi, eax
mov dword [esi + 0x40], eax
jae 0x43859e
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.00421df0
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 0x4385ba
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00421df0
add esp, 0xc
add dword [esi + 0x38], edi
mov eax, edi
jmp 0x4385ba
push 6
push dword [esi + 0x1c]
call fcn.0043825e
int3
Function at 0x4385e6
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x18], 1
push edi
je 0x43868f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43868f
mov ecx, dword [esi + 0x30]
test ecx, ecx
mov edi, dword [ebp + 0xc]
jne 0x43862a
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 0x438623
push 0
jmp 0x438691
cmp dword [ebp + 0xc], edi
je 0x438668
jmp 0x43861f
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 0x43864f
lea edx, [ebp + 0xc]
push edx
push eax
push ecx
push dword [esi + 0x14]
call ebx
test eax, eax
je 0x43861f
and dword [esi + 0x2c], 0
mov ecx, dword [esi + 0x28]
cmp edi, ecx
jb 0x43866e
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 0x14]
call ebx
test eax, eax
je 0x43861f
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov eax, dword [esi + 0x2c]
lea edx, [eax + edi]
cmp edx, ecx
ja 0x438667
mov ecx, dword [esi + 0x30]
push edi
push dword [ebp + 8]
add ecx, eax
push ecx
call fcn.00421df0
add esp, 0xc
add dword [esi + 0x2c], edi
jmp 0x438667
push 6
push dword [esi + 0x1c]
call fcn.0043825e
int3

Function at 0x4386c9
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 0x438706
push 0x1000
call fcn.00437dc9
test eax, eax
je 0x438761
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 0x438767
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 0x438756
mov ecx, dword [esi + 0x38]
cmp ecx, dword [esi + 0x40]
jb 0x438741
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 0x438767
mov eax, dword [ebp - 4]
cmp eax, ebx
mov dword [esi + 0x40], eax
je 0x438770
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x38], ebx
mov cl, byte [eax]
cmp cl, 0xd
je 0x43874b
mov byte [edi], cl
inc edi
inc dword [esi + 0x38]
mov cl, byte [eax]
inc eax
cmp cl, 0xa
je 0x43875b
dec dword [ebp + 0xc]
jne 0x438712
mov eax, dword [ebp + 8]
mov byte [edi], bl
pop edi
pop esi
pop ebx
leave
ret 8
push ebx
push dword [esi + 0x1c]
call fcn.0043825e
mov eax, edi
sub eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, dword [ebp + 8]
jmp 0x43875e
Function at 0x439b68
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
cmp dword [ebp + 0xc], 0x800
mov eax, dword [0x451470]
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
jne 0x439bc6
push 0x4434ec
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.00422456
add esp, 0x10
cmp eax, 0xffffffff
je 0x439bda
cmp eax, esi
jae 0x439bda
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x439bdc
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x439b91
jmp 0x439bdd
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
call fcn.00420c94
leave
ret
Function at 0x439bfd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x451470]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ebx, ebx
push str.kernel32.dll
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x439c9f
call eax
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0x1c], ecx
call esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x18], 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 - 0x34], eax
call esi
mov dword [ebp - 0x30], eax
push 4
xor ebx, ebx
jmp 0x439da1
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x439d4f
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push SysReAllocString
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x439da2
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x439d44
cmp dword [ebp - 0x24], 1
jne 0x439d44
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push 0x4434fc
push eax
call fcn.00421204
add esp, 0xc
cmp eax, 1
jne 0x439d44
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [ebp - 0x18], 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 - 0x3c], eax
call esi
push 2
mov dword [ebp - 0x38], eax
pop esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x439da2
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x439da2
lea ecx, [ebp - 0x18]
push ecx
push 0x439be7
push 1
push 0x10
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
cmp word [ebp - 0x18], bx
je 0x439da2
movzx eax, word [ebp - 0x18]
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 - 0x3c], eax
call esi
mov dword [ebp - 0x38], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x3c], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x439dc8
push dword [ebp + edi*4 - 0x3c]
push dword [ebp + 8]
call fcn.00439b68
cmp eax, ebx
pop ecx
pop ecx
jne 0x439dca
inc edi
cmp edi, esi
jl 0x439db1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.00420c94
leave
ret 4