Function at 0x4856a9
Capabilities:
Terminate process

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, ecx
mov dword [esp + 0x14], edx
push ebp
push esi
push edi
cmp dword [ebx + 0x18], 0xffffffff
je 0x4856c4
mov esi, dword [ebx + 0x28]
add esi, dword [ebx + 0x20]
jmp 0x4856ca
mov esi, dword [ebx + 0x14]
add esi, dword [ebx + 4]
mov ecx, dword [ebx + 0x84]
call fcn.004845be
mov edi, eax
add esi, 0xc
jmp 0x485722
lea eax, [esp + 0x10]
mov ecx, edi
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x28]
call fcn.0048465e
mov edx, dword [esp + 0x1c]
add esp, 0xc
cmp edx, 0xffffffff
je 0x485722
mov eax, dword [esp + 0x14]
add eax, 4
add eax, edx
add esi, eax
cmp edx, 0x320
jbe 0x485722
sub esp, 0xc
call fcn.00485586
add esp, 0xc
add esi, eax
mov ecx, edi
call fcn.0048461c
test eax, eax
je 0x4856dc
push 1
push edi
call fcn.005e7dd0
mov eax, dword [ebx + 0x30]
mov edi, 0x19b9
push edi
add eax, 3
push 0x721594
add esi, eax
push 1
push esi
mov dword [esp + 0x3c], esi
call fcn.005e7f10
mov ebp, eax
add esp, 0x18
mov eax, dword [esp + 0x20]
mov dword [eax], ebp
test ebp, ebp
je 0x485987
cmp dword [ebx + 0x18], 0xffffffff
mov edx, esi
mov ecx, ebp
je 0x4857ca
push 5
push str.HTTP_
call section..text
push dword [ebx + 0x28]
lea edx, [esi - 5]
push dword [ebx + 0x24]
lea ecx, [ebp + 5]
call section..text
push dword [ebx + 0x18]
mov edi, dword [ebx + 0x28]
mov eax, esi
add edi, 5
sub eax, edi
push str.__d
push eax
lea eax, [edi + ebp]
push eax
call fcn.0040117f
push dword [ebx + 0x20]
add edi, eax
mov edx, esi
push dword [ebx + 0x1c]
sub edx, edi
lea ecx, [edi + ebp]
call section..text
add edi, dword [ebx + 0x20]
push 2
push 0x72161c
jmp 0x485832
push dword [ebx + 4]
push dword [ebx]
call section..text
mov edi, dword [ebx + 4]
mov edx, esi
push 1
push 0x721620
sub edx, edi
lea ecx, [edi + ebp]
call section..text
push dword [ebx + 0x14]
inc edi
mov edx, esi
push dword [ebx + 8]
sub edx, edi
lea ecx, [edi + ebp]
call section..text
add edi, dword [ebx + 0x14]
mov edx, esi
push 6
push str._HTTP_
sub edx, edi
lea ecx, [edi + ebp]
call section..text
push dword [ebx + 0x28]
add edi, 6
mov edx, esi
push dword [ebx + 0x24]
sub edx, edi
lea ecx, [edi + ebp]
call section..text
add edi, dword [ebx + 0x28]
push 2
push 0x72162c
mov edx, esi
lea ecx, [edi + ebp]
sub edx, edi
call section..text
mov ecx, dword [ebx + 0x84]
add esp, 0x30
call fcn.004845be
mov ecx, eax
mov dword [esp + 0x28], ecx
jmp 0x485933
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x28]
call fcn.0048465e
add esp, 0xc
cmp dword [esp + 0x10], 0xffffffff
je 0x485936
push dword [esp + 0x14]
mov edx, esi
lea ecx, [edi + ebp]
push dword [esp + 0x20]
sub edx, edi
call section..text
add edi, dword [esp + 0x1c]
mov edx, esi
push 2
push 0x721630
sub edx, edi
lea ecx, [edi + ebp]
call section..text
mov edx, dword [esp + 0x20]
add esp, 4
add edi, 2
call fcn.00485586
add esp, 0xc
cmp eax, dword [esp + 0x10]
jbe 0x485900
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x18]
push eax
sub esp, 0xc
call fcn.004855a9
mov edx, dword [esp + 0x34]
lea ecx, [edi + ebp]
mov esi, eax
sub edx, edi
push esi
push dword [esp + 0x34]
call section..text
push 1
push dword [esp + 0x3c]
add edi, esi
call fcn.005e7dd0
mov esi, dword [esp + 0x44]
add esp, 0x20
jmp 0x48591a
push dword [esp + 0x10]
mov edx, esi
lea ecx, [edi + ebp]
push dword [esp + 0x1c]
sub edx, edi
call section..text
add edi, dword [esp + 0x18]
pop ecx
pop ecx
push 2
mov edx, esi
lea ecx, [edi + ebp]
push 0x72163c
sub edx, edi
call section..text
pop ecx
pop ecx
mov ecx, dword [esp + 0x28]
add edi, 2
call fcn.0048461c
test eax, eax
je 0x485857
push 1
push ecx
call fcn.005e7dd0
push 2
mov edx, esi
lea ecx, [edi + ebp]
push 0x721640
sub edx, edi
call section..text
push dword [ebx + 0x30]
add edi, 2
push dword [ebx + 0x2c]
sub esi, edi
mov edx, esi
lea ecx, [edi + ebp]
call section..text
add esp, 0x18
add edi, dword [ebx + 0x30]
mov eax, edi
mov byte [edi + ebp], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x7215b0
push esi
push edi
xor ecx, ecx
call fcn.00488a50
push edi
push 0x7215cc
push 0x7215e8
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
int3