Function at 0x4b1620
Capabilities:
Terminate process

Disassembly:
sub esp, 0x14
push ebx
mov ebx, ecx
mov dword [esp + 8], edx
push ebp
push esi
push edi
cmp dword [ebx + 0x18], 0xffffffff
mov dword [esp + 0x18], ebx
je 0x4b163f
mov edi, dword [ebx + 0x28]
add edi, dword [ebx + 0x20]
jmp 0x4b1645
mov edi, dword [ebx + 0x14]
add edi, dword [ebx + 4]
mov esi, dword [ebx + 0x84]
push 4
call fcn.0058db11
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4b199c
mov eax, dword [esi]
add edi, 0xc
mov dword [ebp], eax
mov esi, dword [ebp]
test esi, esi
je 0x4b16c9
mov esi, dword [esi]
xor eax, eax
test esi, esi
mov dword [ebp], esi
sete al
test eax, eax
jne 0x4b16c9
mov eax, dword [esi + 0x10]
mov esi, dword [esi + 0x18]
test esi, esi
js 0x4b1667
add eax, 4
add eax, esi
add edi, eax
cmp esi, 0x320
jle 0x4b1667
lea eax, [esi - 0x320]
cmp eax, 0x320
jae 0x4b16af
xor ecx, ecx
lea eax, [esi + ecx*2]
add eax, ecx
add edi, eax
jmp 0x4b1667
mov eax, 0x51eb851f
imul esi
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [esi + ecx*2]
add eax, ecx
add edi, eax
jmp 0x4b1667
push ebp
call fcn.0058c812
mov ebp, dword [ebx + 0x30]
add esp, 4
add ebp, 3
add ebp, edi
push ebp
call fcn.0058db11
mov ebx, eax
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [eax], ebx
test ebx, ebx
je 0x4b19dd
mov edi, dword [esp + 0x18]
mov edx, ebp
mov ecx, ebx
cmp dword [edi + 0x18], 0xffffffff
je 0x4b175a
push 5
push str.HTTP_
call fcn.00401000
push dword [edi + 0x28]
lea edx, [ebp - 5]
push dword [edi + 0x24]
lea ecx, [ebx + 5]
call fcn.00401000
push dword [edi + 0x18]
mov esi, dword [edi + 0x28]
mov eax, ebp
add esi, 5
sub eax, esi
push str.__d
push eax
lea eax, [esi + ebx]
push eax
call fcn.00401140
push dword [edi + 0x20]
add esi, eax
mov edx, ebp
push dword [edi + 0x1c]
sub edx, esi
lea ecx, [esi + ebx]
call fcn.00401000
add esi, dword [edi + 0x20]
push 2
push 0x624e84
jmp 0x4b17c2
push dword [edi + 4]
push dword [edi]
call fcn.00401000
mov esi, dword [edi + 4]
mov edx, ebp
push 1
push 0x624e88
sub edx, esi
lea ecx, [esi + ebx]
call fcn.00401000
push dword [edi + 0x14]
inc esi
mov edx, ebp
push dword [edi + 8]
sub edx, esi
lea ecx, [esi + ebx]
call fcn.00401000
add esi, dword [edi + 0x14]
mov edx, ebp
push 6
push str._HTTP_
sub edx, esi
lea ecx, [esi + ebx]
call fcn.00401000
push dword [edi + 0x28]
add esi, 6
mov edx, ebp
push dword [edi + 0x24]
sub edx, esi
lea ecx, [esi + ebx]
call fcn.00401000
add esi, dword [edi + 0x28]
push 2
push 0x624e94
mov edx, ebp
lea ecx, [esi + ebx]
sub edx, esi
call fcn.00401000
mov ecx, dword [edi + 0x84]
add esp, 0x30
call fcn.004b03d0
mov ecx, eax
mov dword [esp + 0x14], ecx
add esi, 2
mov edi, dword [ecx]
test edi, edi
je 0x4b1953
mov edi, dword [edi]
xor eax, eax
test edi, edi
mov dword [ecx], edi
sete al
test eax, eax
jne 0x4b1953
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
mov edi, dword [edi + 0x18]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
test edi, edi
js 0x4b17e5
push eax
push edx
mov edx, ebp
lea ecx, [esi + ebx]
sub edx, esi
call fcn.00401000
add esi, dword [esp + 0x24]
mov eax, ebp
add esp, 8
sub eax, esi
lea ecx, [esi + ebx]
test ecx, ecx
jne 0x4b184b
call fcn.0058c5c1
mov dword [eax], 0x16
jmp 0x4b1872
cmp eax, 2
jb 0x4b185b
mov ax, word [0x624e98]
mov word [ecx], ax
jmp 0x4b1877
push eax
push 0
push ecx
call fcn.00587250
add esp, 0xc
call fcn.0058c5c1
mov dword [eax], 0x22
call fcn.0058c19e
lea eax, [edi - 0x320]
add esi, 2
cmp eax, 0x320
jae 0x4b188b
xor ecx, ecx
jmp 0x4b189c
mov eax, 0x51eb851f
imul edi
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [edi + ecx*2]
add eax, ecx
cmp eax, edi
jle 0x4b18dd
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
sub esp, 0xc
mov edx, edi
call fcn.004b14f0
mov edi, dword [esp + 0x30]
lea ecx, [esi + ebx]
push eax
mov edx, ebp
mov dword [esp + 0x30], eax
push edi
sub edx, esi
call fcn.00401000
push edi
call fcn.0058c812
mov edi, dword [esp + 0x38]
add esp, 0x1c
jmp 0x4b18f1
push edi
push dword [esp + 0x14]
mov edx, ebp
lea ecx, [esi + ebx]
sub edx, esi
call fcn.00401000
add esp, 8
add esi, edi
mov eax, ebp
sub eax, esi
lea ecx, [esi + ebx]
test ecx, ecx
jne 0x4b1917
call fcn.0058c5c1
mov dword [eax], 0x16
call fcn.0058c19e
mov ecx, dword [esp + 0x14]
jmp 0x4b17e2
cmp eax, 2
jb 0x4b192e
mov ax, word [0x624ea4]
mov word [ecx], ax
mov ecx, dword [esp + 0x14]
jmp 0x4b17e2
push eax
push 0
push ecx
call fcn.00587250
add esp, 0xc
call fcn.0058c5c1
mov dword [eax], 0x22
call fcn.0058c19e
mov ecx, dword [esp + 0x14]
jmp 0x4b17e2
push ecx
call fcn.0058c812
add esp, 4
lea ecx, [esi + ebx]
mov edx, ebp
sub edx, esi
push 2
push 0x624ea8
call fcn.00401000
mov edi, dword [esp + 0x20]
add esi, 2
sub ebp, esi
mov edx, ebp
push dword [edi + 0x30]
lea ecx, [esi + ebx]
push dword [edi + 0x2c]
call fcn.00401000
add esp, 0x10
add esi, dword [edi + 0x30]
mov eax, esi
pop edi
mov byte [esi + ebx], 0
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0xfb7
mov edx, 0x624658
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0xfb7
push 0x624674
push 0x624690
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.005885bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x14f0
mov edx, 0x624e18
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0x14f0
push 0x624e34
push 0x624e50
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.005885bd
int3