Function at 0x49805a
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x120
mov esi, esp
mov dword [esi + 0x108], ebp
mov ecx, dword [ebp + 8]
lea ebx, [esi + 0x110]
mov dword [ebx - 4], esp
mov dword [ebx + 8], 0xffffffff
mov dword [ebx + 4], 0x498780
mov eax, dword fs:[0]
mov dword [ebx], eax
mov dword fs:[0], ebx
xor edi, edi
mov dword [ecx + 4], edi
push 0x40
call fcn.0053e4fc
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [ebx + 8], edi
xor eax, eax
inc eax
lea ecx, [esi + 0x60]
push eax
push eax
push dword [ebp + 0xc]
call fcn.004989b0
xorps xmm0, xmm0
lea eax, [esi + 0x10]
movaps xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov dword [esi + 0x118], 4
push 0xa
push eax
lea eax, [esi + 0x60]
push eax
call fcn.004997b7
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [eax + ecx + 0xc], 6
jne 0x498125
lea ecx, [esi + 0x2c]
lea eax, [esi + 0x10]
push eax
call fcn.004991b6
lea eax, [esi + 0x10]
jmp 0x4980ef
mov eax, dword [esi + 0x24]
cmp eax, 0x10
lea edi, [esi + 0x10]
jb 0x49813d
inc eax
push eax
push dword [esi + 0x10]
call fcn.00404bbf
add esp, 8
mov ebx, dword [esi + 0x2c]
mov eax, dword [esi + 0x30]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 0x10]
or eax, dword [ebp + 0x14]
setne byte [esi + 0xf]
lea eax, [esi + 0x40]
cmp ebx, dword [esi + 0x3c]
je 0x4983ce
mov dword [esi + 0x118], 1
mov ecx, edi
push eax
push 5
push 0
mov dword [esi + 8], ebx
push ebx
call fcn.0046f300
lea ecx, [esi + 0x10]
push str.HTTP_
call fcn.004362a2
mov ebx, eax
mov eax, dword [esi + 0x24]
cmp eax, 0x10
jb 0x49819a
inc eax
push eax
push dword [esi + 0x10]
call fcn.00404bbf
add esp, 8
test bl, bl
je 0x49829c
cmp byte [esi + 0xf], 0
je 0x49827d
mov edi, dword [esi + 8]
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x4981b9
mov eax, dword [edi]
push 4
push str._t_n_r
push 0xffffffffffffffff
push dword [edi + 0x10]
push eax
call fcn.00492a65
add esp, 0x14
inc eax
mov ecx, dword [edi + 0x10]
cmp eax, ecx
cmovae eax, ecx
mov ecx, edi
push 0
push eax
call fcn.0040b9bc
cmp dword [ebp + 0x10], 0
je 0x498208
mov eax, dword [esi + 8]
cmp eax, dword [ebp + 0x10]
je 0x498208
mov edx, dword [esi + 8]
cmp dword [edx + 0x14], 0x10
mov eax, edx
jb 0x4981fc
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
push dword [edx + 0x10]
push eax
call fcn.00422eb8
cmp dword [ebp + 0x14], 0
je 0x49827d
mov ecx, dword [esi + 8]
push 0
push 0x79a5d6
call fcn.0045c498
cmp eax, 0xffffffff
je 0x49827d
inc eax
mov ecx, dword [esi + 8]
push eax
push 0x79a5d6
call fcn.0045c498
cmp eax, 0xffffffff
je 0x49827d
inc eax
mov ebx, dword [esi + 8]
mov edi, dword [ebx + 0x10]
cmp edi, eax
cmovb eax, edi
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x49824c
mov ecx, dword [ebx]
sub edi, eax
lea edx, [edi + 1]
add eax, ecx
push edx
push eax
push ecx
call fcn.006fb4d0
add esp, 0xc
mov dword [ebx + 0x10], edi
cmp ebx, dword [ebp + 0x14]
je 0x49827d
mov ecx, dword [esi + 8]
cmp dword [ecx + 0x14], 0x10
mov eax, ecx
jb 0x498273
mov eax, dword [ecx]
mov ecx, dword [ebp + 0x14]
push edi
push eax
call fcn.00422eb8
mov ebx, dword [ebp + 8]
mov edi, dword [ebx]
mov ecx, ebx
push dword [edi + 4]
push ebx
call fcn.00420740
mov dword [edi + 4], edi
mov dword [edi], edi
mov dword [edi + 8], edi
mov dword [ebx + 4], 0
mov ebx, dword [esi + 8]
cmp dword [ebx + 0x10], 0
lea edi, [esi + 0x10]
je 0x4983c6
mov ecx, ebx
push 0
push 0x3a
call fcn.0046ecb8
cmp eax, 0xffffffff
je 0x4983c6
mov dword [esi + 0x38], eax
inc eax
mov ecx, edi
lea edx, [esi + 0x40]
push edx
push 0xffffffffffffffff
push eax
push ebx
call fcn.0046f300
lea ebx, [esi + 0x10]
mov ecx, ebx
xor eax, eax
push eax
push 0x79a5d6
call fcn.004929d2
mov edi, dword [esi + 0x20]
cmp edi, eax
cmovb eax, edi
cmp dword [esi + 0x24], 0x10
mov ecx, ebx
jb 0x4982f8
mov ecx, dword [esi + 0x10]
sub edi, eax
lea edx, [edi + 1]
add eax, ecx
push edx
push eax
push ecx
call fcn.006fb4d0
add esp, 0xc
mov dword [esi + 0x20], edi
cmp dword [esi + 0x24], 0x10
mov eax, ebx
jb 0x498318
mov eax, dword [esi + 0x10]
push 4
push str._t_n_r
push 0xffffffffffffffff
push edi
push eax
call fcn.00492a65
add esp, 0x14
inc eax
mov ecx, dword [esi + 0x20]
cmp eax, ecx
cmovae eax, ecx
mov dword [esi + 0x118], 2
mov ecx, ebx
xor edx, edx
push edx
push eax
call fcn.0040b9bc
lea ecx, [esi + 0x40]
lea eax, [esi + 0x58]
push eax
push dword [esi + 0x38]
push 0
push dword [esi + 8]
call fcn.0046f300
lea edx, [esi + 0x58]
lea eax, [esi + 0x40]
mov dword [esi + 0x118], 3
mov ecx, dword [ebp + 8]
push eax
push edx
call fcn.004999dc
lea edi, [esi + 0x10]
mov ecx, dword [esi + 0x58]
add ecx, 0x28
cmp ecx, edi
je 0x498399
cmp dword [esi + 0x24], 0x10
jb 0x49838d
mov edi, dword [esi + 0x10]
push dword [esi + 0x20]
push edi
call fcn.00422eb8
lea edi, [esi + 0x10]
mov eax, dword [esi + 0x54]
cmp eax, 0x10
jb 0x4983ae
inc eax
push eax
push dword [esi + 0x40]
call fcn.00404bbf
add esp, 8
mov eax, dword [esi + 0x24]
cmp eax, 0x10
mov ebx, dword [esi + 8]
jb 0x4983c6
inc eax
push eax
push dword [esi + 0x10]
call fcn.00404bbf
add esp, 8
add ebx, 0x18
jmp 0x498150
lea ecx, [esi + 0x60]
call fcn.00498ab8
lea ecx, [esi + 0x2c]
call fcn.004538b0
mov eax, dword [esi + 0x110]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret