Function at 0x40e887
Capabilities:
Check http status code

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4285f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], edi
cmp esi, 0x1f4
jb 0x40e8cb
mov eax, dword [0x42d6d0]
add eax, 0x1f4
cmp esi, eax
jae 0x40e8cb
lea eax, [esi - 0x1f4]
push eax
call fcn.0040e5e4
jmp 0x40f0c5
cmp esi, 0x258
jb 0x40e8f2
mov eax, dword [0x42d6dc]
add eax, 0x258
cmp esi, eax
jae 0x40e8f2
lea eax, [esi - 0x258]
push eax
call fcn.0040e3e7
jmp 0x40f0c5
cmp esi, 0x2bc
jb 0x40e953
mov eax, dword [0x42d698]
add eax, 0x2bc
cmp esi, eax
jae 0x40e953
add esi, 0xfffffd44
cmp dword [0x42d6f0], esi
je 0x40f0c5
push esi
call fcn.00411c3b
test eax, eax
je 0x40f0c5
push 0
push esi
push 0x14e
push 0xef
push dword [0x42d650]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call fcn.0040db60
jmp 0x40f0c5
cmp esi, 0x320
jb 0x40e974
mov eax, dword [0x42d660]
add eax, 0x320
cmp esi, eax
ja 0x40e974
push esi
call fcn.00411b7d
jmp 0x40f0c5
push ebx
cmp esi, 0xdb
ja 0x40ee12
cmp esi, 0xd7
jae case.0x40ee28.223
mov eax, 0xce
cmp esi, eax
ja 0x40eaeb
je 0x40eac0
add eax, 0xfffffffc
cmp esi, eax
ja 0x40ea40
je 0x40e9e5
test esi, esi
je case.0x40ee28.239
cmp esi, 2
jbe 0x40e9d9
cmp esi, 0xc8
je 0x40e9d9
cmp esi, 0xc9
jne case.0x40ee28.239
xor ebx, ebx
push ebx
push ebx
push 0x301
jmp 0x40ea2f
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp case.0x40ee28.239
xor ebx, ebx
push ebx
push ebx
push 0xb0
push dword [0x42d654]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push ebx
mov edi, 0xb1
mov esi, eax
push edi
push dword [0x42d654]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x301
push dword [0x42d654]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, esi
shr eax, 0x10
push eax
movzx eax, si
push eax
push edi
push dword [0x42d654]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x40ee28.239
mov eax, 0xcb
sub esi, eax
je 0x40ea99
sub esi, 1
je 0x40ea68
sub esi, 1
jne case.0x40ee28.239
push 0xcd
push 0xe
call fcn.0041283c
jmp case.0x40ee28.239
push 0xcc
push 2
call fcn.0041283c
mov ecx, dword [0x42d6fc]
mov esi, eax
push 9
call fcn.00417eff
test eax, eax
jne case.0x40ee28.239
test esi, esi
je 0x40eb75
push eax
jmp 0x40eb62
push eax
push 1
call fcn.0041283c
push 0x13
xor ebx, ebx
xor ecx, ecx
push ebx
push ebx
test eax, eax
push ebx
setne cl
push ebx
sub ecx, 2
push ecx
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp case.0x40ee28.239
push eax
push 3
call fcn.0041283c
push 3
xor ebx, ebx
push ebx
push eax
push 0x47
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push ebx
push 0x47
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x40ee28.239
mov eax, 0xcf
sub esi, eax
je 0x40ed9c
sub esi, 1
je 0x40ed73
sub esi, 1
je 0x40ecf9
sub esi, 1
je 0x40ec3e
sub esi, 1
je 0x40eb83
sub esi, 1
je 0x40eb32
dec esi
sub esi, 1
jne case.0x40ee28.239
push edi
call fcn.0040e7a7
jmp case.0x40ee28.239
push 0xd4
xor ebx, ebx
push 9
mov dword [0x42d6f4], ebx
call fcn.0041283c
mov ecx, dword [0x42d6fc]
mov esi, eax
push 2
call fcn.00417eff
test eax, eax
jne case.0x40ee28.239
test esi, esi
je 0x40eb75
push ebx
push 0xfa
push 0x32
push edi
call dword [sym.imp.USER32.dll_SetTimer]
jmp case.0x40ee28.239
push 0x32
push edi
call dword [sym.imp.USER32.dll_KillTimer]
jmp case.0x40ee28.239
mov edi, dword [0x42d690]
xor ebx, ebx
mov dword [0x42d6f4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x58]
mov ecx, esi
cmp dword [0x42d6c0], ebx
je 0x40ebaf
push ebx
call dword [0x42e3f4]
mov ecx, edi
call esi
mov ecx, ebx
jmp 0x40ebc5
push 0x411150
call dword [0x42e3f4]
mov ecx, edi
call esi
xor ecx, ecx
test eax, eax
setns cl
push ecx
push 0xd3
mov dword [0x42d6c0], ecx
call fcn.0040db93
mov ecx, dword [0x42d6fc]
push 1
push dword [0x42d6c0]
push 8
call fcn.0041802f
cmp dword [0x428038], 5
jbe case.0x40ee28.239
push 0x2000
push ebx
mov edi, 0x428038
push edi
call fcn.0040d55b
test al, al
je case.0x40ee28.239
mov eax, dword [0x42d6c0]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push 3
push ebx
push ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], ebx
push 0x40ce8c
jmp 0x40f043
mov edi, dword [0x42d690]
xor ebx, ebx
mov dword [0x42d6f4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x54]
mov ecx, esi
cmp dword [0x42d6c4], ebx
je 0x40ec6a
push ebx
call dword [0x42e3f4]
mov ecx, edi
call esi
mov ecx, ebx
jmp 0x40ec80
push 0x4111e0
call dword [0x42e3f4]
mov ecx, edi
call esi
xor ecx, ecx
test eax, eax
setns cl
push ecx
push 0xd2
mov dword [0x42d6c4], ecx
call fcn.0040db93
mov ecx, dword [0x42d6fc]
push 1
push dword [0x42d6c4]
push 7
call fcn.0041802f
cmp dword [0x428038], 5
jbe case.0x40ee28.239
push 0x2000
push ebx
mov edi, 0x428038
push edi
call fcn.0040d55b
test al, al
je case.0x40ee28.239
mov eax, dword [0x42d6c4]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push 3
push ebx
push ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], ebx
push 0x40ce4c
jmp 0x40f043
push 0xd1
push 5
call fcn.0041283c
mov edi, dword [0x42d68c]
push eax
mov dword [ebp - 0x38], eax
mov edx, dword [edi]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x42e3f4]
mov ecx, edi
call esi
cmp dword [0x428038], 5
jbe case.0x40ee28.239
push 0x2000
xor ebx, ebx
mov edi, 0x428038
push ebx
push edi
call fcn.0040d55b
test al, al
je case.0x40ee28.239
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push 3
push ebx
push ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], ebx
push 0x40cdc7
jmp 0x40f043
push 0xd0
push 6
call fcn.0041283c
mov edi, dword [0x42d688]
push eax
mov edx, dword [edi]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x42e3f4]
mov ecx, edi
call esi
jmp case.0x40ee28.239
push eax
push 4
call fcn.0041283c
mov edi, dword [0x42d684]
push eax
mov dword [ebp - 0x38], eax
mov edx, dword [edi]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x42e3f4]
mov ecx, edi
call esi
cmp dword [0x428038], 5
jbe case.0x40ee28.239
push 0x2000
xor ebx, ebx
mov edi, 0x428038
push ebx
push edi
call fcn.0040d55b
test al, al
je case.0x40ee28.239
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push 3
push ebx
push ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], ebx
push 0x40cd77
jmp 0x40f043
lea eax, [esi - 0xde]
cmp eax, 0x19
ja case.0x40ee28.239
movzx eax, byte [eax + 0x40f10b]
jmp dword [eax*4 + 0x40f0d7]
push edi
push dword [0x42d664]
mov dword [0x42d6f8], 1
call fcn.004131ab
and dword [0x42d6f8], 0
jmp case.0x40ee28.239
call fcn.00411840
jmp case.0x40ee28.239
push 0xf3
push 0xc
call fcn.0041283c
mov edi, dword [0x42d6b4]
mov ebx, eax
mov edx, ebx
mov dword [ebp - 0x3c], ebx
neg edx
mov esi, dword [edi]
sbb edx, edx
and edx, dword [0x42d658]
push edx
mov ecx, dword [esi + 8]
call dword [0x42e3f4]
mov ecx, edi
call dword [esi + 8]
push dword [ebp - 0x38]
mov dword [0x42d674], ebx
call fcn.0040d900
cmp dword [0x428038], 5
jbe case.0x40ee28.239
push 0x2000
xor ebx, ebx
mov edi, 0x428038
push ebx
push edi
call fcn.0040d55b
test al, al
je case.0x40ee28.239
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push 3
push ebx
push ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], ebx
push 0x40ce10
jmp 0x40f043
mov edi, dword [0x42d690]
xor ebx, ebx
mov dword [0x42d6f4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x5c]
mov ecx, esi
cmp dword [0x42d6c8], ebx
je 0x40ef1c
push ebx
call dword [0x42e3f4]
mov ecx, edi
call esi
mov ecx, ebx
jmp 0x40ef32
push 0x411270
call dword [0x42e3f4]
mov ecx, edi
call esi
xor ecx, ecx
test eax, eax
setns cl
push ecx
push 0xee
mov dword [0x42d6c8], ecx
call fcn.0040db93
mov ecx, dword [0x42d6fc]
push 1
push dword [0x42d6c8]
push 0xa
call fcn.0041802f
cmp dword [0x428038], 5
jbe case.0x40ee28.239
push 0x2000
push ebx
mov edi, 0x428038
push edi
call fcn.0040d55b
test al, al
je case.0x40ee28.239
mov eax, dword [0x42d6c8]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push 3
push ebx
push ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], ebx
push 0x40cecc
jmp 0x40f043
push esi
call fcn.0040e72b
cmp dword [0x428038], 5
jbe case.0x40ee28.239
push 0x2000
xor ebx, ebx
mov edi, 0x428038
push ebx
push edi
call fcn.0040d55b
test al, al
je case.0x40ee28.239
push esi
call fcn.0040f1ad
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040d370
lea eax, [ebp - 0x34]
push eax
push 3
push ebx
push ebx
push 0x40cf12
jmp 0x40f043
push esi
call fcn.0040e582
cmp dword [0x428038], 5
jbe case.0x40ee28.239
push 0x2000
xor ebx, ebx
mov edi, 0x428038
push ebx
push edi
call fcn.0040d55b
test al, al
je case.0x40ee28.239
push esi
call fcn.0040f125
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040d370
lea eax, [ebp - 0x34]
push eax
push 3
push ebx
push ebx
push 0x40cf50
push edi
call fcn.0040d59b
jmp case.0x40ee28.239
push dword [0x42d64c]
mov dword [0x42d6f4], 1
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x40ee28.239
call fcn.00410823
jmp case.0x40ee28.239
call fcn.00412773
jmp case.0x40ee28.239
push 0
push 0x412140
push dword [0x42d64c]
push 0x70
push dword [0x42d664]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
jmp case.0x40ee28.239
xor ebx, ebx
mov dword [0x42d6f8], 1
push ebx
push 0x40f500
push dword [0x42d64c]
push 0x460
push dword [0x42d664]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov dword [0x42d6f8], ebx
jmp case.0x40ee28.239
call fcn.0040e7d9
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004151b0
leave
ret 8