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

Disassembly:
push 0xffffffffffffffff
push 0x47618b
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x48b2b0]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [esp + 0x28c]
mov eax, dword [esp + 0x290]
mov edx, dword [esp + 0x288]
mov ebp, dword [esp + 0x278]
push edi
push ecx
mov ecx, dword [esp + 0x284]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28c]
push edx
push eax
push ecx
mov ebx, ebp
call fcn.00418cd0
mov esi, eax
test esi, esi
jne 0x41795a
push 0x6c
call fcn.00458595
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x270], esi
test eax, eax
je 0x4178e2
push eax
call fcn.00418e90
jmp 0x4178e4
xor eax, eax
mov edx, dword [esp + 0x294]
mov ecx, dword [esp + 0x18]
push 1
push edx
mov edx, dword [esp + 0x294]
push ecx
mov ecx, dword [esp + 0x294]
push edx
mov edx, dword [esp + 0x294]
push ecx
mov ecx, dword [esp + 0x294]
push edx
mov edx, dword [esp + 0x294]
push ecx
mov esi, eax
mov ecx, edi
mov dword [esp + 0x28c], 0xffffffff
push edx
mov edi, eax
mov dword [esp + 0x34], esi
call fcn.00419170
mov edi, dword [ebp + 0x14]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x14]
push eax
push ecx
push edi
call fcn.0042e4d0
mov ecx, ebp
mov ebx, eax
call fcn.0041a790
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
jmp 0x41799a
mov edx, dword [esp + 0x294]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28c]
push 1
push edx
mov edx, dword [esp + 0x290]
push eax
mov eax, dword [esp + 0x290]
push ecx
mov ecx, dword [esp + 0x290]
push edx
mov edx, dword [esp + 0x290]
push eax
push ecx
mov ecx, edi
push edx
mov edi, esi
call fcn.00419170
cmp byte [esi + 0x2c], 0
je 0x417c8b
cmp byte [esi + 0x2d], 0
jne 0x417c8b
mov byte [esi + 0x2d], 1
mov edi, 0xf
lea eax, [esp + 0x10c]
mov dword [esp + 0xec], vtable.CHttpInfo.0
mov dword [esp + 0x108], edi
mov dword [esp + 0x104], 0
mov byte [esp + 0xf4], 0
call fcn.004150a0
mov dword [esp + 0x270], 1
mov edx, dword [esi + 0x28]
lea ebx, [esp + 0xec]
call fcn.00415360
movzx eax, word [esi + 0x18]
movzx ecx, word [esi + 0x1a]
mov edx, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0x14]
push ecx
mov ecx, dword [esi + 0x1c]
add ecx, dword [esi + 0xc]
push edx
push eax
push ecx
mov ebx, ebp
call fcn.00418cd0
xor ebx, ebx
cmp eax, ebx
je 0x417a2e
cmp byte [eax + 0x2c], bl
je 0x417a2e
int3
push 4
push str._r_n_r_n
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00403510
lea esi, [esp + 0xb4]
lea eax, [esp + 0xec]
mov byte [esp + 0x270], 2
call fcn.0041a9a0
mov ebp, eax
lea esi, [esp + 0x7c]
lea eax, [esp + 0xec]
mov byte [esp + 0x270], 3
call fcn.0041a970
mov esi, eax
mov byte [esp + 0x270], 4
push 0xa
push str.getpacket:
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00403510
lea edx, [esp + 0x28]
push esi
push edx
lea edi, [esp + 0x68]
mov byte [esp + 0x278], 5
call fcn.00403340
push ebp
push eax
lea edi, [esp + 0xa8]
mov byte [esp + 0x280], 6
call fcn.00403340
lea ecx, [esp + 0x54]
push ecx
push eax
lea edi, [esp + 0xe8]
mov byte [esp + 0x288], 7
call fcn.00403340
mov edi, 0x10
add esp, 0x18
cmp dword [esp + 0xb0], edi
jb 0x417b0d
mov edx, dword [esp + 0x9c]
push edx
call fcn.0045850d
add esp, 4
mov esi, 0xf
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
cmp dword [esp + 0x78], edi
jb 0x417b3a
mov eax, dword [esp + 0x64]
push eax
call fcn.0045850d
add esp, 4
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
cmp dword [esp + 0x40], edi
jb 0x417b59
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0045850d
add esp, 4
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x94], edi
jb 0x417b7e
mov edx, dword [esp + 0x80]
push edx
call fcn.0045850d
add esp, 4
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
cmp dword [esp + 0xcc], edi
jb 0x417bac
mov eax, dword [esp + 0xb8]
push eax
call fcn.0045850d
add esp, 4
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
cmp dword [esp + 0x5c], edi
jb 0x417bd4
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0045850d
add esp, 4
push str.HttpDebug
push ebx
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x417c2d
xor ecx, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
cmp dword [esp + 0xe8], edi
jb 0x417c08
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x24], edx
jmp 0x417c13
lea ecx, [esp + 0xd4]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0xe4]
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0x4a
push eax
mov dword [esp + 0x30], edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0xe8], edi
jb 0x417c46
mov edx, dword [esp + 0xd4]
push edx
call fcn.0045850d
add esp, 4
mov dword [esp + 0xe8], esi
lea esi, [esp + 0x10c]
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
mov dword [esp + 0xec], vtable.CHttpInfo.0
call fcn.00415160
cmp dword [esp + 0x108], edi
jb 0x417c8b
mov eax, dword [esp + 0xf4]
push eax
call fcn.0045850d
add esp, 4
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.004584fe
add esp, 0x260
ret 0x20