Function at 0x418300
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x475ff6
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x48b2b0]
xor eax, esp
mov dword [esp + 0x428], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
mov edi, edx
mov eax, dword [esp + 0x468]
mov edx, dword [esp + 0x464]
mov esi, dword [esp + 0x450]
push edx
mov edx, dword [esp + 0x45c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x464]
push eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x464]
push ecx
push edx
push edi
mov ebx, esi
mov dword [esp + 0x40], esi
call fcn.00418cd0
mov ebp, eax
test ebp, ebp
jne 0x418420
push 0x6c
call fcn.00458595
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x448], ebp
test eax, eax
je 0x4183aa
push eax
call fcn.00418e90
jmp 0x4183ac
xor eax, eax
mov ecx, dword [esp + 0x46c]
mov edx, dword [esp + 0x1c]
push 0
push ecx
mov ecx, dword [esp + 0x468]
push edx
mov edx, dword [esp + 0x468]
push ecx
mov ecx, dword [esp + 0x468]
push edx
mov edx, dword [esp + 0x468]
push ecx
mov ecx, dword [esp + 0x47c]
push edx
mov ebp, eax
push edi
mov dword [esp + 0x468], 0xffffffff
mov edi, eax
mov dword [esp + 0x38], ebp
call fcn.00419170
mov edi, dword [esi + 0x14]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x18]
push eax
push ecx
push edi
call fcn.0042e4d0
mov ecx, esi
mov ebx, eax
call fcn.0041a790
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
jmp 0x41845e
mov edx, dword [esp + 0x46c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x460]
push 0
push edx
mov edx, dword [esp + 0x464]
push eax
mov eax, dword [esp + 0x464]
push ecx
mov ecx, dword [esp + 0x464]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x480]
push edi
mov edi, ebp
call fcn.00419170
mov al, byte [ebp + 0x2c]
mov ecx, 0x50
test al, al
je 0x418bde
cmp word [esp + 0x460], cx
jne 0x41890d
cmp byte [ebp + 0x2d], 0
jne 0x41890d
mov edx, dword [esp + 0x464]
mov eax, dword [esp + 0x458]
push ecx
mov ecx, dword [esp + 0x460]
push edx
push eax
mov byte [ebp + 0x2d], 1
mov edx, dword [ebp + 0xc]
push ecx
push edx
mov ebx, esi
call fcn.00418cd0
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x418bde
cmp byte [edi + 0x2c], 0
je 0x418bde
mov eax, dword [ebp + 0x28]
movsx ecx, byte [eax + 9]
movsx edx, byte [eax + 0xa]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*2]
movsx edx, byte [eax + 0xb]
lea ecx, [ecx + ecx*4]
lea eax, [edx + ecx*2 - 0x14d0]
mov dword [esp + 0x18], eax
cmp eax, 0x14
jne 0x4184f5
cmp dword [ebp + 0x28], 0
jne 0x4184f5
int3
lea esi, [esp + 0x14c]
call fcn.00415030
lea esi, [esp + 0x2c4]
mov dword [esp + 0x448], 1
call fcn.00415030
mov byte [esp + 0x448], 2
mov edx, dword [edi + 0x28]
lea ebx, [esp + 0x14c]
call fcn.00415360
mov edx, dword [ebp + 0x28]
mov ebx, esi
call fcn.00415360
mov eax, esi
call fcn.00415a90
test eax, eax
jne 0x41857a
mov esi, dword [esp + 0x30]
push 0x47a966
mov ecx, esi
call fcn.00407ef0
push 0x47a966
lea ecx, [esi + 0x1c]
call fcn.00407ef0
push 0x47a966
lea ecx, [esi + 0x38]
mov dword [esi + 0x54], 0
call fcn.00407ef0
jmp 0x418718
lea esi, [esp + 0xf8]
lea eax, [esp + 0x14c]
call fcn.0041a9a0
push 0
mov eax, esi
push eax
mov edx, str._HTTP_1.
call fcn.00402590
mov dword [esp + 0xf4], 0xf
mov dword [esp + 0xf0], 0
mov byte [esp + 0xe0], 0
mov ebx, 4
mov byte [esp + 0x448], bl
cmp eax, 0xffffffff
je 0x418605
push eax
xor ecx, ecx
lea esi, [esp + 0x38]
lea edx, [esp + 0xfc]
call fcn.00407d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xe8]
mov byte [esp + 0x454], 5
call fcn.00403920
mov ecx, esi
mov byte [esp + 0x448], bl
call fcn.00403a30
lea esi, [esp + 0x50]
lea eax, [esp + 0x14c]
call fcn.0041a970
lea ecx, [esp + 0xdc]
push ecx
push eax
lea edi, [esp + 0x3c]
mov byte [esp + 0x450], 6
call fcn.00403340
add esp, 8
mov edi, dword [esp + 0x30]
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
mov byte [esp + 0x454], 7
call fcn.00403920
lea ecx, [esp + 0x34]
call fcn.00403a30
mov ecx, esi
mov byte [esp + 0x448], bl
call fcn.00403a30
lea esi, [esp + 0x34]
lea eax, [esp + 0x14c]
call fcn.0041a940
push 0xffffffffffffffff
push 0
push eax
lea ecx, [edi + 0x1c]
mov byte [esp + 0x454], 8
call fcn.00403920
mov ecx, esi
mov byte [esp + 0x448], bl
call fcn.00403a30
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x54], esi
mov eax, dword [edx + 0x28]
push eax
lea ecx, [edi + 0x38]
call fcn.00407ef0
mov eax, dword [ebp + 0x1c]
mov ecx, eax
sub ecx, dword [ebp + 0x24]
sub ecx, ebx
test ecx, ecx
jle 0x4186f8
cmp esi, 0xc8
jne 0x4186f8
inc eax
push eax
call fcn.00458343
mov dword [edi + 0x58], eax
mov edx, dword [ebp + 0x1c]
add esp, 4
inc edx
push edx
push 0
push eax
call fcn.0045da70
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x28]
mov edx, dword [edi + 0x58]
add esp, 0xc
push eax
push ecx
push edx
call fcn.0045d440
mov eax, dword [ebp + 0x1c]
add esp, 0xc
mov dword [edi + 0x5c], eax
lea ecx, [esp + 0xdc]
call fcn.00403a30
lea ecx, [esp + 0xf8]
mov byte [esp + 0x448], 2
call fcn.00403a30
lea esi, [esp + 0x130]
lea eax, [esp + 0x2c4]
call fcn.0041a9a0
push 3
xor ecx, ecx
lea esi, [esp + 0x118]
lea edx, [esp + 0x134]
mov byte [esp + 0x44c], 9
call fcn.00407d50
push str._r_n_r_n
lea ecx, [esp + 0x8c]
mov byte [esp + 0x44c], 0xa
call fcn.004035f0
mov ebx, eax
lea esi, [esp + 0x6c]
lea eax, [esp + 0x14c]
mov byte [esp + 0x448], 0xb
call fcn.0041a9a0
mov dword [esp + 0x18], eax
lea esi, [esp + 0xa4]
lea eax, [esp + 0x14c]
mov byte [esp + 0x448], 0xc
call fcn.0041a970
mov esi, eax
push 0x47aef4
lea ecx, [esp + 0xe0]
mov byte [esp + 0x44c], 0xd
call fcn.004035f0
push eax
lea ecx, [esp + 0x118]
push ecx
lea edi, [esp + 0x58]
mov byte [esp + 0x450], 0xe
call fcn.00403340
push esi
push eax
lea edi, [esp + 0x108]
mov byte [esp + 0x458], 0xf
call fcn.00403340
mov byte [esp + 0x458], 0x10
mov edx, dword [esp + 0x28]
push edx
push eax
lea edi, [esp + 0x4c]
call fcn.00403340
push ebx
push eax
lea edi, [esp + 0xe0]
mov byte [esp + 0x468], 0x11
call fcn.00403340
add esp, 0x20
lea ecx, [esp + 0x34]
call fcn.00403a30
lea ecx, [esp + 0xf8]
call fcn.00403a30
lea ecx, [esp + 0x50]
call fcn.00403a30
lea ecx, [esp + 0xdc]
call fcn.00403a30
lea ecx, [esp + 0xa4]
call fcn.00403a30
lea ecx, [esp + 0x6c]
call fcn.00403a30
lea ecx, [esp + 0x88]
call fcn.00403a30
push str.HttpDebug
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4188c2
xor ecx, ecx
cmp dword [esp + 0xd8], 0x10
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
jb 0x41889c
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x28], ecx
jmp 0x4188a7
lea edx, [esp + 0xc4]
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0xd4]
lea edx, [esp + 0x20]
push edx
push 0
push 0x4a
push eax
mov dword [esp + 0x34], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
push eax
push esi
call fcn.00418c10
push ebp
push esi
call fcn.00418c10
lea ecx, [esp + 0xc0]
call fcn.00403a30
lea ecx, [esp + 0x114]
call fcn.00403a30
lea ecx, [esp + 0x130]
call fcn.00403a30
lea ecx, [esp + 0x2c4]
call fcn.00415320
jmp 0x418bd2
test al, al
je 0x418bde
cmp word [esp + 0x464], cx
jne 0x418bde
cmp byte [ebp + 0x2d], 0
jne 0x418bde
mov byte [ebp + 0x2d], 1
lea eax, [esp + 0x16c]
mov dword [esp + method.CHttpInfo.virtual_0], vtable.CHttpInfo.0
mov dword [esp + 0x168], 0xf
mov dword [esp + 0x164], 0
mov byte [esp + 0x154], 0
call fcn.004150a0
mov dword [esp + 0x448], 0x12
mov edx, dword [ebp + 0x28]
lea ebx, [esp + 0x14c]
call fcn.00415360
movzx ecx, word [ebp + 0x18]
movzx edx, word [ebp + 0x1a]
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x1c]
add edx, dword [ebp + 0xc]
push eax
push ecx
push edx
mov ebx, esi
call fcn.00418cd0
xor ebx, ebx
cmp eax, ebx
je 0x4189ac
cmp byte [eax + 0x2c], bl
je 0x4189ac
int3
push str._r_n_r_n
lea ecx, [esp + 0x38]
call fcn.004035f0
mov ebp, eax
lea esi, [esp + 0x114]
lea eax, [esp + 0x14c]
mov byte [esp + 0x448], 0x13
call fcn.0041a9a0
mov dword [esp + 0x2c], eax
lea esi, [esp + 0x130]
lea eax, [esp + 0x14c]
mov byte [esp + 0x448], 0x14
call fcn.0041a970
mov esi, eax
push str.getpacket:
lea ecx, [esp + 0xfc]
mov byte [esp + 0x44c], 0x15
call fcn.004035f0
push esi
push eax
lea edi, [esp + 0x58]
mov byte [esp + 0x450], 0x16
call fcn.00403340
mov ecx, dword [esp + 0x34]
push ecx
push eax
lea edi, [esp + 0xec]
mov byte [esp + 0x458], 0x17
call fcn.00403340
push ebp
push eax
lea edi, [esp + 0xd8]
mov byte [esp + 0x460], 0x18
call fcn.00403340
mov esi, 0x10
add esp, 0x18
cmp dword [esp + 0xf4], esi
jb 0x418a75
mov edx, dword [esp + 0xe0]
push edx
call fcn.0045850d
add esp, 4
mov edi, 0xf
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
cmp dword [esp + 0x68], esi
jb 0x418aa2
mov eax, dword [esp + 0x54]
push eax
call fcn.0045850d
add esp, 4
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
cmp dword [esp + 0x110], esi
jb 0x418ac7
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.0045850d
add esp, 4
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebx
mov byte [esp + 0xfc], bl
cmp dword [esp + 0x148], esi
jb 0x418af5
mov edx, dword [esp + 0x134]
push edx
call fcn.0045850d
add esp, 4
mov dword [esp + 0x148], edi
mov dword [esp + 0x144], ebx
mov byte [esp + 0x134], bl
cmp dword [esp + 0x12c], esi
jb 0x418b23
mov eax, dword [esp + 0x118]
push eax
call fcn.0045850d
add esp, 4
mov dword [esp + 0x12c], edi
mov dword [esp + 0x128], ebx
mov byte [esp + 0x118], bl
cmp dword [esp + 0x4c], esi
jb 0x418b4b
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0045850d
add esp, 4
push str.HttpDebug
push ebx
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x418ba4
xor ecx, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
cmp dword [esp + 0xd8], esi
jb 0x418b7f
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x28], edx
jmp 0x418b8a
lea ecx, [esp + 0xc4]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0xd4]
lea ecx, [esp + 0x20]
push ecx
push ebx
push 0x4a
push eax
mov dword [esp + 0x34], edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0xd8], esi
jb 0x418bbd
mov edx, dword [esp + 0xc4]
push edx
call fcn.0045850d
add esp, 4
mov dword [esp + 0xd8], edi
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
lea ecx, [esp + 0x14c]
call fcn.00415320
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.004584fe
add esp, 0x438
ret 0x20