joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a84c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
lea ecx, [edi + 4]
call fcn.005dbeb0
test al, al
je 0x5a84f2
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [edi + 0x40]
cmp esi, 0xffffffff
je 0x5a84ff
test esi, esi
jne 0x5a8568
push 0
push 0x2000080
push 3
push 0
push 1
push SysReAllocString
lea ecx, [edi + 4]
call fcn.005dc190
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov eax, dword [edi + 0x40]
cmp eax, 0xffffffff
je 0x5a8535
test eax, eax
je 0x5a8535
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x40], esi
test esi, esi
jne 0x5a8563
mov dword [edi + 0x40], 0xffffffff
push ecx
push dword [edi + 0x100c]
lea ecx, [edi + 4]
call fcn.005d98d0
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x5a8543
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
push 2
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5a8543
mov eax, 0x5a4d
cmp word [ebp - 8], ax
jne 0x5a8543
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret
Function at 0x5a9650
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fff5d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x70f200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
push 0x108
call fcn.0041e3d6
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], 0
call fcn.005dc5e0
lea ecx, [esi + 0x28]
call fcn.005dc5e0
lea ecx, [esi + 0x34]
call fcn.005dc5e0
lea ecx, [esi + 0x40]
call fcn.005dc5e0
lea ecx, [esi + 0x4c]
call fcn.005dc5e0
mov ecx, esi
mov byte [ebp - 4], 5
lea ecx, [ecx + 0x58]
call fcn.005ae6b0
mov eax, dword [ebp + 0x14]
mov edx, esi
push dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
or eax, 0x200
mov dword [edx + 0x14], eax
lea ecx, [edx + 0x1c]
mov eax, dword [ebp + 0x18]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0xffffffff
mov dword [edx + 0x10], 0
mov dword [edx + 0x18], eax
call fcn.005dc510
push dword [ebp - 0x18]
mov ecx, esi
lea ecx, [ecx + 0x28]
call fcn.005dc510
push str.HKLM64SOFTWARECarifredVirusTotal_reports
lea ecx, [esi + 0x34]
call fcn.005dc510
push dword [ebp + 0xc]
lea ecx, [esi + 0x40]
call fcn.005dc510
push 0
lea ecx, [esi + 0x4c]
call fcn.005dc510
push 0
push 0
push esi
push 0x5a9200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x5a9770
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fffc8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x70f200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov ecx, edx
or ecx, 0x80
test edx, 0x180
push 0x108
cmovne ecx, edx
mov dword [ebp - 0x10], ecx
call fcn.0041e3d6
mov esi, eax
add esp, 4
mov dword [ebp + 0xc], esi
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], 0
call fcn.005dc5e0
lea ecx, [esi + 0x28]
call fcn.005dc5e0
lea ecx, [esi + 0x34]
call fcn.005dc5e0
mov ecx, esi
add ecx, 0x40
call fcn.005dc5e0
mov ecx, esi
lea ecx, [ecx + 0x4c]
call fcn.005dc5e0
mov ecx, esi
mov byte [ebp - 4], 5
lea ecx, [ecx + 0x58]
call fcn.005ae6b0
mov eax, dword [ebp + 0x10]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
push 0x6558f0
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx], ebx
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0xffffffff
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], 0
lea ecx, [esi + 0x28]
call fcn.005dc510
push str.HKLM64SOFTWARECarifredVirusTotal_reports
lea ecx, [esi + 0x34]
call fcn.005dc510
push 0
push 0
push esi
push 0x5a9200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5a9880
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600033
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x70f200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
push 0x108
call fcn.0041e3d6
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], 0
call fcn.005dc5e0
lea ecx, [esi + 0x28]
call fcn.005dc5e0
lea ecx, [esi + 0x34]
call fcn.005dc5e0
lea ecx, [esi + 0x40]
call fcn.005dc5e0
lea ecx, [esi + 0x4c]
call fcn.005dc5e0
mov ecx, esi
mov byte [ebp - 4], 5
lea ecx, [ecx + 0x58]
call fcn.005ae6b0
mov eax, dword [ebp - 0x14]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
push str.HKLM64SOFTWARECarifredVirusTotal_reports
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x10]
or eax, 0x40
mov dword [ecx + 8], 0
mov dword [ecx + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0xc], 0xffffffff
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x18], eax
lea ecx, [esi + 0x34]
call fcn.005dc510
push dword [ebp + 0x14]
lea ecx, [esi + 0x40]
call fcn.005dc510
push 0
lea ecx, [esi + 0x4c]
call fcn.005dc510
push 0
push 0
mov eax, esi
push eax
push 0x5a9200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x5a9990
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60009e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x70f200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], edx
mov edi, ecx
mov esi, dword [ebp + 0x14]
mov eax, esi
mov ecx, esi
or ecx, 0x10
test al, 0x30
push 0x108
cmovne ecx, esi
mov dword [ebp + 0x14], ecx
call fcn.0041e3d6
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
lea ecx, [ebx + 0x1c]
mov dword [ebp - 4], 0
call fcn.005dc5e0
lea ecx, [ebx + 0x28]
call fcn.005dc5e0
lea ecx, [ebx + 0x34]
call fcn.005dc5e0
lea ecx, [ebx + 0x40]
call fcn.005dc5e0
lea ecx, [ebx + 0x4c]
call fcn.005dc5e0
lea ecx, [ebx + 0x58]
mov byte [ebp - 4], 5
call fcn.005ae6b0
mov eax, dword [ebp - 0x10]
lea ecx, [ebx + 0x34]
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 0x14]
push str.HKLM64SOFTWARECarifredVirusTotal_reports
mov dword [ebx], edi
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], 0
call fcn.005dc510
push 0
push 0
push ebx
push 0x5a9200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x5a9a80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6000d2
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
test esi, esi
je 0x5a9bcc
test eax, eax
je 0x5a9bcc
push 0x108
call fcn.0041e3d6
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00402180
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
push esi
mov dword [ebp - 0x18], ebx
lea ecx, [ebx + 0x1c]
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.005dc510
push 0x627824
lea ecx, [ebx + 0x28]
call fcn.005dc510
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + 0x34]
or eax, 8
mov dword [ebx + 8], 0
push str.HKLM64SOFTWARECarifredVirusTotal_reports
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], 0
call fcn.005dc510
push 0
push 0
push ebx
push 0x5a9200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
mov dword [ebp - 0x14], 0
test edi, edi
jne 0x5a9b61
or esi, 0xffffffff
jmp 0x5a9ba0
mov esi, edi
cmp edi, 0xffffffff
je 0x5a9ba0
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
test eax, eax
je 0x5a9b9d
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
cmp dword [ebp - 0x14], 0x103
jne 0x5a9b9d
call fcn.005d8ff0
push 0xa
call edi
lea eax, [ebp - 0x14]
push eax
push esi
call ebx
test eax, eax
jne 0x5a9b80
mov ebx, dword [ebp - 0x18]
push 0
push dword [ebp - 0x1c]
lea ecx, [ebx + 0x4c]
call fcn.005d8a30
push ecx
mov ecx, ebx
call fcn.00402200
mov edi, dword [ebp - 0x14]
cmp esi, 0xffffffff
je 0x5a9bc8
test esi, esi
je 0x5a9bc8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x5a9bce
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 8
Function at 0x5ac9a0
Capabilities:
Check internet connectivity via wininet
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
lea eax, [ebp - 8]
mov edi, ecx
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x5aca7d
lea esi, [edi + 0x9c]
mov ecx, esi
call fcn.005b0420
mov bl, byte [ebp + 8]
test eax, eax
je 0x5ac9e1
test bl, bl
je 0x5ac9fc
push 0
push 0
push 0
push 0
push str.VirusTotal
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
push eax
mov ecx, esi
call fcn.005b0470
mov ecx, esi
call fcn.005b0420
test eax, eax
je 0x5aca7d
push 0x7530
push 0x1d4c0
push 0x2710
push 0x2710
call fcn.005b0420
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
add edi, 0xa0
mov ecx, edi
call fcn.005b0420
test eax, eax
je 0x5aca3c
test bl, bl
je 0x5aca5e
push 0
push 0x1bb
push str.www.virustotal.com
mov ecx, esi
call fcn.005b0420
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
push eax
mov ecx, edi
call fcn.005b0470
mov ecx, edi
call fcn.005b0420
pop edi
test eax, eax
pop esi
setne al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 4
Function at 0x5ae580
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6006a3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x70f200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0xc]
call fcn.005dc3a0
cmp eax, 6
jle 0x5ae5c5
lea ecx, [edi + 0xc]
call fcn.005dc190
push eax
lea ecx, [edi + 0x34]
call fcn.005d5740
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x5ae5d8
push eax
call fcn.00418a90
add esp, 4
lea ecx, [edi + 0xa0]
mov dword [edi + 0xa4], 0
call fcn.005b0480
lea ecx, [edi + 0x9c]
call fcn.005b0480
mov eax, dword [edi + 0x98]
test eax, eax
je 0x5ae631
push fcn.005dc430
lea esi, [eax - 4]
mov dword [ebp - 4], 0
push dword [esi]
push 0xc
push eax
call fcn.0041e45b
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.0041e1c8
add esp, 8
lea ecx, [edi + 0x84]
call fcn.005dc430
lea ecx, [edi + 0x78]
call fcn.005dc430
mov eax, dword [edi + 0x70]
test eax, eax
je 0x5ae654
push eax
call fcn.0041e1c3
add esp, 4
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x5ae664
push eax
call fcn.0041e1c3
add esp, 4
mov eax, dword [edi + 0x48]
test eax, eax
je 0x5ae674
push eax
call fcn.0041e1c3
add esp, 4
lea ecx, [edi + 0x34]
call fcn.005d69e0
lea ecx, [edi + 0x30]
call fcn.005d69e0
lea ecx, [edi + 0xc]
call fcn.005dc430
mov ecx, edi
call fcn.005dc430
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5ae6b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600760
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x70f200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.005dc5e0
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
call fcn.005dc5e0
lea ecx, [esi + 0x30]
call fcn.005d6aa0
lea ecx, [esi + 0x34]
call fcn.005d6aa0
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 3
call fcn.005ae890
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 4
call fcn.005ae890
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 5
call fcn.005ae890
lea ecx, [esi + 0x78]
call fcn.005dc5e0
lea ecx, [esi + 0x84]
call fcn.005dc5e0
mov dword [esi + 0x98], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
lea ecx, [esi + 0x9c]
call fcn.005b04a0
lea ecx, [esi + 0xa0]
call fcn.005b04a0
mov dword [esi + 0xa4], 0
push ecx
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.005ae4c0
mov dword [esi + 0x1c], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5b0660
Capabilities:
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600a0c
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea esi, [ebx + 8]
mov ecx, esi
mov dword [ebp - 0x2c], esi
call fcn.005b0420
test eax, eax
je 0x5b0820
mov al, byte [ebx + 0x1d]
test al, al
jne 0x5b06c2
push 0
call fcn.005b0420
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov byte [ebx + 0x1d], al
test al, al
je 0x5b0820
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.005dc5e0
push 0x80
push 0
push 0
push 0
push 0x40
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.005db9a0
push eax
call fcn.00420090
add esp, 0xc
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x20]
mov edi, 0x10000
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.005dc190
push eax
push 0
push 5
mov ecx, esi
call fcn.005b0420
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x5b074c
lea ecx, [ebp - 0x20]
call fcn.005dafe0
add eax, eax
cmp eax, edi
mov dword [ebp - 0x24], eax
cmova edi, eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.005b0420
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x5b0811
cmp dword [ebp - 0x14], 0
je 0x5b0811
lea eax, [ebx + 0xc]
push 0
lea esi, [edi + 1]
mov dword [ebp - 0x30], eax
push esi
mov ecx, eax
call fcn.00404190
push esi
push 0
push dword [ebx + 0x14]
call fcn.00420090
mov ebx, dword [ebx + 0x14]
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
nop word [eax + eax]
cmp edi, eax
jb 0x5b07f5
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push ecx
push eax
push ebx
mov ecx, esi
call fcn.005b0420
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x5b07f5
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x5b07f5
add dword [ebp - 0x28], eax
sub edi, eax
add ebx, eax
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.005b0420
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x5b07f5
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x5b07a0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
push 0
push eax
call fcn.00404190
lea ecx, [ebp - 0x20]
mov ebx, eax
call fcn.005dc430
mov eax, ebx
jmp 0x5b0823
lea ecx, [ebp - 0x20]
add ebx, 0xc
call fcn.005dc430
mov eax, ebx
jmp 0x5b0823
lea eax, [ebx + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret
Function at 0x5b0840
Capabilities:
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600a40
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x18]
test edx, edx
jne 0x5b0930
lea ecx, [esi + 8]
call fcn.005b0420
test eax, eax
je 0x5b0930
mov al, byte [esi + 0x1d]
test al, al
jne 0x5b08ad
push edx
lea ecx, [esi + 8]
call fcn.005b0420
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov byte [esi + 0x1d], al
test al, al
jne 0x5b08ad
mov eax, dword [esi + 0x18]
jmp 0x5b0932
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.005dc5e0
push 0x80
push 0
push 0
push 0
push 0x40
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.005db9a0
push eax
call fcn.00420090
add esp, 0xc
mov dword [ebp - 0x20], 0x80
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x1c]
push 0
push eax
call fcn.005dc190
push eax
push 0
push 0x13
lea ecx, [esi + 8]
call fcn.005b0420
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x5b0921
lea ecx, [ebp - 0x1c]
call fcn.005dafe0
mov dword [esi + 0x18], eax
mov esi, dword [esi + 0x18]
lea ecx, [ebp - 0x1c]
call fcn.005dc430
mov eax, esi
jmp 0x5b0932
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret
Function at 0x5b1230
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600b1c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
call fcn.005dc5e0
push 0x40
push 0
push 0
push 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
push 0x20
mov dword [ebp - 0x14], 0x40
call fcn.005db9a0
push eax
call fcn.00420090
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x20]
push 0
push eax
call fcn.005dc190
push eax
push 0
push 0x13
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x5b13a4
lea ecx, [ebp - 0x20]
call fcn.005dafb0
cmp eax, 0x12d
je 0x5b12ec
cmp eax, 0x12e
je 0x5b12ec
cmp eax, 0x133
je 0x5b12ec
cmp eax, 0x134
jne 0x5b13a4
push 0x1000
push 0
push 0
push 0
push 0x800
lea ecx, [ebp - 0x20]
call fcn.005db9a0
push eax
call fcn.00420090
add esp, 0xc
mov dword [ebp - 0x14], 0x1000
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x20]
push 0
push eax
call fcn.005dc190
push eax
push 0
push 0x21
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x5b13a4
push esi
lea ecx, [ebp - 0x20]
call fcn.005dc4c0
test al, al
jne 0x5b13a4
push 4
push 1
push 1
push 0
push str.http
lea ecx, [ebp - 0x20]
call fcn.005daa70
test eax, eax
je 0x5b136f
push 1
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
mov ecx, edi
call fcn.005dc260
mov bl, byte [eax + 8]
jmp 0x5b13a6
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x1000
push eax
push 0
push 0
push 0x800
mov ecx, edi
call fcn.005db9a0
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_UrlCombineW]
test eax, eax
sete bl
jmp 0x5b13a6
xor bl, bl
lea ecx, [ebp - 0x20]
call fcn.005dc430
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 4
Function at 0x5b2c90
Capabilities:
Check internet connectivity via wininet
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x2c], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x30], eax
mov edi, edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 8]
push 0
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x5b2ceb
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
push 0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
push 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
push 0x5b29e0
push 0
push 0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x5b2d74
cmp esi, 0xffffffff
je 0x5b2d74
xor edx, edx
mov ecx, esi
call fcn.005cca30
test al, al
je 0x5b2d5d
mov edi, dword [sym.imp.KERNEL32.dll_SleepEx]
call fcn.005d8ff0
test al, al
jne 0x5b2d50
push 1
push 0xa
call edi
xor edx, edx
mov ecx, esi
call fcn.005cca30
test al, al
jne 0x5b2d41
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov edi, dword [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5b2d79
mov edi, 6
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 0x14
Function at 0x5b2d90
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600d38
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], eax
movlpd qword [ebp - 0x54], xmm0
mov dword [ebp - 0x4c], 0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call fcn.005dc5e0
push 0
push 0
mov dword [ebp - 4], 0
mov ecx, esi
push 0x400
mov dword [ebp - 0x58], 0x3c
call fcn.005db9a0
push 0
push 0
push 0x400
mov ecx, ebx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0x400
call fcn.005db9a0
push 0
push 0
push 0x400
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x400
call fcn.005db9a0
mov dword [ebp - 0x24], eax
mov ecx, edi
lea eax, [ebp - 0x58]
mov dword [ebp - 0x20], 0x400
push eax
push 0
call fcn.005d8c40
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov bl, al
test bl, bl
je 0x5b2e9e
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.005dc190
mov ecx, dword [ebp - 0x5c]
push eax
call fcn.005da780
mov ecx, dword [ebp - 0x60]
mov ax, word [ebp - 0x40]
mov word [ecx], ax
lea ecx, [ebp - 0x1c]
call fcn.005dc430
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 0xc