joyce8/EMBER2024-capa huggingface dataset:
Function at 0x479120
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x50bdba
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.0046d510
lea eax, [esi + 0x18]
xor ebx, ebx
push eax
mov dword [esp + 0x18], ebx
call fcn.0046d510
mov dword [esi + 0x38], fcn.004ccfcd
mov dword [esi + 0x3c], fcn.004cf168
mov dword [esi + 0x40], fcn.004ccef0
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], 0x1fff8
mov dword [esi + 0x34], vtable.t_heap.0
mov dword [esi + 0x480], 0x1332ba5
mov dword [esi + 0x484], 1
mov dword [esi + 0x490], ebx
mov dword [esi + 0x4ac], ebx
mov dword [esi + 0x494], ebx
mov dword [esi + 0x498], ebx
mov dword [esi + 0x49c], ebx
mov dword [esi + 0x4a0], ebx
mov dword [esi + 0x4a4], ebx
mov dword [esi + 0x4a8], ebx
mov dword [esi + 0x4b0], ebx
mov dword [esi + 0x4b4], ebx
mov dword [esi + 0x4b8], ebx
mov dword [esi + 0x4bc], ebx
mov eax, 0x40
mov dword [esi + 0x488], eax
mov dword [esi + 0x48c], eax
mov byte [esi + 0x4c0], bl
mov ecx, dword [edi]
push 0x208
mov dword [esi + 0x4c], ecx
mov edx, dword [edi + 4]
lea eax, [esi + 0x54]
push ebx
push eax
mov dword [esi + 0x50], edx
mov dword [esi + 0x30], ebx
call fcn.004d3fc0
add esp, 0xc
push 0x208
lea ecx, [esi + 0x25c]
push ebx
push ecx
call fcn.004d3fc0
mov dword [esi + 0x46c], ebx
mov dword [esi + 0x470], ebx
mov dword [esi + 0x474], ebx
mov dword [esi + 0x478], ebx
add esp, 0xc
mov dword [esi + 0x47c], ebx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x47af60
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x50cdc7
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.0046d510
lea eax, [esi + 0x18]
xor edi, edi
push eax
mov dword [esp + 0x18], edi
call fcn.0046d510
lea ecx, [esi + 0x30]
push ecx
mov byte [esp + 0x18], 1
call fcn.0047bf80
mov dword [esi + 0x50], edi
mov eax, 0x34
mov dword [esi + 0x5c], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x54], 0x1332ba5
mov dword [esi + 0x58], 1
mov dword [esi + 0x68], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x60], 0x30
mov dword [esi + 0x64], 0xc
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x47b010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50cdc7
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
lea eax, [esi + 0x30]
push eax
mov dword [esp + 0x18], 1
call fcn.0047bb80
lea eax, [esi + 0x18]
push eax
mov byte [esp + 0x18], 0
call fcn.0048bd90
push esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0046d570
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x481480
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
push eax
mov esi, ecx
call fcn.0048f070
test al, al
jne 0x481545
xor ebx, ebx
cmp byte [esi + 0x11c], bl
je 0x4814a8
add esi, 0xc
jmp 0x4814ab
mov esi, dword [esi + 8]
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4814ee
shr eax, 4
not al
and al, 1
je 0x4814ee
mov ecx, edi
mov dword [ebp + 4], 1
call fcn.00439450
push 0x52e5f4
push 0x52139c
mov edx, eax
call fcn.0043a8a0
add esp, 8
xor al, al
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov ecx, dword [esp + 0x18]
mov dword [ebp + 4], 2
mov eax, dword [ecx]
cmp eax, ebx
je 0x481537
mov edx, dword [esp + 0x1c]
mov ecx, 0x40
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax], 0x1332ba5
mov dword [eax + 4], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov ecx, edi
mov dword [edx], 0x50
call fcn.00439450
push 0x52e638
jmp 0x4814d6
mov ecx, edi
call fcn.00439450
push 0x52e610
jmp 0x4814d6
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 0xc
Function at 0x481550
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x50dc0b
mov eax, dword fs:[0]
push eax
sub esp, 0x3a4
mov eax, dword [0x5405a0]
xor eax, esp
mov dword [esp + 0x39c], eax
push ebx
push ebp
push esi
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0x3b4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c4]
lea esi, [esp + 0x54]
mov ebx, ecx
call fcn.0043fc80
xor esi, esi
mov dword [esp + 0x54], vtable.t_fileRead.0
mov dword [esp + method.t_fileRead.1.virtual_0], vtable.t_fileRead.1.0
mov dword [esp + 0x3a4], esi
mov dword [esp + 0x3a8], esi
push esi
push edi
lea eax, [esp + 0x5c]
push eax
mov eax, ebx
mov dword [esp + 0x3c8], esi
call fcn.0043fdc0
test al, al
je 0x48167c
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x481603
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
je 0x481603
xor ebx, ebx
mov eax, 0x40
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push edi
lea ecx, [esp + 0x3ac]
mov dword [esp + 0x3b0], ebx
mov dword [esp + 0x20], 0x1332ba5
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
call fcn.00447bd0
test al, al
jne 0x4816c2
mov ecx, edi
call fcn.00439450
push 0x52e674
jmp 0x481688
mov ecx, edi
call fcn.00439450
push 0x52e65c
push 0x52139c
mov edx, eax
call fcn.0043a8a0
mov dword [esp + 0x3c4], 0xffffffff
add esp, 8
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.0043fcf0
xor al, al
jmp 0x4816f2
mov ecx, dword [esp + 0x18]
mov dword [ebp], ecx
mov dword [esp + 0x3bc], 0xffffffff
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.0043fcf0
mov al, 1
mov ecx, dword [esp + 0x3b4]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x39c]
xor ecx, esp
call fcn.004ccee1
add esp, 0x3b0
ret
Function at 0x483ad0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 8
push esi
push edi
push eax
mov esi, ecx
call fcn.0048f070
test al, al
jne 0x483b47
cmp byte [esi + 0x11c], al
je 0x483aee
add esi, 0xc
jmp 0x483af1
mov esi, dword [esi + 8]
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x483b32
shr eax, 4
not al
and al, 1
je 0x483b32
mov ecx, edi
mov dword [ebx + 4], 1
call fcn.00439450
push 0x52e8c8
push 0x52139c
mov edx, eax
call fcn.0043a8a0
add esp, 8
xor al, al
pop esi
add esp, 8
ret
mov ecx, edi
mov dword [ebx + 4], 2
call fcn.00439450
push 0x52e8e0
jmp 0x483b1c
mov al, 1
pop esi
add esp, 8
ret

Function at 0x483be0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50daeb
mov eax, dword fs:[0]
push eax
sub esp, 0x3a4
mov eax, dword [0x5405a0]
xor eax, esp
mov dword [esp + 0x39c], eax
push ebx
push esi
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0x3b0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esi, [esp + 0x4c]
mov ebx, ecx
mov dword [esp + 0x10], eax
call fcn.0043fc80
xor esi, esi
mov dword [esp + 0x4c], vtable.t_fileRead.0
mov dword [esp + method.t_fileRead.1.virtual_0], vtable.t_fileRead.1.0
mov dword [esp + 0x39c], esi
mov dword [esp + 0x3a0], esi
push esi
push edi
lea ecx, [esp + 0x54]
push ecx
mov eax, ebx
mov dword [esp + 0x3c4], esi
call fcn.0043fdc0
test al, al
je 0x483d0d
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x483c98
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
je 0x483c98
xor ebx, ebx
mov eax, 0x34
push eax
lea ecx, [esp + 0x1c]
push ecx
push edi
lea ecx, [esp + 0x3a4]
mov dword [esp + 0x3a8], ebx
mov dword [esp + 0x24], 0x1332ba5
mov dword [esp + 0x28], 1
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x30
mov dword [esp + 0x34], 0xc
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
call fcn.00447bd0
test al, al
jne 0x483d53
mov ecx, edi
call fcn.00439450
push 0x52e918
jmp 0x483d19
mov ecx, edi
call fcn.00439450
push 0x52904c
push 0x52139c
mov edx, eax
call fcn.0043a8a0
mov dword [esp + 0x3c0], 0xffffffff
add esp, 8
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.0043fcf0
xor al, al
jmp 0x483d90
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
push ecx
mov dword [eax], edx
call fcn.0043ffe0
mov dword [esp + 0x3b8], 0xffffffff
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.0043fcf0
mov al, 1
mov ecx, dword [esp + 0x3b0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x39c]
xor ecx, esp
call fcn.004ccee1
mov esp, ebp
pop ebp
ret
Function at 0x484d60
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x50ff8b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [esp + 0x24], 0
je 0x484e3b
push 0x10
call fcn.004cf589
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], 0
test esi, esi
je 0x484ddc
mov eax, dword [esp + 0x20]
push 8
mov dword [esi], edi
mov dword [esi + 4], eax
mov byte [esi + 0xc], 1
call fcn.004cf589
add esp, 4
test eax, eax
je 0x484dd5
mov byte [eax + 4], 0
mov dword [eax], 0
mov dword [esi + 8], eax
jmp 0x484dde
xor eax, eax
mov dword [esi + 8], eax
jmp 0x484dde
xor esi, esi
push 0
push 0
push esi
push 0x484930
push 0
push 0
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x484e77
test esi, esi
je 0x484e07
call fcn.00484990
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x1c]
push eax
add edi, 0x220
push edi
push 0x52ebcc
push ecx
call fcn.00439500
add esp, 0x10
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0xc
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
push edx
push esi
call fcn.004849d0
test al, al
jne 0x484e77
add edi, 0x220
push edi
push 0x52ec00
push esi
call fcn.00439500
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0xc
mov al, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0xc
Function at 0x487730
Capabilities:
Read data from internet
Receive data

Disassembly:
sub esp, 0xc
mov ecx, dword [edi + 0x26c]
push ebx
push ebp
xor ebp, ebp
cmp byte [esp + 0x1c], 0
mov ebx, eax
push esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x14], ebx
je 0x487755
cmp ebx, ecx
jge 0x487755
mov ecx, ebx
mov esi, dword [edi + 0x258]
call fcn.0043c970
cmp byte [esi + 0x114], 0
je 0x48776e
add esi, 4
jmp 0x487770
mov esi, dword [esi]
add esi, 4
mov eax, dword [edi + 0x270]
test eax, eax
je 0x487787
mov al, byte [eax]
test al, al
jne 0x48784d
cmp byte [esp + 0x20], 0
mov eax, dword [edi + 0x26c]
je 0x48779a
cmp ebx, eax
jge 0x48779a
mov eax, ebx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push eax
push esi
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
test eax, eax
jbe 0x487828
add ebp, eax
cmp byte [esp + 0x20], 0
mov eax, dword [edi + 0x26c]
je 0x4877cd
cmp ebx, eax
jge 0x4877cd
mov eax, ebx
mov esi, dword [edi + 0x258]
lea ecx, [eax + ebp]
call fcn.0043c970
cmp byte [esi + 0x114], 0
je 0x4877e9
add esi, 4
jmp 0x4877eb
mov esi, dword [esi]
mov eax, dword [edi + 0x264]
lea esi, [esi + ebp + 4]
test eax, eax
je 0x487817
cmp byte [esp + 0x20], 0
je 0x487806
mov ecx, dword [esp + 0x14]
jmp 0x487809
or ecx, 0xffffffff
mov edx, dword [edi + 0x268]
push edx
push ecx
push ebp
call eax
add esp, 0xc
cmp byte [esp + 0x20], 0
mov eax, dword [esp + 0xc]
je 0x487828
sub ebx, eax
test ebx, ebx
jle 0x487837
cmp dword [esp + 0x10], 0
je 0x487837
test eax, eax
ja 0x487773
xor eax, eax
cmp dword [esp + 0x10], eax
pop esi
mov dword [edi + 0x25c], ebp
pop ebp
setne al
pop ebx
add esp, 0xc
ret
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
Function at 0x487ef0
Capabilities:
Check http status code
Create http request
Get http content length

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov ebx, 4
mov edi, eax
mov byte [esp + 0x16], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], ebx
call fcn.004876d0
test al, al
jne 0x487f20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [edi + 0x250]
push 0
shr eax, 1
push 0
and al, 1
push 0
mov byte [esp + 0x23], al
mov eax, dword [edi + 0x254]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
test ebp, ebp
je 0x4880f2
mov eax, dword [edi + 0x248]
test eax, eax
jle 0x487f9e
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
imul eax, eax, 0x3e8
push ebx
lea ecx, [esp + 0x1c]
push ecx
push 2
push ebp
mov dword [esp + 0x28], eax
call esi
push ebx
lea edx, [esp + 0x1c]
push edx
push 5
push ebp
call esi
push ebx
lea eax, [esp + 0x1c]
push eax
push 6
push ebp
call esi
push ebx
lea ecx, [esp + 0x1c]
push ecx
push 7
push ebp
call esi
push ebx
lea edx, [esp + 0x1c]
push edx
push 8
push ebp
call esi
cmp byte [edi + 0x11c], 0
lea eax, [edi + 0xc]
jne 0x487fad
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0x24c]
push 0
push ecx
push 0
push 0
add eax, 4
push eax
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x4880e4
mov ecx, dword [edi + 0x24c]
mov dword [esp + 0x24], ebx
mov ebx, dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [esp + 0x1c], 0
test ecx, 0x200000
je 0x488016
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [edi + 0x260]
push ebp
lea esi, [esp + 0x28]
mov ecx, edi
call fcn.00488ba0
mov esi, dword [esp + 0x24]
add esp, 0xc
test al, al
jmp 0x48802c
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x20000013
push esi
call ebx
test eax, eax
je 0x4880d9
mov eax, dword [esp + 0x1c]
cmp eax, 0xc8
je 0x48805b
cmp eax, 0x130
je 0x488062
cmp eax, 0x194
jne 0x4880d9
mov dword [edi + 0x260], 4
jmp 0x4880d9
cmp eax, 0x130
jne 0x488076
mov dword [edi + 0x260], 1
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x28]
push eax
push 0x20000005
push esi
call ebx
test eax, eax
jne 0x488094
mov dword [esp + 0x20], eax
jmp 0x488098
mov eax, dword [esp + 0x20]
mov byte [esp + 0x18], 0
test eax, eax
jle 0x4880a8
mov byte [esp + 0x18], 1
jmp 0x4880ad
mov eax, 0x4000
cmp byte [esp + 0x17], 0
jne 0x4880c4
mov ecx, dword [esp + 0x18]
push ecx
push esi
call fcn.00487730
add esp, 8
jmp 0x4880d5
mov edx, dword [esp + 0x18]
push edx
push eax
push edi
mov edx, esi
call fcn.00487c30
add esp, 0xc
mov byte [esp + 0x16], al
test esi, esi
je 0x4880e4
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [esp + 0x16], 0
jne 0x4880fc
mov dword [edi + 0x25c], 0
mov al, byte [esp + 0x16]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x488110
Capabilities:
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x510f16
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x5405a0]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0x26c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x27c]
mov esi, ecx
xor bl, bl
push eax
lea ecx, [esp + 0x144]
mov byte [esp + 0x17], bl
call fcn.0043a1c0
lea ecx, [esp + 0x18]
call fcn.0043a090
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
test esi, esi
je 0x488246
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea eax, [esp + 0x18]
push eax
push 2
push esi
mov dword [esp + 0x24], 0xbb8
call edi
push 4
lea ecx, [esp + 0x18]
push ecx
push 5
push esi
call edi
push 4
lea edx, [esp + 0x18]
push edx
push 6
push esi
call edi
push 4
lea eax, [esp + 0x18]
push eax
push 8
push esi
call edi
mov ecx, dword [esp + 0x144]
mov eax, 0x800
test ecx, ecx
jbe 0x488205
cmp ecx, eax
jae 0x4881dc
mov eax, ecx
cmp byte [esp + 0x25c], 0
lea ecx, [esp + 0x14c]
jne 0x4881f4
mov ecx, dword [esp + 0x148]
add ecx, 4
push ecx
lea ebx, [esp + 0x1c]
call fcn.0043a340
mov bl, byte [esp + 0x13]
cmp byte [esp + 0x134], 0
lea eax, [esp + 0x24]
jne 0x488217
mov eax, dword [esp + 0x20]
push 0
push 0x84200000
push 0
push 0
add eax, 4
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x488243
push eax
mov byte [esp + 0x17], 1
call edi
mov bl, byte [esp + 0x13]
push esi
call edi
cmp byte [esp + 0x134], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x18], esi
jne 0x48826e
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x48826e
push eax
call fcn.004ccef0
add esp, 4
cmp byte [esp + 0x25c], 0
mov dword [esp + 0x140], esi
jne 0x48829a
mov eax, dword [esp + 0x148]
lea edx, [esp + 0x14c]
cmp eax, edx
je 0x48829a
push eax
call fcn.004ccef0
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x26c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.004ccee1
add esp, 0x268
ret
Function at 0x488960
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x50bcbb
mov eax, dword fs:[0]
push eax
mov eax, 0x1134
call fcn.004d8c90
mov eax, dword [0x5405a0]
xor eax, esp
mov dword [esp + 0x1130], eax
push ebp
push esi
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0x1140]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1158]
mov ebp, dword [esp + 0x1150]
mov esi, ecx
xor ecx, ecx
push 0xffe
push ecx
lea edx, [esp + 0x146]
push edx
mov dword [esp + 0x1c], eax
mov dword [ebx], 0
mov word [esp + 0x148], cx
call fcn.004d3fc0
mov edx, dword [esi]
add esp, 0xc
push 0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x144]
push ecx
push 0x21
push edx
mov dword [esp + 0x20], 0x1000
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x488a08
mov dword [ebx], 5
jmp 0x488b4c
mov eax, dword [esp + 0xc]
mov edx, dword [esi]
shr eax, 1
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0x140], cx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0x18]
call fcn.0043a090
mov dword [esp + 0x1148], 0
cmp byte [edi + 0x11c], 0
lea eax, [edi + 0xc]
jne 0x488a44
mov eax, dword [edi + 8]
add eax, 4
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x144]
call fcn.004885a0
add esp, 8
test al, al
jne 0x488a99
mov dword [ebx], 7
mov dword [esp + 0x18], vtable.t_str.0
cmp byte [esp + 0x134], al
jne 0x488b4c
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x488b4c
push eax
call fcn.004ccef0
add esp, 4
jmp 0x488b4c
cmp byte [esp + 0x134], 0
lea eax, [esp + 0x24]
jne 0x488aab
mov eax, dword [esp + 0x20]
add eax, 4
mov edx, edi
call fcn.0043a2e0
cmp byte [esp + 0x134], 0
lea ecx, [esp + 0x24]
jne 0x488ac7
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1154]
push 0
or eax, 0x200000
push eax
push 0
push 0
add ecx, 4
push ecx
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [esi], eax
test eax, eax
jne 0x488b19
mov dword [ebx], 8
mov dword [esp + 0x18], vtable.t_str.0
cmp byte [esp + 0x134], al
jne 0x488b4c
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
cmp eax, edx
je 0x488b4c
push eax
call fcn.004ccef0
add esp, 4
jmp 0x488b4c
mov esi, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
push 0x20000013
push eax
mov dword [esp + 0x28], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x488b74
mov dword [ebx], 6
lea ecx, [esp + 0x18]
call fcn.0043a230
xor al, al
mov ecx, dword [esp + 0x1140]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x1130]
xor ecx, esp
call fcn.004ccee1
add esp, 0x1140
ret
mov eax, dword [esi]
cmp eax, 0xc8
je 0x488b43
cmp eax, 0x12c
jb 0x488b43
cmp eax, 0x190
jae 0x488b43
lea ecx, [esp + 0x18]
call fcn.0043a230
mov al, 1
jmp 0x488b4e
Function at 0x488ba0
Capabilities:
Check http status code

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
push 0
mov ebx, eax
lea eax, [esp + 0x14]
push eax
push esi
mov edi, ecx
mov ecx, dword [ebp]
push 0x20000013
push ecx
mov dword [esp + 0x24], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x488bda
pop edi
pop ebp
xor al, al
pop ebx
add esp, 8
ret
cmp dword [esi], 0xc8
jne 0x488beb
pop edi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret
mov dword [ebx], 0
mov eax, dword [esi]
cmp eax, 0x12c
jb 0x488c37
cmp eax, 0x190
jae 0x488c37
mov dword [esp + 0xc], 0
lea esp, [esp]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push esi
push edx
push eax
mov ecx, ebp
call fcn.00488960
add esp, 0xc
test al, al
je 0x488c37
mov eax, dword [esp + 0xc]
inc eax
cmp eax, 5
mov dword [esp + 0xc], eax
jl 0x488c10
xor eax, eax
cmp dword [ebx], eax
pop edi
pop ebp
sete al
pop ebx
add esp, 8
ret