Function at 0x40dc0d
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x478b78]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
xor esi, esi
mov dword [ebp - 0x204], eax
push edi
xor edi, edi
mov dword [ebp - 0x1f8], esi
inc edi
mov dword [ebp - 0x1e4], esi
mov dword [ebp - 0x1e0], edi
mov dword [ebp - 0x1e8], esi
mov dword [ebp - 0x1fc], esi
mov dword [ebp - 0x1f0], esi
mov dword [ebp - 0x1cc], esi
mov dword [ebp - 0x1c8], esi
call fcn.0046b132
test eax, eax
je 0x40e56c
push 5
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1f4], eax
test eax, eax
je 0x40e56c
push 4
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x208], eax
test eax, eax
je 0x40e56c
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
push dword [ebx + 0xe2]
call fcn.0046b3aa
mov eax, dword [0x47c564]
mov dword [ebp - 0x24], eax
mov eax, dword [0x47c62c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], esi
mov eax, dword [ebx + 0x10e]
mov dword [ebp - 0x114], eax
mov eax, dword [ebx + 0x10a]
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x198], esi
mov dword [ebp - 0x154], 2
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x14c], esi
mov ecx, dword [ebx + 0x102]
sub ecx, 0x5dc
mov eax, ecx
push 0xa
cdq
pop esi
idiv esi
mov dword [ebp - 0x154], edx
test ecx, ecx
je 0x40dd31
test eax, eax
je 0x40dd43
mov dword [ebp - 0x150], 2
mov dword [ebp - 0x14c], eax
jmp 0x40dd43
push edi
push 0x2000
lea eax, [ebp - 0x198]
push eax
call fcn.0046bad9
mov eax, dword [ebx + 0xf6]
lea esi, [ebp - 0x28]
push 5
pop ecx
mov dword [ebp - 0x130], eax
lea edi, [ebp - 0x94]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0xea]
push eax
mov dword [ebp - 0xa4], eax
call fcn.0040b595
xor edi, edi
lea eax, [ebp - 0x144]
push edi
push edi
push edi
push edi
push eax
fstp qword [ebp - 0xa0]
mov dword [ebp - 0x98], edi
call dword [sym.imp.USER32.dll_SetRect]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp + 8]
push 0x64
pop ecx
sub eax, 0x12c
je 0x40e0ab
sub eax, ecx
je 0x40dfe2
sub eax, ecx
je 0x40de63
sub eax, 0x44c
je 0x40dddf
sub eax, ecx
je 0x40ddc7
sub eax, ecx
jne 0x40ddd7
mov dword [ebp - 0x1e8], 1
mov dword [ebp - 0x1e0], edi
mov esi, dword [ebp + 0xc]
jmp 0x40e0d0
push dword [ebx + 0x1d6]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x328]
push ecx
push edi
push 1
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.0040da96
push dword [ebx + 0x1d6]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffff9c0
push eax
call fcn.0040e60b
test edi, edi
jne 0x40de4f
lea eax, [ebp - 0x1ec]
push eax
push 1
lea eax, [ebp - 0x1d8]
push eax
push edi
push ebx
call fcn.00453b1f
mov dword [ebp - 0x1e0], eax
test eax, eax
je 0x40e55f
mov esi, 0x1fe
mov dword [ebp + 8], 0x1f4
mov dword [ebp + 0xc], esi
jmp 0x40e0cc
mov esi, dword [ebp + 0xc]
mov eax, esi
sub eax, 0x1ff
je 0x40df5a
sub eax, 1
je 0x40def5
sub eax, 1
jne 0x40e12b
mov eax, dword [ebx + 0x10e]
mov dword [ebp - 0x1c8], eax
push dword [ebx + 0x1d6]
mov dword [ebp - 0x1f0], 1
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push 1
push edi
push edi
lea ecx, [ebp - 0x1c8]
push ecx
push eax
call fcn.0040d97e
push dword [ebx + 0x1d6]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test edi, edi
jne 0x40e059
lea eax, [ebp - 0x1ec]
push eax
push 1
lea eax, [ebp - 0x1d8]
push eax
push edi
push ebx
call fcn.00453b1f
mov dword [ebp - 0x1e0], eax
test eax, eax
je 0x40e55f
jmp 0x40e059
xor eax, eax
mov dword [ebp - 0x1e0], edi
inc eax
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebx + 0x176]
mov dword [ebp - 0x1c8], eax
push dword [ebx + 0x1d6]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 1
push edi
push edi
push edi
lea ecx, [ebp - 0x1c8]
push ecx
push eax
call fcn.0040d97e
push dword [ebx + 0x1d6]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test edi, edi
jne 0x40e059
push 1
push ebx
call fcn.00453afb
mov dword [ebp - 0x1e8], eax
jmp 0x40dee8
mov eax, dword [ebx + 0x10a]
mov dword [ebp - 0x1c8], eax
push dword [ebx + 0x1d6]
mov dword [ebp - 0x1f0], 1
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push edi
push edi
push 1
lea ecx, [ebp - 0x1c8]
push ecx
push eax
call fcn.0040d97e
push dword [ebx + 0x1d6]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test edi, edi
jne 0x40dfc5
lea eax, [ebp - 0x1ec]
push eax
push 1
lea eax, [ebp - 0x1d8]
push eax
push edi
push ebx
call fcn.00453b1f
mov dword [ebp - 0x1e0], eax
test eax, eax
je 0x40e55f
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x1d0]
push eax
push dword [ebx + 0x26]
call fcn.0040d941
push 1
jmp 0x40e071
mov esi, dword [ebp + 0xc]
cmp esi, 0x194
jne 0x40e0d0
mov eax, dword [ebx + 0x112]
mov dword [ebp - 0x1c8], eax
push dword [ebx + 0x1d6]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push edi
push 1
push edi
lea ecx, [ebp - 0x1c8]
push ecx
push eax
call fcn.0040d97e
push dword [ebx + 0x1d6]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test edi, edi
jne 0x40e052
lea eax, [ebp - 0x1ec]
push eax
push 1
lea eax, [ebp - 0x1d8]
push eax
push edi
push ebx
call fcn.00453b1f
mov dword [ebp - 0x1e0], eax
test eax, eax
je 0x40e55f
mov dword [ebp + 8], 0x194
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x1d0]
push eax
push dword [ebx + 0x26]
call fcn.0040d941
push 0
push eax
push dword [ebp - 0x1d0]
lea eax, [ebp - 0x1c8]
push dword [ebx + 0x1de]
push eax
push dword [0x49d9fc]
call fcn.0046aa05
push dword [ebp - 0x1d4]
test eax, eax
jne 0x40e0a4
call fcn.0040e57e
jmp 0x40e55f
call fcn.0040e57e
jmp 0x40e0cc
mov eax, dword [0x49de80]
xor ecx, ecx
mov esi, dword [ebp + 0xc]
inc ecx
add eax, 0xfffff444
mov dword [ebp - 0x1f8], ecx
cmp eax, 4
ja 0x40e129
mov dword [ebp - 0x1fc], ecx
test edi, edi
je 0x40e129
push dword [ebx + 0x1d6]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebx + 0x1d6]
mov edi, dword [eax + 0x60]
mov dword [ebp - 0x1d0], edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test edi, edi
jne 0x40e131
mov eax, dword [ebx + 0xe6]
test eax, eax
je 0x40e131
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebx + 0xe6]
xor ecx, ecx
cmp dword [eax + 0x44], 4
sete cl
mov dword [ebp - 0x1d0], ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, dword [ebp - 0x1d0]
jmp 0x40e131
xor edi, edi
mov dword [ebp - 0x1d0], edi
cmp dword [ebp - 0x1fc], 0
jne 0x40e1b3
cmp dword [ebp - 0x1e0], 0
je 0x40e192
cmp dword [ebp - 0x1f8], 0
jne 0x40e15e
cmp dword [ebp - 0x1e8], 0
jne 0x40e15e
test edi, edi
jne 0x40e15e
xor eax, eax
inc eax
jmp 0x40e160
xor eax, eax
lea ecx, [ebp - 0x1ec]
push ecx
push eax
lea eax, [ebp - 0x1d8]
push eax
push 0
push ebx
call fcn.00453b1f
test eax, eax
je 0x40e192
cmp dword [ebp + 8], 0x12c
jne 0x40e18d
push esi
push ebx
call fcn.0040d828
jmp 0x40e1a9
xor eax, eax
inc eax
jmp 0x40e1a9
cmp dword [ebp - 0x1e8], 0
je 0x40e1b3
xor eax, eax
test edi, edi
sete al
push eax
push ebx
call fcn.00453afb
mov dword [ebp - 0x1e4], eax
test eax, eax
jne 0x40e1bb
test edi, edi
je 0x40e51e
push 1
call fcn.0044bc76
push ebx
call fcn.004536b5
push dword [ebp - 0x1f0]
lea eax, [ebp - 0x200]
push eax
push dword [ebp - 0x1e4]
push edi
mov edi, dword [ebp - 0x1f4]
push ebx
push edi
call fcn.004536fa
push 1
call fcn.0044bc76
cmp dword [ebp - 0x200], 0
je 0x40e200
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp + 8]
mov eax, 0x4b0
cmp ecx, eax
jg 0x40e3ab
je 0x40e364
mov eax, ecx
sub eax, 0x12c
je 0x40e34c
sub eax, 0x68
je 0x40e31a
sub eax, 3
je 0x40e2ee
sub eax, 0x5d
lea eax, [ebp - 0x14]
jne 0x40e344
xor esi, esi
push esi
push esi
push esi
push esi
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov edi, dword [ebp + 0xc]
mov eax, edi
sub eax, 0x1fe
je 0x40e2d3
sub eax, 1
je 0x40e2b5
sub eax, 1
je 0x40e297
mov ecx, dword [ebp + 8]
sub eax, 1
jne 0x40e4a4
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1d8], eax
lea eax, [ebp - 0x1d8]
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1cc], 0x16
jmp 0x40e4a7
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1d8], eax
lea eax, [ebp - 0x1d8]
mov dword [ebp - 0x1cc], 0x11
jmp 0x40e2e0
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1d8], eax
lea eax, [ebp - 0x1d8]
mov dword [ebp - 0x1cc], 0x15
jmp 0x40e2e0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x1cc], 9
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1dc], eax
jmp 0x40e4a7
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 2
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x68], 0x14
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1cc], 0x13
jmp 0x40e4a7
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x80
mov dword [ebp - 0x68], 0x16
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1cc], 0x12
mov edi, dword [ebp + 0xc]
jmp 0x40e4a7
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0040e59a
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
jmp 0x40e4a4
mov esi, dword [ebp - 0x204]
lea edi, [ebp - 0x6c]
push 0x11
pop ecx
rep movsd dword es:[edi], dword [esi]
test byte [ebp - 0x6c], 4
mov edi, dword [ebp + 0xc]
je 0x40e392
push edi
push dword [ebx + 0xb6]
call fcn.00468990
mov dword [ebp - 0x64], eax
test eax, eax
js 0x40e55f
mov dword [ebp - 0x68], 0x11
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x1cc], 0xd
jmp 0x40e2e0
mov eax, ecx
sub eax, 0x5dc
je 0x40e457
sub eax, 0xc8
je 0x40e42c
sub eax, 0x64
je 0x40e3ff
sub eax, 0x12c
jne 0x40e4a1
xor edi, edi
lea eax, [esi - 0x834]
push edi
push edi
push eax
push edi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, 0x834
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], ecx
mov dword [ebp - 0x1cc], 0x17
jmp 0x40e4a4
xor edi, edi
lea eax, [esi - 0x708]
push edi
push edi
push eax
push edi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, 0x6a4
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], ecx
mov dword [ebp - 0x1cc], 8
jmp 0x40e4a4
xor ecx, ecx
lea eax, [esi - 0x6a4]
push ecx
push ecx
push eax
push ecx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_SetRect]
xor edi, edi
mov dword [ebp - 0x1cc], 7
inc edi
mov dword [ebp + 0xc], edi
jmp 0x40e35c
xor esi, esi
lea eax, [ebp - 0x14]
push esi
push esi
push esi
push esi
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov edi, dword [ebp + 0xc]
push 0xa
pop esi
lea ecx, [edi - 0x5dc]
mov eax, ecx
cdq
idiv esi
mov dword [ebp - 0x10], edx
test ecx, ecx
je 0x40e48f
test eax, eax
je 0x40e496
mov dword [ebp - 0x14], 2
mov dword [ebp - 8], eax
jmp 0x40e496
mov dword [ebp - 0x10], 2
mov dword [ebp - 0x1cc], esi
jmp 0x40e35c
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x1e4]
test edx, edx
je 0x40e4e4
mov esi, dword [ebp - 0x1f4]
push edi
push ecx
push eax
push ebx
push esi
call fcn.0040b125
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push ebx
push esi
call fcn.00420617
push esi
push dword [ebp - 0x1f4]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [ebp - 0x1e4]
mov esi, dword [ebp - 0x1d0]
test esi, esi
je 0x40e511
xor eax, eax
test edx, edx
push 0
sete al
push eax
mov eax, dword [ebp - 0x1dc]
push eax
push edi
push dword [ebp - 0x1cc]
push dword [ebp - 0x1f4]
call fcn.0042990c
cmp dword [ebp - 0x1e4], 0
jne 0x40e55f
test esi, esi
jne 0x40e55f
cmp dword [ebp - 0x1f8], 0
je 0x40e55f
cmp dword [ebp + 8], 0x12c
jne 0x40e55f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0040e59a
mov ecx, dword [ebp - 0x10]
lea eax, [ecx - 0x17]
cmp eax, 0xa
ja 0x40e550
mov dword [ebx + 0x1fe], ecx
jmp 0x40e55f
mov dword [ebx + 0x1f6], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x1fa], eax
push dword [ebp - 0x208]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00475d95
mov esp, ebp
pop ebp
ret 0xc