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

Disassembly:
push 0xffffffffffffffff
push 0x4e4ca3
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x521a70]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb8]
mov esi, ecx
mov ecx, dword [esp + 0xbc]
xor ebx, ebx
push ebx
mov dword [esp + 0x20], ecx
push 0x4e9a2d
lea ecx, [esi + 0x12c]
mov dword [esp + 0x20], eax
mov dword [esi + 0x124], ebx
mov dword [esi + 0x194], ebx
call fcn.00402230
mov edx, dword [esi + 0x168]
mov eax, dword [edx + 4]
lea edi, [esi + 0x164]
push eax
mov ecx, edi
call fcn.004113f0
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [edi + 8], ebx
mov dword [eax], eax
mov edi, dword [edi + 4]
lea ecx, [esi + 0x17c]
mov dword [edi + 8], edi
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
cmp dword [esi + 0xf4], 0x10
lea ebp, [esi + 0xdc]
jb 0x496fde
mov eax, dword [ebp + 4]
jmp 0x496fe1
lea eax, [ebp + 4]
mov ecx, dword [esi + 0xf8]
mov edx, dword [esi]
mov edx, dword [edx + 0x3c]
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
mov ecx, esi
call edx
test al, al
jne 0x497010
mov dword [esi + 0x124], 0x2af9
xor eax, eax
jmp 0x4972f8
push 4
push str.GET
lea ecx, [esp + 0x90]
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
call fcn.00402230
mov edi, dword [esp + 0x18]
mov eax, edi
mov dword [esp + 0xb0], ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x497050
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x90]
call fcn.00402300
push 9
push str._HTTP_1.1
lea ecx, [esp + 0x90]
call fcn.00402300
cmp dword [esp + 0xa0], 0x10
mov eax, dword [esp + 0x8c]
lea edi, [esi + 0x50]
jae 0x497097
lea eax, [esp + 0x8c]
push eax
push edi
call fcn.00418f60
push 0x4e9f94
push edi
call fcn.00418f60
mov eax, dword [esi]
mov edx, dword [eax + 0xa0]
add esp, 0x10
mov ecx, esi
call edx
push 6
push str.Host:
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.00402230
push 0xffffffffffffffff
push ebx
push ebp
lea ecx, [esp + 0x78]
mov byte [esp + 0xbc], 1
call fcn.00402050
cmp dword [esp + 0x84], 0x10
mov eax, dword [esp + 0x70]
jae 0x497105
lea eax, [esp + 0x70]
push eax
push edi
call fcn.00418f60
push 0x4e9f94
push edi
call fcn.00418f60
push str.Sfgfsfs__iuuq_00xxx_fypouspm_dpn
call fcn.004b86b0
mov ebp, eax
mov ecx, ebp
add esp, 0x14
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
lea edx, [ecx + 1]
jmp 0x497140
mov al, byte [ecx]
add ecx, 1
cmp al, bl
jne 0x497140
sub ecx, edx
push ecx
push ebp
lea ecx, [esp + 0x58]
call fcn.00402230
mov ebp, dword [esp + 0x1c]
cmp ebp, ebx
mov byte [esp + 0xb0], 2
je 0x497196
cmp byte [ebp], bl
je 0x497196
push 8
push str.Referer:
lea ecx, [esp + 0x58]
call fcn.00402230
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x497180
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x58]
call fcn.00402300
cmp dword [esp + 0x68], 0x10
mov eax, dword [esp + 0x54]
jae 0x4971a5
lea eax, [esp + 0x54]
push eax
push edi
call fcn.00418f60
push 0x4e9f94
push edi
call fcn.00418f60
push 0x4e9f94
push edi
call fcn.00418f60
add esp, 0x18
mov ebp, 0x4960f0
lea ebx, [ebx]
sub esp, 0xc
mov eax, esp
mov dword [eax], ebp
mov ecx, 0xffffffb8
mov dword [eax + 4], ecx
xor ecx, ecx
mov dword [eax + 8], ecx
push esi
lea ecx, [esp + 0x30]
call fcn.00493670
mov eax, dword [esi + 0x128]
push eax
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 3
call fcn.004935f0
test eax, eax
je 0x49721a
cmp dword [esi + 0x124], ebx
jne 0x49721a
mov edi, 1
jmp 0x49721c
xor edi, edi
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov byte [esp + 0xb0], 2
mov dword [esp + 0x20], vtable.thread.0
je 0x49725d
push 0xffffffffffffffff
push eax
mov dword [esp + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x14]
lea ecx, [esp + 0x20]
call eax
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jne 0x4971d0
mov edx, dword [esi + 0x17c]
mov edx, dword [edx]
lea ecx, [esi + 0x17c]
push 1
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x1c], bl
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
mov ecx, esi
call edx
mov edi, 0x10
cmp dword [esp + 0x68], edi
jb 0x4972a1
mov eax, dword [esp + 0x54]
push eax
call fcn.004b9684
add esp, 4
cmp dword [esp + 0x84], edi
mov esi, 0xf
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x4972c8
mov ecx, dword [esp + 0x70]
push ecx
call fcn.004b9684
add esp, 4
cmp dword [esp + 0xa0], edi
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
jb 0x4972f3
mov edx, dword [esp + 0x8c]
push edx
call fcn.004b9684
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004b9963
add esp, 0xa0
ret 8