joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445640
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x445673
push esi
call fcn.00448740
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44566c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4456f9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4456e2
mov eax, dword [esi + 8]
test eax, eax
je 0x445697
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4456de
cmp eax, 2
je 0x4456e2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44568a
cmp eax, 3
je 0x4456bd
cmp eax, 1
jne 0x44568a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44568a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44568a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00445720
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x445708
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00445720
add esp, 4
pop esi
ret

Function at 0x450a60
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x450ac6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x450ac6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x450aa7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x451600
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00451750
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x451620
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x451601
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00451750
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x451620
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x451650
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4516a7
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x4516bd
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.004516e0
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x4516e0
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x451770
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4517b9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x451c30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x474020
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004517e0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00451860
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00451860
lea ecx, [esi + 0xc]
call fcn.00465e96
lea ecx, [esi + 0x10]
call fcn.00465e96
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00454090
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00454090
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00454090
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00465f0b
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00465f0b
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4528d8
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x474248
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x4528e8
call fcn.00452e00
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x4529cb
cmp byte [edi], 0
je 0x4529cb
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x45290d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.00451600
test eax, eax
jne 0x45292d
push 0x491460
lea ecx, [esi + 0x38]
call fcn.00466048
jmp 0x4529cb
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.00451650
test eax, eax
jne 0x45295c
mov ecx, esi
call fcn.00451750
push edi
add esi, 0x38
push 0x49143c
push esi
call fcn.00463ea7
add esp, 0xc
jmp 0x4529cb
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.00453680
test eax, eax
je 0x4529c4
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.00452aa0
test eax, eax
jne 0x4529e0
push edi
lea eax, [esi + 0x38]
push 0x491418
push eax
call fcn.00463ea7
add esp, 0xc
mov ecx, esi
call fcn.00452e00
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x452a88
mov ecx, dword [0x4916d0]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.00463ea7
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.00451700
test eax, eax
jne 0x452a4a
push 0x4913fc
lea ecx, [esi + 0x38]
call fcn.00466048
jmp 0x452a5a
push 0xfa
mov ecx, esi
call fcn.00453680
test eax, eax
jne 0x452a77
mov ecx, esi
call fcn.00452e00
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00465f0b
jmp 0x4529cb
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00465f0b
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x4682af
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4682e7
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00466366
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046633e
jmp 0x4682f3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46999d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4699df
call fcn.0046f51e
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4699df
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4699d6
xor eax, eax
jmp 0x4699e7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004699ed
pop edi
pop esi
pop ebx
ret 4

Function at 0x46fa4e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46fa7c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46fa9a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046f9b4
jmp 0x46fa9a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46fa9a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046f9b4
test edi, edi
mov eax, edi
jne 0x46fa84
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4014e8
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x4014fa
mov eax, dword [0x4ce08b]
shl eax, 2
mov dword [0x4ce08f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.004c3408
pop edx
call fcn.004c336c
call fcn.004c3448
push 0
call fcn.004c4854
pop ecx
push 0x4ce034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x4ce093], eax
push 0
jmp fcn.004c8698

Function at 0x43cba8
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43ccbc
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x43cc82
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.0047f9e8
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x28], 1
mov dword [ebp - 0xc], 1
mov eax, esi
call fcn.004811dc
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push edi
call sub.WININET.DLL_InternetCrackUrlA
mov eax, dword [ebp - 0x30]
add eax, 0xfffffffd
sub eax, 2
jb 0x43cc4b
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x40], 0xb
lea eax, [ebp - 0x44]
push eax
push 0
lea edx, [ebp - 0x48]
mov eax, dword [0x4db7e0]
call fcn.00483450
mov ecx, dword [ebp - 0x48]
mov dl, 1
mov eax, dword [0x46d3c4]
call fcn.00471efc
call fcn.00480970
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x58], eax
movzx eax, word [ebp - 0x24]
mov dword [ebx + 0x54], eax
lea eax, [ebx + 0x4c]
push eax
mov edx, dword [ebp - 0x2c]
sub edx, edi
inc edx
mov ecx, dword [ebp - 0x28]
mov eax, esi
call fcn.0048123c
lea eax, [ebx + 0x50]
push eax
mov edx, dword [ebp - 0x10]
sub edx, edi
inc edx
mov ecx, dword [ebp - 0xc]
mov eax, esi
call fcn.0048123c
jmp 0x43cc9c
xor eax, eax
mov dword [ebx + 0x54], eax
lea eax, [ebx + 0x4c]
call fcn.00480d2c
lea eax, [ebx + 0x50]
call fcn.00480d2c
xor eax, eax
mov dword [ebx + 0x58], eax
lea eax, [ebx + 0x3c]
mov edx, esi
call fcn.00480d80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ccc3
lea eax, [ebp - 0x48]
call fcn.00480d2c
ret
Function at 0x43ce50
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
test dl, dl
je 0x43cf76
mov eax, dword [ebp - 4]
cmp byte [eax + 0x39], 0
jne 0x43cfad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
call fcn.00480fe4
test eax, eax
jle 0x43ce85
mov ebx, 3
jmp 0x43ce87
xor ebx, ebx
push 0
call sub.WININET.DLL_InternetAttemptConnect
test eax, eax
je 0x43ce97
call fcn.00471e58
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
call fcn.004811dc
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
call fcn.004811dc
push eax
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.004811dc
push eax
call sub.WININET.DLL_InternetOpenA
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x64], esi
test esi, esi
setne dl
xor dl, 1
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.0043c9c0
xor eax, eax
push ebp
push 0x43cf56
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
push 0
push 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
call fcn.004811dc
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.004811dc
push eax
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x54]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
call fcn.004811dc
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
push eax
call sub.WININET.DLL_InternetConnectA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x68], ebx
test ebx, ebx
setne dl
xor dl, 1
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.0043c9c0
mov eax, dword [ebp - 4]
mov byte [eax + 0x39], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43cfad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x43cf86
push eax
call sub.WININET.DLL_InternetCloseHandle
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x68], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
test eax, eax
je 0x43cf9e
push eax
call sub.WININET.DLL_InternetCloseHandle
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x64], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x39], 0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x43cfb4
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x43d125
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 4
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x20000013
mov edi, ebx
push edi
call sub.WININET.DLL_HttpQueryInfoA
test eax, eax
je 0x43d093
cmp dword [ebp - 0x10], 0x12c
jb 0x43d093
cmp dword [ebp - 0x10], 0x1f4
je 0x43d093
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0x1000
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00481368
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
call fcn.00481234
push eax
push 0x14
push edi
call sub.WININET.DLL_HttpQueryInfoA
test eax, eax
je 0x43d093
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00481368
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea eax, [ebp - 0x34]
push eax
push 2
mov ecx, 0x43d13c
mov dl, 1
mov eax, dword [0x46d3c4]
call fcn.00471efc
call fcn.00480970
xor eax, eax
mov dword [ebp - 0x14], eax
push 0
push 0
lea eax, [ebp - 8]
push eax
mov edi, ebx
push edi
call sub.WININET.DLL_InternetQueryDataAvailable
mov edx, eax
cmp edx, 1
sbb edx, edx
neg edx
mov cl, 1
mov eax, esi
call fcn.0043c9c0
cmp dword [ebp - 8], 0
jbe 0x43d109
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00481368
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
call fcn.00481234
push eax
push edi
call sub.WININET.DLL_InternetReadFile
mov edx, eax
cmp edx, 1
sbb edx, edx
neg edx
mov cl, 1
mov eax, esi
call fcn.0043c9c0
lea eax, [ebp - 0x1c]
call fcn.00481234
mov edx, eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp dword [ebp - 8], 0
jne 0x43d098
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d12c
lea eax, [ebp - 0x1c]
call fcn.00480d2c
ret
Function at 0x43d174
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43d37b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x74], 0
je 0x43d1ae
lea eax, [ebp - 0x1c]
mov edx, 0x43d394
call fcn.00480dc4
jmp 0x43d1bb
lea eax, [ebp - 0x1c]
mov edx, 0x43d3c4
call fcn.00480dc4
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0043ce50
push 2
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x43d14c]
call fcn.00482740
add esp, 4
mov eax, 0x43d3dc
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 4], edx
mov esi, 0x4400000
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 4
jne 0x43d212
or esi, 0x800000
mov eax, dword [ebp - 4]
test byte [eax + 0x75], 2
je 0x43d212
or esi, 0x3000
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x43d327
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.004811dc
push eax
push 0x43d3e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
push eax
call sub.WININET.DLL_HttpOpenRequestA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
setne dl
xor dl, 1
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.0043c9c0
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0043cd44
push 0x20000000
mov eax, dword [ebp - 0x14]
call fcn.00480fe4
push eax
mov eax, dword [ebp - 0x14]
call fcn.004811dc
push eax
mov eax, dword [ebp - 8]
push eax
call sub.WININET.DLL_HttpAddRequestHeadersA
push 0x20000000
mov eax, dword [ebp - 0x1c]
call fcn.00480fe4
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004811dc
push eax
mov eax, dword [ebp - 8]
push eax
call sub.WININET.DLL_HttpAddRequestHeadersA
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.004832b0
mov eax, dword [ebp - 0x18]
call fcn.00480fe4
push eax
lea eax, [ebp - 0x18]
call fcn.00481234
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.WININET.DLL_HttpSendRequestA
mov edx, eax
cmp edx, 1
sbb edx, edx
neg edx
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.0043c9c0
lea eax, [ebp - 0xc]
push eax
push 7
call sub.KERNEL32.DLL_GetLastError
push eax
mov eax, dword [ebp - 8]
push eax
call sub.USER32.DLL_GetDesktopWindow
push eax
call sub.WININET.DLL_InternetErrorDlg
sub eax, 1
jb 0x43d31d
sub eax, 0x4c6
je 0x43d316
jmp 0x43d2bb
call fcn.00471e58
jmp 0x43d2bb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43d34f
mov ebx, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d382
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00480d50
lea eax, [ebp - 0x10]
mov edx, dword [0x43d14c]
call fcn.00482860
ret
Function at 0x43d418
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43d5c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0043ce50
push 2
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x43d3f0]
call fcn.00482740
add esp, 4
mov eax, 0x43d5d0
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [eax + 4], edx
mov dword [ebp - 0xc], 0x4000000
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 4
jne 0x43d492
or dword [ebp - 0xc], 0x800000
mov eax, dword [ebp - 4]
test byte [eax + 0x75], 2
je 0x43d492
or dword [ebp - 0xc], 0x3000
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x43d579
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.004811dc
push eax
push 0x43d5d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
push eax
call sub.WININET.DLL_HttpOpenRequestA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
setne dl
xor dl, 1
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0043c9c0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.WININET.DLL_HttpSendRequestA
test eax, eax
jne 0x43d56f
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 0x2f0d
jne 0x43d543
mov dword [ebp - 0x10], 4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x1f
mov eax, dword [ebp - 8]
push eax
call sub.WININET.DLL_InternetQueryOptionA
or dword [ebp - 0xc], 0x100
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x1f
mov eax, dword [ebp - 8]
push eax
call sub.WININET.DLL_InternetSetOptionA
jmp 0x43d4e9
lea eax, [ebp - 0x14]
push eax
push 7
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.USER32.DLL_GetDesktopWindow
push eax
call sub.WININET.DLL_InternetErrorDlg
sub eax, 1
jb 0x43d56f
sub eax, 0x4c6
jne 0x43d4e9
call fcn.00471e58
jmp 0x43d4e9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43d5a1
mov ebx, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d5c7
lea eax, [ebp - 0x18]
mov edx, dword [0x43d3f0]
call fcn.00482860
ret
Function at 0x44f1e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004811cc
mov ebx, dword [ebp + 8]
add ebx, 0xfffffffc
xor eax, eax
push ebp
push 0x44f27c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, dword [ebp - 4]
call fcn.0043cb7c
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
call fcn.0043cccc
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, dword [ebx]
mov edx, dword [edx + 0x18]
call fcn.0043ccf4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, dword [ebx]
mov edx, dword [edx + 0x10]
call fcn.0043cd1c
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f283
lea eax, [ebp - 4]
call fcn.00480d2c
ret

Function at 0x4688e4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4dba4c
cmp dword [edi], 0
jne 0x468960
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4dba48]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4d6c98
mov ecx, 2
call fcn.0047f470
mov edx, 0x4688bc
lea eax, [esi + 5]
call fcn.004688dc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004688dc
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x468935
mov dword [0x4dba48], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x46ea40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004811dc
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x46ea59
test al, 0x10
jne 0x46ea5d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4716a8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x4716e1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00480e1c
jmp 0x4716ea
mov eax, ebx
mov edx, esi
call fcn.00480d80
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4