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

Disassembly:
push 0xffffffffffffffff
push 0x509da8
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.00476b00
lea eax, [esi + 0x18]
xor ebx, ebx
push eax
mov dword [esp + 0x18], ebx
call fcn.00476b00
mov dword [esi + 0x38], fcn.004cc39d
mov dword [esi + 0x3c], fcn.004ce4c2
mov dword [esi + 0x40], fcn.004cc2c0
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.004d3360
add esp, 0xc
push 0x208
lea ecx, [esi + 0x25c]
push ebx
push ecx
call fcn.004d3360
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 0x472500
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x50b875
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.00476b00
lea eax, [esi + 0x18]
xor edi, edi
push eax
mov dword [esp + 0x18], edi
call fcn.00476b00
lea ecx, [esi + 0x30]
push ecx
mov byte [esp + 0x18], 1
call fcn.004734c0
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 0x4725b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50b875
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x53f5a0]
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.004730e0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4725f7
push eax
call fcn.004ce6dd
add esp, 4
mov eax, dword [esi + 0x18]
push eax
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.004ce6dd
add esp, 4
push esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004647d0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x478d50
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.00488f50
test al, al
jne 0x478e15
xor ebx, ebx
cmp byte [esi + 0x11c], bl
je 0x478d78
add esi, 0xc
jmp 0x478d7b
mov esi, dword [esi + 8]
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x478dbe
shr eax, 4
not al
and al, 1
je 0x478dbe
mov ecx, edi
mov dword [ebp + 4], 1
call fcn.00438300
push 0x52db3c
push 0x51f1f4
mov edx, eax
call fcn.00439710
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 0x478e07
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.00438300
push 0x52db80
jmp 0x478da6
mov ecx, edi
call fcn.00438300
push 0x52db58
jmp 0x478da6
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 0xc
Function at 0x478e20
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x50c6cb
mov eax, dword fs:[0]
push eax
sub esp, 0x3a4
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x39c], eax
push ebx
push ebp
push esi
mov eax, dword [0x53f5a0]
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.004419b0
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.00441af0
test al, al
je 0x478f4c
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 0x478ed3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
je 0x478ed3
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.00446be0
test al, al
jne 0x478f92
mov ecx, edi
call fcn.00438300
push 0x52dbbc
jmp 0x478f58
mov ecx, edi
call fcn.00438300
push 0x52dba4
push 0x51f1f4
mov edx, eax
call fcn.00439710
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.00441a20
xor al, al
jmp 0x478fc2
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.00441a20
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.004cc2b1
add esp, 0x3b0
ret

Function at 0x47b380
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 8
push esi
push edi
push eax
mov esi, ecx
call fcn.00488f50
test al, al
jne 0x47b3f7
cmp byte [esi + 0x11c], al
je 0x47b39e
add esi, 0xc
jmp 0x47b3a1
mov esi, dword [esi + 8]
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47b3e2
shr eax, 4
not al
and al, 1
je 0x47b3e2
mov ecx, edi
mov dword [ebx + 4], 1
call fcn.00438300
push 0x52de10
push 0x51f1f4
mov edx, eax
call fcn.00439710
add esp, 8
xor al, al
pop esi
add esp, 8
ret
mov ecx, edi
mov dword [ebx + 4], 2
call fcn.00438300
push 0x52de28
jmp 0x47b3cc
mov al, 1
pop esi
add esp, 8
ret
Function at 0x47b490
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50c5ab
mov eax, dword fs:[0]
push eax
sub esp, 0x3a4
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x39c], eax
push ebx
push esi
mov eax, dword [0x53f5a0]
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.004419b0
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.00441af0
test al, al
je 0x47b5bd
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 0x47b548
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
je 0x47b548
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.00446be0
test al, al
jne 0x47b603
mov ecx, edi
call fcn.00438300
push 0x52de60
jmp 0x47b5c9
mov ecx, edi
call fcn.00438300
push 0x528a94
push 0x51f1f4
mov edx, eax
call fcn.00439710
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.00441a20
xor al, al
jmp 0x47b640
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
push ecx
mov dword [eax], edx
call fcn.00441d10
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.00441a20
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.004cc2b1
mov esp, ebp
pop ebp
ret
Function at 0x47f620
Capabilities:
Read data from internet
Receive data

Disassembly:
sub esp, 0xc
mov ecx, dword [edi + 0x270]
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 0x47f645
cmp ebx, ecx
jge 0x47f645
mov ecx, ebx
mov esi, dword [edi + 0x258]
call fcn.0041b2d0
cmp byte [esi + 0x114], 0
je 0x47f65e
add esi, 4
jmp 0x47f660
mov esi, dword [esi]
add esi, 4
mov eax, dword [edi + 0x274]
test eax, eax
je 0x47f677
mov al, byte [eax]
test al, al
jne 0x47f73d
cmp byte [esp + 0x20], 0
mov eax, dword [edi + 0x270]
je 0x47f68a
cmp ebx, eax
jge 0x47f68a
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 0x47f718
add ebp, eax
cmp byte [esp + 0x20], 0
mov eax, dword [edi + 0x270]
je 0x47f6bd
cmp ebx, eax
jge 0x47f6bd
mov eax, ebx
mov esi, dword [edi + 0x258]
lea ecx, [eax + ebp]
call fcn.0041b2d0
cmp byte [esi + 0x114], 0
je 0x47f6d9
add esi, 4
jmp 0x47f6db
mov esi, dword [esi]
mov eax, dword [edi + 0x268]
lea esi, [esi + ebp + 4]
test eax, eax
je 0x47f707
cmp byte [esp + 0x20], 0
je 0x47f6f6
mov ecx, dword [esp + 0x14]
jmp 0x47f6f9
or ecx, 0xffffffff
mov edx, dword [edi + 0x26c]
push edx
push ecx
push ebp
call eax
add esp, 0xc
cmp byte [esp + 0x20], 0
mov eax, dword [esp + 0xc]
je 0x47f718
sub ebx, eax
test ebx, ebx
jle 0x47f727
cmp dword [esp + 0x10], 0
je 0x47f727
test eax, eax
ja 0x47f663
xor eax, eax
cmp dword [esp + 0x10], eax
pop esi
mov dword [edi + 0x260], 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 0x480050
Capabilities:
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x50c516
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov eax, dword [0x53f5a0]
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.00439010
lea ecx, [esp + 0x18]
call fcn.00438f20
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
test esi, esi
je 0x480186
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 0x480145
cmp ecx, eax
jae 0x48011c
mov eax, ecx
cmp byte [esp + 0x25c], 0
lea ecx, [esp + 0x14c]
jne 0x480134
mov ecx, dword [esp + 0x148]
add ecx, 4
push ecx
lea ebx, [esp + 0x1c]
call fcn.00439190
mov bl, byte [esp + 0x13]
cmp byte [esp + 0x134], 0
lea eax, [esp + 0x24]
jne 0x480157
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 0x480183
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 0x4801ae
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x4801ae
push eax
call fcn.004cc2c0
add esp, 4
cmp byte [esp + 0x25c], 0
mov dword [esp + 0x140], esi
jne 0x4801da
mov eax, dword [esp + 0x148]
lea edx, [esp + 0x14c]
cmp eax, edx
je 0x4801da
push eax
call fcn.004cc2c0
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.004cc2b1
add esp, 0x268
ret

Function at 0x480210
Capabilities:
Send data

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, eax
push edi
mov edi, ecx
mov dword [esp + 0x10], 0
test esi, esi
jbe 0x480248
mov ebx, dword [sym.imp.WININET.dll_InternetWriteFile]
nop
lea eax, [esp + 0x10]
push eax
push esi
push edi
push ebp
call ebx
test eax, eax
je 0x480250
mov eax, dword [esp + 0x10]
add edi, eax
sub esi, eax
jne 0x480230
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
Function at 0x480260
Capabilities:
Read data from internet
Receive data

Disassembly:
sub esp, 0x408
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x404], eax
push ebx
push ebp
mov ebp, dword [esp + 0x414]
push esi
push edi
push 0x3ff
xor esi, esi
lea eax, [esp + 0x19]
push esi
xor edi, edi
push eax
mov ebx, ecx
mov dword [esp + 0x1c], edi
mov byte [esp + 0x20], 0
call fcn.004d3360
add esp, 0xc
test edi, edi
jbe 0x4802cb
mov ecx, dword [esp + 0x420]
mov eax, ecx
sub eax, esi
cmp edi, eax
jae 0x480303
push edi
lea ecx, [esp + 0x18]
push ecx
push eax
lea edx, [ebx + esi]
push edx
call fcn.004cfe0d
add esp, 0x10
add esi, dword [esp + 0x10]
push 0x400
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004d3360
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0x400
lea edx, [esp + 0x1c]
push edx
push ebp
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x48031c
mov edi, dword [esp + 0x10]
test edi, edi
ja 0x4802a5
jmp 0x48031c
mov eax, ecx
sub eax, esi
lea ecx, [eax - 1]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
add ebx, esi
push ebx
call fcn.004cfe0d
add esp, 0x10
mov ecx, dword [esp + 0x414]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004cc2b1
add esp, 0x408
ret
Function at 0x4804b0
Capabilities:
Parse url

Disassembly:
mov eax, 0x1098
call fcn.004d75e0
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x1094], eax
mov eax, dword [esp + 0x109c]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov esi, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebx
call fcn.00480340
mov edi, eax
test edi, edi
je 0x4806a7
push 0x7ff
lea edx, [esp + 0xa5]
push ebx
push edx
mov byte [esp + 0xac], bl
call fcn.004d3360
push 0x7ff
lea eax, [esp + 0x8b1]
push ebx
push eax
mov byte [esp + 0x8b8], bl
call fcn.004d3360
push 0x38
lea ecx, [esp + 0x68]
push ebx
push ecx
call fcn.004d3360
add esp, 0x24
lea edx, [esp + 0xa0]
mov dword [esp + 0x58], edx
lea edx, [esp + 0x48]
push edx
push ebx
mov eax, 0x800
push ebx
lea ecx, [esp + 0x8ac]
push esi
mov dword [esp + 0x58], 0x3c
mov dword [esp + 0x6c], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov eax, dword [esp + 0x58]
push eax
mov ecx, edi
call fcn.004803b0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4806a0
mov ecx, dword [esp + 0x74]
push ebx
push 0x84000000
push ebx
push ebx
push ebx
push ecx
push str.POST
push ebp
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x480699
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea ecx, [esp + 0x88]
call fcn.00446130
cmp dword [esp + 0x9c], 8
mov eax, dword [esp + 0x88]
jae 0x4805db
lea eax, [esp + 0x88]
mov edx, dword [esp + 0x98]
push 0x20000000
push edx
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
xor eax, eax
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10b0]
push ecx
mov ecx, esi
mov dword [esp + 0x24], 0x28
mov dword [esp + 0x40], eax
xor bl, bl
call fcn.00480430
add esp, 4
test eax, eax
je 0x480658
mov eax, dword [esp + 0x10b0]
mov ecx, dword [esp + 0x1c]
push esi
call fcn.00480210
add esp, 4
test eax, eax
jne 0x480658
mov bl, 1
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test bl, bl
je 0x480682
mov edx, dword [esp + 0x10b4]
mov ecx, dword [esp + 0x18]
push edx
push esi
call fcn.00480260
add esp, 8
mov dword [esp + 0x14], eax
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0x84]
call fcn.0043b900
mov ebx, dword [esp + 0x14]
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [esp + 0x10a4]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004cc2b1
add esp, 0x1098
ret
Function at 0x480d60
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x50a90b
mov eax, dword fs:[0]
push eax
mov eax, 0x1134
call fcn.004d75e0
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x1130], eax
push ebp
push esi
mov eax, dword [0x53f5a0]
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.004d3360
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 0x480e08
mov dword [ebx], 5
jmp 0x480f4c
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.00438f20
mov dword [esp + 0x1148], 0
cmp byte [edi + 0x11c], 0
lea eax, [edi + 0xc]
jne 0x480e44
mov eax, dword [edi + 8]
add eax, 4
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x144]
call fcn.004809a0
add esp, 8
test al, al
jne 0x480e99
mov dword [ebx], 7
mov dword [esp + 0x18], vtable.t_str.0
cmp byte [esp + 0x134], al
jne 0x480f4c
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x480f4c
push eax
call fcn.004cc2c0
add esp, 4
jmp 0x480f4c
cmp byte [esp + 0x134], 0
lea eax, [esp + 0x24]
jne 0x480eab
mov eax, dword [esp + 0x20]
add eax, 4
mov edx, edi
call fcn.00439130
cmp byte [esp + 0x134], 0
lea ecx, [esp + 0x24]
jne 0x480ec7
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 0x480f19
mov dword [ebx], 8
mov dword [esp + 0x18], vtable.t_str.0
cmp byte [esp + 0x134], al
jne 0x480f4c
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
cmp eax, edx
je 0x480f4c
push eax
call fcn.004cc2c0
add esp, 4
jmp 0x480f4c
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 0x480f74
mov dword [ebx], 6
lea ecx, [esp + 0x18]
call fcn.00439080
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.004cc2b1
add esp, 0x1140
ret
mov eax, dword [esi]
cmp eax, 0xc8
je 0x480f43
cmp eax, 0x12c
jb 0x480f43
cmp eax, 0x190
jae 0x480f43
lea ecx, [esp + 0x18]
call fcn.00439080
mov al, 1
jmp 0x480f4e
Function at 0x480fa0
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 0x480fda
pop edi
pop ebp
xor al, al
pop ebx
add esp, 8
ret
cmp dword [esi], 0xc8
jne 0x480feb
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 0x481037
cmp eax, 0x190
jae 0x481037
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.00480d60
add esp, 0xc
test al, al
je 0x481037
mov eax, dword [esp + 0xc]
inc eax
cmp eax, 5
mov dword [esp + 0xc], eax
jl 0x481010
xor eax, eax
cmp dword [ebx], eax
pop edi
pop ebp
sete al
pop ebx
add esp, 8
ret