Function at 0x405200
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x43fc4f
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x452528]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x452528]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xd8]
xor edi, edi
push edi
mov esi, ecx
push 0x446de8
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], edi
mov byte [esp + 0x44], 0
call fcn.004012c0
mov eax, esi
mov dword [esp + 0xd0], edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x405276
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x40]
call fcn.004012c0
mov eax, dword [esp + 0x3c]
mov ebx, 0x10
cmp dword [esp + 0x50], ebx
jae 0x40529f
lea eax, [esp + 0x3c]
push 7
push str.http:__
push eax
call fcn.00428d73
add esp, 0xc
test eax, eax
je 0x4052cd
cmp dword [esp + 0x50], ebx
jb 0x4052c6
mov eax, dword [esp + 0x3c]
push eax
call fcn.00409b4d
add esp, 4
xor al, al
jmp 0x405860
push 1
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x40]
push edx
mov eax, 7
mov byte [esp + 0x20], 0x2f
call fcn.004032e0
mov edi, eax
cmp edi, 0xffffffff
lea edx, [esp + 0x38]
jne 0x40543d
push eax
mov ecx, 7
lea esi, [esp + 0x90]
call fcn.00403220
mov byte [esp + 0xd0], 1
cmp dword [eax + 0x18], ebx
jb 0x40531b
mov edx, dword [eax + 4]
jmp 0x40531e
lea edx, [eax + 4]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x405323
sub eax, esi
push eax
push edx
lea ecx, [ebp + 0xac]
call fcn.004012c0
mov byte [esp + 0xd0], 0
cmp dword [esp + 0xa4], ebx
jb 0x40535c
mov eax, dword [esp + 0x90]
push eax
call fcn.00409b4d
add esp, 4
push 0xa
push str.index.html
lea ecx, [ebp + 0xe4]
call fcn.004012c0
push 0xb
push str._index.html
lea ecx, [ebp + 0xc8]
call fcn.004012c0
cmp dword [esp + 0x50], ebx
mov edx, dword [esp + 0x3c]
jae 0x40538e
lea edx, [esp + 0x3c]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x405393
sub eax, esi
push eax
push edx
lea ecx, [ebp + 0x100]
call fcn.004012c0
push 1
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x40]
push edx
mov eax, 7
mov byte [esp + 0x20], 0x3a
call fcn.004032e0
cmp eax, 0xffffffff
jne 0x4053d6
mov word [ebp + 0xa2], 0x50
jmp 0x405429
mov ecx, dword [esp + 0x4c]
sub ecx, eax
sub ecx, 1
push ecx
lea ecx, [eax + 1]
lea esi, [esp + 0x90]
lea edx, [esp + 0x3c]
call fcn.00403220
cmp dword [eax + 0x18], ebx
jb 0x4053fd
mov eax, dword [eax + 4]
jmp 0x405400
add eax, 4
push eax
call fcn.004287b7
add esp, 4
cmp dword [esp + 0xa4], ebx
mov word [ebp + 0xa2], ax
jb 0x405429
mov edx, dword [esp + 0x90]
push edx
call fcn.00409b4d
add esp, 4
cmp dword [esp + 0x50], ebx
jb 0x40585e
mov eax, dword [esp + 0x3c]
push eax
jmp 0x405856
lea ecx, [edi - 7]
push ecx
mov ecx, 7
lea esi, [esp + 0x74]
call fcn.00403220
push 0xffffffffffffffff
mov ecx, edi
lea esi, [esp + 0x58]
lea edx, [esp + 0x3c]
mov byte [esp + 0xd4], 2
call fcn.00403220
push 1
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0xdc], 3
xor eax, eax
mov byte [esp + 0x20], 0x3a
call fcn.004032e0
mov edi, eax
cmp edi, 0xffffffff
jne 0x4054d2
cmp dword [esp + 0x88], ebx
mov edx, dword [esp + 0x74]
mov word [ebp + 0xa2], 0x50
jae 0x4054a9
lea edx, [esp + 0x74]
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4054b0
sub eax, esi
push eax
push edx
lea ecx, [ebp + 0xac]
call fcn.004012c0
mov edi, 0x10
jmp 0x4055ba
mov ecx, dword [esp + 0x84]
sub ecx, edi
sub ecx, 1
push ecx
lea ecx, [edi + 1]
lea esi, [esp + 0x90]
lea edx, [esp + 0x74]
call fcn.00403220
mov bl, 4
push edi
xor ecx, ecx
lea esi, [esp + 0x20]
lea edx, [esp + 0x74]
mov byte [esp + 0xd4], bl
call fcn.00403220
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0xdc], 5
call fcn.004011d0
mov byte [esp + 0xd0], bl
cmp dword [esp + 0x34], 0x10
jb 0x40553c
mov edx, dword [esp + 0x20]
push edx
call fcn.00409b4d
add esp, 4
mov edx, dword [esp + 0x74]
mov edi, 0x10
cmp dword [esp + 0x88], edi
jae 0x405552
lea edx, [esp + 0x74]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x405557
sub eax, esi
push eax
push edx
lea ecx, [ebp + 0xac]
call fcn.004012c0
cmp dword [esp + 0xa4], edi
mov eax, dword [esp + 0x90]
jae 0x405586
lea eax, [esp + 0x90]
push eax
call fcn.004287b7
movzx eax, ax
add esp, 4
mov byte [esp + 0xd0], 3
cmp dword [esp + 0xa4], edi
mov word [ebp + 0xa2], ax
jb 0x4055ba
mov eax, dword [esp + 0x90]
push eax
call fcn.00409b4d
add esp, 4
cmp dword [esp + 0x6c], edi
mov edx, dword [esp + 0x58]
jae 0x4055c8
lea edx, [esp + 0x58]
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4055d0
sub eax, esi
mov esi, dword [esp + 0x18]
push eax
push edx
lea ecx, [esi + 0xc8]
call fcn.004012c0
lea ecx, [esp + 0x14]
push ecx
lea edi, [esp + 0x58]
mov byte [esp + 0x18], 0x2f
call fcn.00405890
mov edi, eax
lea ebp, [edi + 1]
cmp ebp, dword [esp + 0x68]
jne 0x405675
push 0xa
push str.index.html
lea ecx, [esi + 0xe4]
call fcn.004012c0
mov esi, 0x10
cmp dword [esp + 0x6c], esi
jb 0x405634
mov edx, dword [esp + 0x58]
push edx
call fcn.00409b4d
add esp, 4
xor edi, edi
cmp dword [esp + 0x88], esi
mov ebx, 0xf
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], edi
mov byte [esp + 0x58], 0
jb 0x40565e
mov eax, dword [esp + 0x74]
push eax
call fcn.00409b4d
add esp, 4
cmp dword [esp + 0x50], esi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], edi
jmp 0x40584a
push str.http:__
lea ecx, [esp + 0xac]
call fcn.00401160
push 0
lea edx, [esp + 0x74]
mov bl, 6
push edx
or eax, 0xffffffff
lea esi, [esp + 0xb0]
mov byte [esp + 0xd8], bl
call fcn.00401b20
push edi
xor ecx, ecx
lea esi, [esp + 0x20]
lea edx, [esp + 0x58]
call fcn.00403220
push 0
push eax
or eax, 0xffffffff
lea esi, [esp + 0xb0]
mov byte [esp + 0xd8], 7
call fcn.00401b20
mov byte [esp + 0xd0], bl
cmp dword [esp + 0x34], 0x10
jb 0x4056ea
mov eax, dword [esp + 0x20]
push eax
call fcn.00409b4d
add esp, 4
cmp dword [esp + 0xc0], 0x10
mov edx, dword [esp + 0xac]
jae 0x405702
lea edx, [esp + 0xac]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x405707
mov ecx, dword [esp + 0x18]
sub eax, esi
push eax
push edx
add ecx, 0x100
call fcn.004012c0
push 1
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x5c]
push edx
xor eax, eax
mov byte [esp + 0x20], 0x3f
call fcn.004032e0
cmp eax, 0xffffffff
mov ecx, ebp
lea esi, [esp + 0x1c]
lea edx, [esp + 0x54]
jne 0x405763
mov eax, dword [esp + 0x68]
sub eax, edi
sub eax, 1
push eax
call fcn.00403220
mov byte [esp + 0xd0], 8
jmp 0x405776
sub eax, edi
sub eax, 1
push eax
call fcn.00403220
mov byte [esp + 0xd0], 9
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x60]
call fcn.004011d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd0], bl
call fcn.004011a0
mov edx, dword [esp + 0x58]
mov ebx, 0x10
cmp dword [esp + 0x6c], ebx
jae 0x4057a7
lea edx, [esp + 0x58]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4057b0
mov ecx, dword [esp + 0x18]
sub eax, esi
push eax
push edx
add ecx, 0xe4
call fcn.004012c0
cmp dword [esp + 0xc0], ebx
jb 0x4057e5
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00409b4d
add esp, 4
xor esi, esi
cmp dword [esp + 0x6c], ebx
mov edi, 0xf
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], esi
mov byte [esp + 0xac], 0
jb 0x405815
mov edx, dword [esp + 0x58]
push edx
call fcn.00409b4d
add esp, 4
cmp dword [esp + 0x88], ebx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], esi
mov byte [esp + 0x58], 0
jb 0x405838
mov eax, dword [esp + 0x74]
push eax
call fcn.00409b4d
add esp, 4
cmp dword [esp + 0x50], ebx
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], esi
mov byte [esp + 0x74], 0
jb 0x40585e
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00409b4d
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00426fe7
add esp, 0xc0
ret 4