joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5724c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x572527
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.user32.dll_GetWindowTextLengthW
mov ebx, eax
lea edi, [ebx + 1]
mov edx, edi
lea eax, [ebp - 4]
call fcn.00408240
push edi
mov eax, dword [ebp - 4]
call fcn.00407f40
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00407eb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57252e
lea eax, [ebp - 4]
call fcn.00407ea4
ret

Function at 0x579f18
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
push 0x40
push 0x1000
push pe_nt_image_headers32
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x579fa2
xor edx, edx
push ebp
push 0x579f83
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax], 0x448b5050
mov dword [eax + 4], 0x44890824
mov dword [eax + 8], 0x58b0424
lea edx, [ebx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0x8244489
mov dword [eax + 0x14], 0x25ff9058
mov dword [eax + 0x18], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x579fa2
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x57b36c
Capabilities:
Query or enumerate registry value

Disassembly:
add esp, 0xfffffecc
cmp byte [0x745744], 0
jne 0x57b449
mov byte [0x745744], 1
xor eax, eax
mov dword [0x74572c], eax
mov dword [esp + 0xc], 0x114
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 0x10], 3
ja 0x57b3b4
cmp dword [esp + 0x10], 3
jne 0x57b41f
cmp dword [esp + 0x14], 0x33
jbe 0x57b41f
mov dword [esp + 4], 0x12
push esp
push 0x20019
push 0
push 0x57b450
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x57b449
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 0x57b4b0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x57b449
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp word [esp + 0x120], 0x31
jne 0x57b449
cmp word [esp + 0x122], 0
jne 0x57b449
jmp 0x57b434
push 0
push 0x57b4b0
push 0x57b4bc
call sub.kernel32.dll_GetProfileIntW
test eax, eax
je 0x57b449
mov eax, dword [0x745728]
call fcn.00407f40
push eax
call sub.kernel32.dll_LoadLibraryW
mov dword [0x74572c], eax
add esp, 0x134
ret
Function at 0x57f61c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040b1b4
mov eax, dword [ebp + 8]
call fcn.00407e9c
xor eax, eax
push ebp
push 0x57f771
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
test dword [eax], 0xe8fc458b
push ebp
out 0xff, al
inc dword [eax + eax*8 + 0xe8840f]
add byte [eax], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57f778
lea eax, [ebp - 8]
call fcn.0040b140
lea eax, [ebp - 4]
call fcn.0040b140
lea eax, [ebp + 8]
call fcn.00407ea4
ret
Function at 0x5805f8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407e9c
xor eax, eax
push ebp
push 0x5807f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
mov dl, 1
mov eax, dword [0x459168]
call fcn.0045b2c4
mov dword [ebp - 0x18], eax
xor edx, edx
push ebp
push 0x5807c9
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0x18]
call fcn.0045b3ac
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, 0x580818
call fcn.00408398
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp - 0x18]
call fcn.0045b4f4
lea ecx, [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.0045bf24
mov eax, dword [ebp - 0x18]
call fcn.0045b37c
push 0x580818
push dword [ebp - 4]
push 0x580848
push dword [ebp - 8]
push 0x580858
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.0040847c
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp - 0x18]
call fcn.0045b4f4
lea ecx, [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.0045bf24
mov eax, dword [ebp - 0x18]
call fcn.0045b37c
cmp dword [ebp - 8], 0
je 0x5807b3
mov edx, dword [ebp - 8]
mov eax, 0x58088c
call fcn.00408a14
test eax, eax
jle 0x580769
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x58088c
call fcn.00408a14
mov ecx, eax
sub ecx, 2
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004086a4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x580723
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x580723
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.00406fa8
mov ebx, eax
test ebx, ebx
je 0x58072e
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 8]
test eax, eax
je 0x58074b
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x58074b
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.00406fa8
mov esi, eax
test esi, esi
je 0x580756
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0xc]
push eax
lea edx, [ebx + 1]
mov ecx, esi
mov eax, dword [ebp - 8]
call fcn.004086a4
jmp 0x58077e
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00407f08
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00407f08
mov byte [ebp - 0x11], 1
push 5
push 0x580890
mov eax, dword [ebp - 0xc]
call fcn.00407f40
push eax
mov eax, dword [ebp - 0x10]
call fcn.00407f40
push eax
push 0x580894
mov eax, dword [0x74eea4]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5807d0
mov eax, dword [ebp - 0x18]
call fcn.004059f4
ret
Function at 0x5808a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov ebx, ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040b1b4
xor eax, eax
push ebp
push 0x5809f6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x230]
call fcn.0040b140
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
call fcn.0040b250
mov eax, dword [ebp - 0x230]
call fcn.0057dcb0
test al, al
je 0x5809c2
test bl, bl
je 0x58093a
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push 2
push 7
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xd8]
call fcn.0040b250
jmp 0x580957
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push 7
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xd8]
call fcn.0040b250
xor esi, esi
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
call sub.user32.dll_GetForegroundWindow
mov ebx, eax
push 0x200
lea eax, [ebp - 0x22c]
push eax
push ebx
call sub.user32.dll_GetClassNameW
mov eax, 0x580a10
call fcn.00407f40
push eax
lea eax, [ebp - 0x22c]
push eax
call sub.kernel32.dll_lstrcmpW
test eax, eax
jne 0x580996
mov esi, ebx
mov eax, dword [0x74eea4]
mov eax, dword [eax]
call fcn.00524ddc
call sub.kernel32.dll_GetTickCount_1
test esi, esi
jne 0x5809b4
sub eax, edi
cmp eax, 0x1b58
jbe 0x580960
test esi, esi
je 0x5809c2
mov eax, dword [ebp - 0x2c]
push eax
push esi
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5809fd
lea eax, [ebp - 0x230]
call fcn.0040b140
lea eax, [ebp - 0x28]
mov edx, dword [0x4012a8]
mov ecx, 2
call fcn.00408df0
lea eax, [ebp - 4]
call fcn.0040b140
ret

Function at 0x581a68
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00407e9c
xor eax, eax
push ebp
push 0x581ab8
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00407f40
push eax
push 0x581ac4
push ebx
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x581abf
lea eax, [ebp - 4]
call fcn.00407ea4
ret
Function at 0x582410
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407e9c
mov eax, dword [ebp - 8]
call fcn.00407e9c
xor eax, eax
push ebp
push 0x58249e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x582477
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00407f40
push eax
mov eax, dword [ebp - 4]
call fcn.00407f40
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileW
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x582483
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5824a5
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407eac
ret

Function at 0x582a8c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.004050e0
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x104
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], 1
mov eax, 0x104
call fcn.00416ec0
mov ebx, eax
xor eax, eax
push ebp
push 0x582b13
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor ecx, ecx
mov edx, 0x208
call fcn.004050e0
push 0xffffffffffffffff
push esi
push ebx
mov eax, dword [ebp - 0x38]
push eax
call sub.shell32.dll_SHGetSpecialFolderPathW
test eax, eax
je 0x582afd
mov dword [ebp - 4], ebx
jmp 0x582b05
mov eax, 0x582b24
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x582b1a
ret
Function at 0x582b28
Capabilities:
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407e9c
xor eax, eax
push ebp
push 0x582c47
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryW
mov eax, dword [ebp - 0xc]
call fcn.00404598
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryW
mov esi, eax
test esi, esi
je 0x582ba6
lea eax, [ebp - 0x10]
mov edx, dword [ebx + 4]
call fcn.00408070
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0040863c
jne 0x582ba6
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 8]
call fcn.00408070
mov eax, ebx
call fcn.004045b4
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x582c24
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push esi
call sub.wininet.dll_FindNextUrlCacheEntryW
call sub.kernel32.dll_GetLastError_1
mov edi, eax
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x7a
jne 0x582c1c
mov eax, dword [ebp - 0xc]
call fcn.00404598
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
call sub.wininet.dll_FindNextUrlCacheEntryW
test eax, eax
je 0x582c15
lea eax, [ebp - 0x14]
mov edx, dword [ebx + 4]
call fcn.00408070
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0040863c
jne 0x582c15
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 8]
call fcn.00408070
jmp 0x582c24
mov eax, ebx
call fcn.004045b4
cmp edi, 0x103
jne 0x582bb5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x582c4e
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407eac
lea eax, [ebp - 4]
call fcn.00407ea4
ret
Function at 0x583000
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe48
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x1b8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x58317a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x1a4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x583057
mov eax, dword [ebp - 0x10]
mov edx, 0x583198
call fcn.00407eb4
jmp 0x583159
xor eax, eax
push ebp
push 0x583152
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x58308d
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, 0x104
call fcn.00407708
push 0x104
mov eax, dword [ebp - 4]
call fcn.00407494
push eax
call sub.wsock32.dll_gethostname
mov eax, dword [ebp - 4]
call fcn.00407494
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
test ebx, ebx
je 0x5830fe
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004080e0
mov eax, dword [esi]
call fcn.00407f40
call fcn.004169f8
mov edx, eax
mov eax, esi
call fcn.00408240
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x1b0], eax
push dword [ebp - 0x1b0]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x1b8]
mov ecx, 0
call fcn.004070a0
mov edx, dword [ebp - 0x1b8]
mov eax, dword [ebp - 8]
call fcn.004080e0
mov byte [ebp - 0x11], 1
jmp 0x58313f
call sub.wsock32.dll_WSAGetLastError
sub eax, 0x2734
je 0x583132
sub eax, 0xe
je 0x583123
sub eax, 0x2b
jne 0x58313f
mov eax, dword [ebp - 0x10]
mov edx, 0x5831dc
call fcn.00407eb4
jmp 0x58313f
mov eax, dword [ebp - 0x10]
mov edx, 0x58320c
call fcn.00407eb4
jmp 0x58313f
mov eax, dword [ebp - 0x10]
mov edx, 0x583230
call fcn.00407eb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x583159
call sub.wsock32.dll_WSACleanup
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x583181
lea eax, [ebp - 0x1b8]
call fcn.00406dbc
lea eax, [ebp - 4]
call fcn.00406dbc
ret

Function at 0x583250
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x5832d5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
xor edx, edx
call fcn.00407f08
lea eax, [ebp - 8]
xor edx, edx
call fcn.00407f08
push 0x5832f0
push dword [ebp - 4]
push 0x583320
push dword [ebp - 8]
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.0040847c
push 1
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00407f40
push eax
push 0x583330
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5832dc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407eac
ret
Function at 0x584f24
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x584f64
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 7
push 0
lea eax, [ebp - 8]
push eax
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x584f6e
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x586358
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407e9c
mov eax, dword [ebp - 8]
call fcn.00407e9c
xor eax, eax
push ebp
push 0x58647f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov ebx, 0x14
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x14
call fcn.004050e0
mov dword [ebp - 0x24], 0x14
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x3c], 2
mov eax, dword [ebp - 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 3
mov eax, 0x586490
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00407f40
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x586464
xor eax, eax
push ebp
push 0x58645d
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x24]
push eax
push 0x4b
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x58643d
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionW
test eax, eax
jne 0x586441
xor eax, eax
jmp 0x586443
mov al, 1
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x586464
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x586486
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407eac
ret
Function at 0x586498
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407e9c
mov eax, dword [ebp - 8]
call fcn.00407e9c
mov eax, dword [ebp - 0xc]
call fcn.00407e9c
mov eax, dword [ebp + 0xc]
call fcn.00407e9c
xor eax, eax
push ebp
push 0x586602
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, 0x586614
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00407f40
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5865df
xor edx, edx
push ebp
push 0x5865d8
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00407f40
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407f40
push eax
movzx eax, word [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00407f40
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectW
test eax, eax
je 0x5865c1
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x5865b8
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionW
test eax, eax
jne 0x5865bc
xor eax, eax
jmp 0x5865be
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5865df
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x586609
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407eac
lea eax, [ebp + 0xc]
call fcn.00407ea4
ret
Function at 0x58661c
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
xor ecx, ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407e9c
mov eax, dword [ebp - 8]
call fcn.00407e9c
xor eax, eax
push ebp
push 0x586753
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov ebx, 0x14
mov dword [ebp - 0x24], 0x14
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x3c], 4
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.00408108
mov eax, dword [ebp - 0x40]
call fcn.00407494
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x1c], 2
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00407f40
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x586730
xor eax, eax
push ebp
push 0x586729
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x24]
push eax
push 0x4b
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x586709
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionW
test eax, eax
jne 0x58670d
xor eax, eax
jmp 0x58670f
mov al, 1
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x586730
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58675a
lea eax, [ebp - 0x40]
call fcn.00406dbc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407eac
ret

Function at 0x586764
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x58682c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x586830
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x586838
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x586823
xor eax, eax
push ebp
push 0x58681c
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionW
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionW
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x586823
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
movzx eax, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret