joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x40894d
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4085d8
call fcn.00408976
and ebx, ebx
xor dword [eax], edi
mov edx, edx
inc edx
add eax, 1
cmp eax, esi
jne fcn.0040894d
sub ebx, 1
inc ebx
ret
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412d00
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x412eaa
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x46
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x19
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xfc
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xfc
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x72
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0x12
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xa5
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x4f
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x45
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x4a
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xad
add esp, 0x40
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x9d
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xd5
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x64
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x66
add esp, 0x30
inc esi
cmp esi, edi
jb 0x412d20
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x451ba9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451bba
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405907
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b052
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b063
pop esi
ret
push ebx
push edi
push esi
call fcn.0049af39
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fda
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b08b
push ebx
push esi
push edi
call fcn.004056fa
add esp, 0xc
push 0
call fcn.00406244
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0xa3b790
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0xa3b7cf
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
pop ebp
ret

Function at 0xa53d42
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a539bf

Function at 0xa5a3f5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a5a26b

Function at 0x402c86
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x402c95
pop dword [ebp - 0xc]
mov eax, 0x402c95
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x4cabd
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x3a662311
sub ecx, 0x3a65e8bd
xor edi, edi
add edi, eax
mov esi, 0x9c8d9f57
add esi, 0x63baeea9
add esi, dword [ebp - 0xc]
mov ebx, 0x1be9c637
add ebx, 0xa18ca1b6
xor dword [ebp - 8], ecx
mov edx, dword [esi]
xor dword [ebp - 8], esi
sub edx, ebx
add dword [ebp - 8], ebx
mov dword [edi], edx
sub dword [ebp - 4], 0xdd89456d
add edi, 4
add esi, 4
loop 0x402cec
add eax, 0xdc23
xor ebx, ebx
add ebx, eax
add eax, 0xaa2289f5
add eax, 0x55dd7610
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x484ce1
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x484a08
sub eax, 1
call fcn.00484d27
mov eax, 0xff475fca
sub ecx, 1
xor dword [esi], edi
add eax, eax
add ecx, 1
add esi, 2
sub ecx, 1
or ecx, eax
add ecx, 0x63509bb
cmp esi, edx
jl fcn.00484ce1
add ecx, eax
ret
Function at 0x1000c5a6
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
push dword [esi + 0x4c]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0xc]
mov ebx, eax
call edi
test eax, eax
je 0x1000c5d0
mov dword [esi + 0x48], 0x2749
xor al, al
jmp 0x1000c688
push 0
push dword [esi + 4]
call edi
cmp eax, 0x80
jne 0x1000c5e7
mov dword [esi + 0x48], 0x2734
jmp 0x1000c5c9
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
and dword [ebx], 0
and dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 1
lea eax, [ebp - 0xc]
push eax
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x1000c645
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x1000c67a
push dword [esi + 0x4c]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1000c67d
and dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0
push ebx
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
je 0x1000c674
mov bl, 1
jmp 0x1000c67f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x48], eax
xor bl, bl
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
pop edi
pop ebx
leave
ret 4
Function at 0x1000c9fc
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1004ac9c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
add edi, 4
mov eax, dword [edi]
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x18], edi
je 0x1000ca28
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov dword [edi], esi
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], esi
call dword [0x1004c000]
cmp dword [ebp + 8], esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], esi
mov ebx, 0x80000000
je 0x1000ca82
push dword [ebp + 8]
call edi
push esi
inc eax
cdq
push 2
push edx
push eax
call fcn.10022c60
mov ecx, eax
add eax, ebx
adc edx, esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], edx
jne 0x1000ca82
cmp eax, 0xffffffff
jbe 0x1000ca87
mov dword [ebp - 0xc], esi
jmp 0x1000cac5
cmp ecx, 0x400
jg 0x1000caa6
push ecx
call fcn.1000cbc5
test al, al
pop ecx
je 0x1000caa6
mov eax, dword [ebp - 0x10]
call fcn.10028090
mov eax, esp
jmp 0x1000cab3
push dword [ebp - 0x10]
lea esi, [ebp - 8]
call fcn.1000cc3a
xor esi, esi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp + 8]
push eax
call fcn.1000cb8d
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], esi
je 0x1000caeb
push dword [ebp + 0xc]
call edi
push esi
inc eax
cdq
push 2
push edx
push eax
call fcn.10022c60
mov edi, eax
add eax, ebx
adc edx, esi
mov dword [ebp - 0x1c], edx
jne 0x1000caeb
cmp eax, 0xffffffff
jbe 0x1000caef
xor eax, eax
jmp 0x1000cb25
cmp edi, 0x400
jg 0x1000cb0d
push edi
call fcn.1000cbc5
test al, al
pop ecx
je 0x1000cb0d
mov eax, edi
call fcn.10028090
mov eax, esp
jmp 0x1000cb18
push edi
lea esi, [ebp - 8]
call fcn.1000cc3a
xor esi, esi
push dword [ebp - 0x14]
push edi
push dword [ebp + 0xc]
push eax
call fcn.1000cb8d
cmp dword [ebp - 0xc], esi
je 0x1000cb4d
cmp eax, esi
je 0x1000cb4d
push dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
push ecx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
lea ecx, [ebp - 8]
mov esi, eax
call fcn.1000cb74
mov eax, esi
jmp 0x1000cb60
push 8
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [ebp - 8]
call fcn.1000cb74
or eax, 0xffffffff
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001f81d
leave
ret 8
Function at 0x1000cd39
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
xor ebx, ebx
cmp byte [esi + 0x44], bl
je 0x1000cd4b
mov al, 1
jmp 0x1000cdbd
mov eax, dword [esi + 0x40]
cmp eax, 0xffffffff
mov byte [ebp - 1], 1
jne 0x1000cd5b
xor al, al
jmp 0x1000cdbd
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_WSAConnect]
test eax, eax
je 0x1000cdb7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1000cdb1
push dword [esi + 0x4c]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1000cdb4
push 0x2c
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.100207b0
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
push ebx
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x1000cdb7
mov dword [esi + 0x48], eax
mov byte [ebp - 1], bl
mov al, byte [ebp - 1]
mov byte [esi + 0x44], al
pop ebx
leave
ret 8

Function at 0x1000cdc2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 8]
push 0
push str.ProxyServer
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000ce27
cmp dword [ebp + 8], 1
je 0x1000ce00
cmp dword [ebp + 8], 2
je 0x1000ce00
push 0xd
pop eax
jmp 0x1000ce27
test edi, edi
mov eax, dword [ebp - 4]
je 0x1000ce21
test eax, eax
je 0x1000ce1d
test al, 1
jne 0x1000cdfb
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x1000ce21
jmp 0x1000cdfb
and word [edi], 0
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 4
Function at 0x1000cf9e
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
push dword [esi + 0x4c]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0xc]
call edi
test eax, eax
je 0x1000cfc5
mov dword [esi + 0x48], 0x2749
xor al, al
jmp 0x1000d06c
push ebx
xor ebx, ebx
push ebx
push dword [esi + 8]
call edi
cmp eax, 0x102
jne 0x1000cfe3
mov dword [esi + 0x48], 0x2734
xor al, al
jmp 0x1000d06b
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
lea eax, [esi + 0x28]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 8]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
je 0x1000d02b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x1000d05d
push dword [esi + 0x4c]
push dword [esi + 8]
call edi
test eax, eax
jne 0x1000d060
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x40]
mov dword [ebp + 0xc], ebx
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
je 0x1000d057
mov bl, 1
jmp 0x1000d060
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x48], eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
pop ebx
pop edi
leave
ret 0xc
Function at 0x1000dce2
Capabilities:
Send data
Send http request

Disassembly:
push 0xc
mov eax, 0x10036db1
call fcn.10020357
mov esi, ecx
mov eax, esi
call fcn.1000de7c
test eax, eax
je 0x1000dd0f
mov dword [esi + 0x34f4], 4
mov eax, 0x80004005
jmp 0x1000de74
call fcn.10012981
push eax
lea ecx, [ebp - 0x14]
call fcn.1000c768
xor edi, edi
mov dword [ebp - 4], edi
mov byte [ebp - 4], 1
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.1000d071
push str.Content_Type:_text_xml__charsetutf_8_r_n
lea ecx, [ebp - 0x14]
call fcn.1000d071
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x2454]
mov ecx, dword [esi + 0x2494]
sub eax, 3
neg eax
sbb eax, eax
push edi
and eax, 0xff800000
add eax, 0x800000
or eax, 0x400200
push eax
push 0x1004ca94
push edi
push str.HTTP_1.0
push ecx
push str.POST
push dword [esi + 0x34fc]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
cmp eax, edi
mov ebx, dword [ebp - 0x14]
mov dword [esi + 0x3500], eax
je 0x1000de47
mov ecx, dword [esi + 0x2474]
mov edx, dword [ecx - 0xc]
mov edi, dword [ebx - 0xc]
push edx
push ecx
push edi
push ebx
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x1000de51
mov eax, dword [esi + 0x3500]
push esi
mov dword [esi + 0x247c], eax
call fcn.1001021a
cmp eax, 0x1f4
je 0x1000ddda
lea ecx, [ebx - 0x10]
call fcn.1000c74e
xor eax, eax
jmp 0x1000de74
and dword [ebp + 8], 0
mov dword [esi + 0x34f4], 7
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
test eax, eax
jl 0x1000de34
mov byte [ebp - 4], 4
mov edx, dword [ebp + 8]
lea edi, [esi + 0x2478]
lea eax, [esi + 0x3504]
push eax
mov ecx, edi
mov dword [ebp - 0x18], edi
call fcn.1000d2bd
test eax, eax
jge 0x1000de26
mov dword [esi + 0x34f4], 8
test edi, edi
mov byte [ebp - 4], 3
je 0x1000de34
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x1000de51
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1000de51
mov dword [esi + 0x34f4], 5
lea ecx, [ebx - 0x10]
call fcn.1000c74e
jmp 0x1000dd05
call fcn.100203fc
ret 4
Function at 0x1000de7c
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
push edi
mov edi, eax
xor ebp, ebp
cmp dword [edi + 0x34fc], ebp
je 0x1000de91
xor eax, eax
jmp 0x1000df2e
mov edx, dword [edi + 0x2480]
mov eax, dword [edx - 0xc]
mov ecx, eax
neg ecx
sbb ecx, ecx
push ebp
and ecx, edx
neg eax
push ebp
sbb eax, eax
push ecx
and eax, 3
push eax
push str.VCSoapClient
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, ebp
mov dword [edi + 0x34f8], eax
je 0x1000df24
push ebx
lea ebx, [edi + 0x2484]
cmp dword [ebx], ebp
je 0x1000def7
push esi
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
push ebx
push 2
push eax
call esi
push 4
push ebx
push 6
push dword [edi + 0x34f8]
call esi
push 4
push ebx
push 5
push dword [edi + 0x34f8]
call esi
pop esi
movzx eax, word [edi + 0x2450]
push ebp
push ebp
push 3
push ebp
push ebp
push eax
lea eax, [edi + 0x46]
push eax
push dword [edi + 0x34f8]
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, ebp
mov dword [edi + 0x34fc], eax
pop ebx
jne 0x1000de8a
call fcn.1000df31
mov eax, 0x80004005
pop edi
pop ebp
ret

Function at 0x1000e561
Capabilities:
Initialize winsock library

Disassembly:
push ebx
push edi
lea edx, [esi + 0x10]
push 6
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, edx
call fcn.1000e5e8
xor ebx, ebx
cmp eax, ebx
jge 0x1000e582
push eax
call fcn.1000fc6d
lea edx, [esi + 0x28]
push 6
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, edx
call fcn.1000e5e8
cmp eax, ebx
jl 0x1000e57c
or dword [esi + 0x40], 0xffffffff
mov dword [esi], 1
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov byte [esi + 0x44], bl
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 0x2710
cmp dword [0x1004cce0], ebx
je 0x1000e5d3
push 0x1004cb50
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [0x1004cce0], eax
pop edi
mov eax, esi
pop ebx
ret

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

Disassembly:
push dword [esp + 0x10]
mov eax, dword [esp + 8]
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [eax + 4]
call dword [sym.imp.WININET.dll_InternetReadFile]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
ret 0x10
Function at 0x100111cc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x1004ac9c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x10011209
push 0x10039688
push 4
push eax
call fcn.1002072a
push eax
call fcn.1000886d
add esp, 0x10
jmp 0x1001121b
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10011286
push edi
call fcn.1001e7f5
mov edi, dword [eax]
call fcn.1001e7f5
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.1001d562
add esp, 0x18
mov ebx, eax
call fcn.1001e7f5
cmp dword [eax], 0
je 0x10011266
call fcn.1001e7f5
push dword [eax]
call fcn.1001112f
pop ecx
jmp 0x1001126d
call fcn.1001e7f5
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x10011286
cmp ebx, esi
jae 0x10011286
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x10011288
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1001f81d
leave
ret
Function at 0x1001f81d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1004ac9c]
jne 0x1001f827
repz ret
jmp fcn.1002ad15

Function at 0x100281cd
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x1004b548]
je 0x100281e8
inc edi
cmp edi, 0x17
jb 0x100281d9
cmp edi, 0x17
jae 0x10028368
push ebp
push 3
call fcn.100316c7
cmp eax, 1
pop ecx
je 0x10028334
push 3
call fcn.100316c7
test eax, eax
pop ecx
jne 0x1002821c
cmp dword [0x1004eeac], 1
je 0x10028334
cmp ebx, 0xfc
je 0x10028367
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x1004f0c0
push ebp
call fcn.10027c25
add esp, 0xc
test eax, eax
je 0x10028252
push esi
push esi
push esi
push esi
push esi
call fcn.10023ebf
add esp, 0x14
push 0x104
mov esi, 0x1004f0d9
push esi
push 0
mov byte [0x1004f1dd], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10028296
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.10027c25
add esp, 0xc
test eax, eax
je 0x10028296
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.10023ebf
add esp, 0x14
push esi
call fcn.1002e320
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x100282db
push esi
call fcn.1002e320
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x1004f3d4
push 0x1003b3fc
sub ecx, eax
push ecx
push eax
call fcn.1002e266
add esp, 0x14
test eax, eax
je 0x100282db
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.10023ebf
add esp, 0x14
jmp 0x100282dd
xor esi, esi
push 0x1003b3f8
push ebx
push ebp
call fcn.1002e1a2
add esp, 0xc
test eax, eax
je 0x100282fd
push esi
push esi
push esi
push esi
push esi
call fcn.10023ebf
add esp, 0x14
push dword [edi*8 + 0x1004b54c]
push ebx
push ebp
call fcn.1002e1a2
add esp, 0xc
test eax, eax
je 0x1002831f
push esi
push esi
push esi
push esi
push esi
call fcn.10023ebf
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.1003150a
add esp, 0xc
jmp 0x10028367
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x10028367
cmp ebp, 0xffffffff
je 0x10028367
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x1004b54c]
push dword [esi]
call fcn.1002e320
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret