joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c63c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x434210
call fcn.0041c8ac
sub esp, 0x418
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x424], ebx
mov byte [ebp - 4], 1
cmp dword [ebp + 8], ebx
je 0x40c6d1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040265b
add esp, 0xc
test eax, eax
js 0x40c6d1
mov esi, dword [ebp - 0x14]
cmp esi, 0x400
jg 0x40c6b5
push esi
call fcn.00403576
pop ecx
test al, al
je 0x40c6b5
mov eax, esi
call fcn.0041c920
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x40c6c1
push esi
lea ecx, [ebp - 0x18]
call fcn.00403a92
mov edi, dword [ebp - 0x18]
push 3
push esi
push dword [ebp + 8]
push eax
call fcn.00401f18
cmp eax, ebx
jne 0x40c703
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x40c6f5
lea ecx, [ebp - 0x424]
call fcn.0040b159
jmp 0x40c6f5
push edi
mov edi, dword [edi]
call fcn.0041c94c
pop ecx
cmp edi, ebx
jne 0x40c6ec
mov eax, 0x8007000e
jmp 0x40c801
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x40c722
call fcn.00404b30
mov esi, eax
jmp 0x40c7d7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x40c73f
call fcn.00404b30
jmp 0x40c7cc
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x40c735
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp + 8], esi
cmp eax, esi
jae 0x40c769
mov esi, 0x8007000e
jmp 0x40c7ce
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 2
call fcn.0040ba5b
mov dword [ebp - 4], 1
jmp 0x40c795
cmp dword [ebp - 0x424], 0
je 0x40c762
push esi
push dword [ebp + 0x10]
push esi
push dword [ebp - 0x424]
call fcn.004026c2
mov eax, dword [ebp - 0x424]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], 0
push dword [ebp - 0x424]
lea ecx, [ebp - 0x20]
call fcn.0040c53f
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x40c7fb
lea ecx, [ebp - 0x424]
call fcn.0040b159
jmp 0x40c7fb
push edi
mov edi, dword [edi]
call fcn.0041c94c
pop ecx
test edi, edi
jne 0x40c7f2
mov eax, esi
lea esp, [ebp - 0x430]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x40d133
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
cmp edi, ebx
jne 0x40d14c
push 0x80004005
call fcn.00401402
mov esi, dword [ebp + 8]
push edi
push esi
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp + 0x10], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp esi, ebx
je 0x40d19b
mov ecx, dword [edi]
cmp ecx, ebx
jbe 0x40d199
cmp dword [ebp + 0x10], ebx
jbe 0x40d196
cmp dword [ebp + 0x10], 2
jbe 0x40d1a2
cmp dword [ebp + 0x10], 7
jne 0x40d196
cmp ecx, 1
jb 0x40d196
lea edx, [ecx + esi]
cmp byte [edx - 1], bl
jne 0x40d196
cmp ecx, 1
jbe 0x40d19b
cmp byte [edx - 2], bl
je 0x40d19b
push 0xd
pop eax
mov byte [esi], bl
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
cmp byte [ecx + esi - 1], bl
jmp 0x40d194
Function at 0x40e06c
Capabilities:
Create thread
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
call fcn.00419971
test eax, eax
jne 0x40e07d
leave
ret
push ebx
push 4
pop eax
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 4]
push ebx
push eax
mov dword [ebp - 8], ebx
call fcn.00417e18
pop ecx
pop ecx
test eax, eax
jne 0x40e0a8
inc eax
jmp 0x40e1c5
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x437ba4
push dword [ebp - 4]
call edi
neg eax
sbb eax, eax
inc eax
jne 0x40e0fc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x437bb4
push dword [ebp - 4]
call edi
neg eax
sbb eax, eax
inc eax
jne 0x40e0fc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x40e1c4
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x437bc4
push dword [ebp - 4]
call edi
neg eax
sbb esi, esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x437bd0
push dword [ebp - 4]
inc esi
call edi
neg eax
sbb eax, eax
inc eax
cmp esi, ebx
jne 0x40e176
cmp eax, ebx
jne 0x40e176
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x437bdc
push dword [ebp - 4]
call esi
push 0x437bec
push dword [ebp - 4]
call esi
push 0x437c00
push dword [ebp - 4]
call esi
push 0x437c14
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e187
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x447fbc], ebx
je 0x40e18c
xor eax, eax
inc eax
jmp 0x40e1c3
xor esi, esi
inc esi
cmp dword [ebp + 8], ebx
jne 0x40e1b5
push 0x447fbc
push ebx
push ebx
push fcn.0040de1f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x40e1c1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40e1c1
push ebx
mov dword [0x447fbc], esi
call fcn.0040de1f
mov eax, esi
pop esi
pop edi
pop ebx
leave
ret
Function at 0x40e292
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push 0x437d40
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], 3
call esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x437d44
xor edi, edi
push edi
call fcn.00418f2f
call fcn.0041138a
push str.country_code_is_deleted_after_checker_fail_to_download
call fcn.0041866b
add esp, 0x14
push 0x4373ef
lea eax, [ebp - 0x208]
push eax
mov dword [ebp - 4], 0x100
call esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x208]
push eax
push 0x437d84
push edi
call fcn.00418f2f
add esp, 0x10
push 0x437d94
lea eax, [ebp - 0x108]
push eax
call esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x108]
push eax
push str.InstalledJREVersion
push edi
mov dword [ebp - 4], 0x80
call fcn.00418f2f
add esp, 0x10
push 0x437dac
lea eax, [ebp - 0x88]
push eax
call esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x88]
push eax
push 0x437db0
push edi
mov dword [ebp - 4], 0x80
call fcn.00418f2f
push edi
push edi
push edi
push edi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x88]
push edi
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 8]
push eax
push 0x437dc0
lea eax, [ebp - 0x208]
push edi
push eax
call fcn.0041a5f3
add esp, 0x48
pop edi
pop esi
leave
ret
Function at 0x40f7ad
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push 0x45c
push 0x4419b8
call fcn.0041cd30
xor ebx, ebx
inc ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x30], 4
xor esi, esi
push esi
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x40f7e1
mov eax, ebx
jmp 0x40f928
push str.http:__www.oracle.com
push 0x437ef8
lea eax, [ebp - 0x16c]
push eax
call fcn.0041be2a
add esp, 0xc
mov dword [ebp - 4], esi
push esi
push esi
push esi
push esi
push 0x437efc
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x24], eax
cmp eax, esi
je 0x40f91c
push 0x3c
pop edi
push edi
push esi
lea eax, [ebp - 0x6c]
push eax
call fcn.0041bdb0
add esp, 0xc
mov dword [ebp - 0x6c], edi
lea eax, [ebp - 0x36c]
mov dword [ebp - 0x5c], eax
mov eax, 0x100
mov dword [ebp - 0x58], eax
xor ecx, ecx
mov word [ebp - 0x54], cx
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x46c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x6c]
push eax
push esi
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push esi
push esi
push 3
push 0x437e12
push 0x437e13
push dword [ebp - 0x54]
push dword [ebp - 0x5c]
push dword [ebp - 0x24]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x2c], eax
cmp eax, esi
je 0x40f91c
push esi
push 0x4400000
push esi
push 0x437e1a
push 0x437f04
lea ecx, [ebp - 0x26c]
push ecx
push 0x437f10
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
mov dword [ebp - 0x28], edi
cmp edi, esi
je 0x40f91c
push esi
push esi
push esi
push esi
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x40f8f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x2ee2
je 0x40f8f1
sub eax, 5
je 0x40f8f1
sub eax, 0x16
jne 0x40f8f4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
push esi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x20000013
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x40f91c
cmp dword [ebp - 0x20], 0x197
jne 0x40f91c
mov dword [ebp - 0x1c], ebx
or dword [ebp - 4], 0xffffffff
call fcn.0040f930
mov eax, dword [ebp - 0x1c]
call fcn.0041cd6b
ret
Function at 0x410230
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esi + 0x728]
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextA]
test eax, eax
jle 0x41025f
lea eax, [esi + 0x728]
push eax
push dword [esi + 4]
call ebx
lea eax, [esi + 0x28]
push eax
call edi
test eax, eax
jne 0x410280
push 0x400
lea eax, [esi + 0x28]
push eax
push 0x7e
push dword [0x4480d4]
call dword [sym.imp.USER32.dll_LoadStringA]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x98
push dword [esi + 4]
call edi
lea ecx, [esi + 0x28]
push ecx
push eax
call ebx
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xcc
push dword [esi + 4]
mov dword [esi + 0x7c8], eax
xor eax, eax
mov dword [esi + 0x7a8], eax
mov dword [esi + 0x7cc], eax
mov dword [esi + 0x7d0], eax
call edi
push 0xfffffffffffffff0
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x100
push eax
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xc9
push dword [esi + 4]
call edi
mov dword [ebp - 4], eax
lea eax, [esi + 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x41031b
push 0x100
lea eax, [esi + 0x428]
push eax
push 0x7b
push dword [0x4480d4]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [esi + 0x428]
push eax
push dword [ebp - 4]
call ebx
lea eax, [esi + 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x41034c
push 0xcc
push dword [esi + 4]
call edi
lea ecx, [esi + 0x628]
push ecx
push eax
call ebx
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x7d4], eax
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push dword [esi + 0x7d4]
mov dword [esi + 0x7d8], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [esi + 0x7d8]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 8]
push eax
xor ebx, ebx
push ebx
push esi
push 0x4101ce
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x4103aa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
neg eax
pop edi
sbb eax, eax
pop esi
inc eax
pop ebx
leave
ret 0x10
Function at 0x41138a
Capabilities:
Get geographical location

Disassembly:
push esi
push 0
push 0x43846c
push 0
call fcn.00417e71
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4113ad
push str.Country_Code_deleted
call fcn.0041866b
pop ecx
mov eax, esi
pop esi
ret

Function at 0x41159a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push esi
push edi
lea eax, [ebp - 8]
push eax
push 1
push 0
push 0x4384c4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411667
mov byte [ebp - 0x40c], al
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x4384ec
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
jbe 0x411667
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x40c]
push eax
call esi
test eax, eax
je 0x411667
lea eax, [ebp - 0x40c]
push eax
call esi
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x41162b
xor eax, eax
jmp 0x411645
lea eax, [esi + esi]
call fcn.0041c920
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x40c]
push ecx
push eax
call fcn.00401a30
mov esi, dword [ebp + 8]
push esi
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
xor eax, eax
push 4
pop ecx
mov edi, 0x43bb6c
repe cmpsd dword [esi], dword es:[edi]
setne al
dec eax
and eax, 0x80004005
jmp 0x41166c
mov eax, 0x80004005
lea esp, [ebp - 0x414]
pop edi
pop esi
leave
ret

Function at 0x411676
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0x2001f
push 0
push 0x4384fc
mov esi, 0x80004005
push reloc.OLEAUT32.dll_SysReAllocString
mov ebx, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4116ab
mov eax, esi
jmp 0x41174d
mov esi, dword [ebp + 8]
push 4
pop ecx
mov edi, 0x43bb6c
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x4116d2
push 0x438524
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x411742
xor ebx, ebx
jmp 0x411742
and dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov ebx, eax
test ebx, ebx
js 0x411733
mov edi, dword [ebp - 4]
test edi, edi
je 0x4116fe
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x411702
xor eax, eax
jmp 0x411718
lea esi, [eax + eax]
mov eax, esi
call fcn.0041c920
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00401f18
push 4
push eax
push 1
push 0
push 0x438534
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x411733
xor ebx, ebx
cmp dword [ebp - 4], 0
je 0x411742
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4122d6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x2001f
xor ebx, ebx
push ebx
push 0x438940
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x412305
mov eax, 0x80004005
jmp 0x4124d7
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 0x108]
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x412315
sub eax, ecx
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push ebx
push 0x438968
push dword [ebp - 4]
call esi
lea ecx, [edi + 0x988]
mov eax, ecx
lea edx, [eax + 1]
mov dword [ebp + 8], edx
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x412341
sub eax, dword [ebp + 8]
push eax
push ecx
push 1
push ebx
push 0x438978
push dword [ebp - 4]
call esi
lea ecx, [edi + 0x588]
mov eax, ecx
lea edx, [eax + 1]
mov dword [ebp + 8], edx
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x412368
sub eax, dword [ebp + 8]
push eax
push ecx
push 1
push ebx
push 0x438988
push dword [ebp - 4]
call esi
lea ecx, [edi + 0x208]
mov eax, ecx
lea edx, [eax + 1]
mov dword [ebp + 8], edx
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41238f
sub eax, dword [ebp + 8]
push eax
push ecx
push 1
push ebx
push 0x43899c
push dword [ebp - 4]
call esi
lea eax, [edi + 0x1408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x4123e0
lea eax, [edi + 0x1408]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4123c2
sub eax, ecx
push eax
lea eax, [edi + 0x1408]
push eax
push 1
push ebx
push 0x4389b0
push dword [ebp - 4]
call esi
lea eax, [edi + 0x1008]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x412418
lea eax, [edi + 0x1008]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4123fa
sub eax, ecx
push eax
lea eax, [edi + 0x1008]
push eax
push 1
push ebx
push 0x4389c0
push dword [ebp - 4]
call esi
lea eax, [edi + 0xd88]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x412450
lea eax, [edi + 0xd88]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x412432
sub eax, ecx
push eax
lea eax, [edi + 0xd88]
push eax
push 1
push ebx
push 0x4389cc
push dword [ebp - 4]
call esi
lea eax, [edi + 0xf88]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x412488
lea eax, [edi + 0xf88]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41246a
sub eax, ecx
push eax
lea eax, [edi + 0xf88]
push eax
push 1
push ebx
push 0x4389dc
push dword [ebp - 4]
call esi
lea eax, [edi + 0xe88]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x4124c0
lea eax, [edi + 0xe88]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4124a2
sub eax, ecx
push eax
lea eax, [edi + 0xe88]
push eax
push 1
push ebx
push 0x4389e8
push dword [ebp - 4]
call esi
push dword [ebp - 4]
mov ecx, edi
call fcn.0041220a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
pop ebx
leave
ret 4
Function at 0x41259b
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
push 0x4000000
push edi
push 0x438a1a
mov esi, ecx
push 0x438db4
lea eax, [esi + 0x960]
push eax
push dword [ebp + 8]
push dword [esi + 0x808]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [esi + 0x80c], eax
cmp eax, edi
jne 0x412618
mov ecx, dword [esi + 0x810]
push 3
call fcn.00412c38
test eax, eax
je 0x412605
push str.Unable_to_perform_HttpOpenRequest
push 0x438de4
push 0x58
push 0x438e0c
push dword [esi + 0x810]
call fcn.0041776d
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00412536
jmp 0x4126c6
push 0x438e30
push dword [ebp + 8]
call fcn.0041e4f0
pop ecx
pop ecx
test eax, eax
je 0x41267c
push edi
push edi
push edi
push edi
push dword [esi + 0x80c]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x4126c4
mov ecx, dword [esi + 0x810]
push 3
call fcn.00412c38
test eax, eax
je 0x412605
push 0x60
push 0x438e38
push str.Unable_to_perform_HttpGet_HeadRequest__s_line__d
push 0x438e90
push 0x60
push 0x438eb8
push dword [esi + 0x810]
call fcn.0041776d
add esp, 0x1c
jmp 0x412605
push dword [esi + 0x800]
push esi
push edi
push edi
push dword [esi + 0x80c]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x4126c4
mov ecx, dword [esi + 0x810]
push 3
call fcn.00412c38
test eax, eax
je 0x412605
push 0x68
push 0x438edc
push str.Unable_to_perform_HttpPostRequest__s_line__d
push str._SendRequest_HTMLwrappers__QAEHPBD_Z
push 0x68
push 0x438f58
jmp 0x41266c
xor eax, eax
pop edi
pop esi
pop ebp
ret 4
Function at 0x4126cc
Capabilities:
Check http status code
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
mov esi, ecx
push 0x20000013
push dword [esi + 0x80c]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x412730
mov ecx, dword [esi + 0x810]
push 3
call fcn.00412c38
test eax, eax
je 0x4127bc
push 0x79
push 0x438f7c
push str.Unable_to_get_header_information__s_line__d
push 0x438fcc
push 0x79
push 0x438ff0
jmp 0x4127ae
cmp dword [ebp - 8], 0xc8
mov dword [ebp - 4], ebx
jne 0x412782
mov edi, dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
jmp 0x412765
mov eax, dword [ebp - 0xc]
add dword [ebp - 4], eax
lea ecx, [ebp - 0x14]
push ecx
push eax
push esi
push dword [esi + 0x80c]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4127bc
cmp dword [ebp - 0x14], ebx
je 0x412779
push ebx
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [esi + 0x80c]
call edi
test eax, eax
jne 0x412744
jmp 0x4127bc
mov eax, dword [ebp - 4]
mov byte [eax + esi], bl
push ebx
jmp 0x4127c3
mov ecx, dword [esi + 0x810]
push 3
call fcn.00412c38
test eax, eax
je 0x4127bc
mov eax, 0x9f
push eax
push 0x439014
push str.Error_getting_response__s_line__d
push str._GetResponse_HTMLwrappers__QAEHXZ
push eax
push 0x439080
push dword [esi + 0x810]
call fcn.0041776d
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00412536
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4127cf
Capabilities:
Connect to http server
Create http request
Parse url

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0
mov esi, ecx
call fcn.00412536
mov edi, dword [ebp + 8]
cmp dword [edi + 0x10], 0
jne 0x41281e
mov ecx, dword [esi + 0x810]
push 3
call fcn.00412c38
test eax, eax
je 0x412816
push str.URL_specified_is_empty
push 0x438b48
push 0x29
push 0x438b24
push dword [esi + 0x810]
call fcn.0041776d
add esp, 0x14
xor eax, eax
inc eax
jmp 0x412973
push ebx
push 0x3c
lea ebx, [esi + 0x814]
push 0
push ebx
call fcn.0041bdb0
lea eax, [esi + 0x850]
mov dword [esi + 0x818], eax
add esp, 0xc
lea eax, [esi + 0x860]
mov dword [esi + 0x824], eax
push 0x10
mov eax, 0x100
pop ecx
lea edx, [esi + 0x960]
mov dword [ebx], 0x3c
mov dword [esi + 0x81c], ecx
mov dword [esi + 0x828], eax
mov dword [esi + 0x840], edx
mov dword [esi + 0x844], eax
mov eax, dword [edi + 0x10]
cmp dword [edi + 0x14], ecx
jb 0x412880
mov edi, dword [edi]
push ebx
xor ebx, ebx
push ebx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x4128cf
mov ecx, dword [esi + 0x810]
push 3
call fcn.00412c38
test eax, eax
je 0x4128c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_Cracking_the_URL__d
push 0x438bf0
push 0x38
push 0x438bcc
push dword [esi + 0x810]
call fcn.0041776d
add esp, 0x18
xor eax, eax
inc eax
jmp 0x412972
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 0x804], eax
cmp eax, ebx
jne 0x41290a
mov ecx, dword [esi + 0x810]
push 3
call fcn.00412c38
test eax, eax
je 0x412960
push str.Unable_to_perform_InternetOpen
push 0x438c78
push 0x41
push 0x438ce0
jmp 0x412952
movzx ecx, word [esi + 0x82c]
push ebx
push ebx
push 3
push ebx
push ebx
push ecx
lea ecx, [esi + 0x860]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 0x808], eax
cmp eax, ebx
jne 0x412970
mov ecx, dword [esi + 0x810]
push 3
call fcn.00412c38
test eax, eax
je 0x412960
push str.Unable_to_perform_InternetConnect
push str._InitConnection_HTMLwrappers__QAEHABV__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__PBD_Z
push 0x4a
push 0x438d90
push dword [esi + 0x810]
call fcn.0041776d
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00412536
jmp 0x412972
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret 8