Function at 0x403f60
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4e006c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x60
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [0x4e0ed0], eax
test esi, esi
je 0x403fa7
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xc
call esi
push 0xb
mov edi, eax
call esi
push 0
push edi
push eax
push 1
push 0x80
push dword [0x4e4b60]
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
push esi
push 1
push 0x80
push dword [ebx + 4]
call edi
push esi
push 0
push 0x80
push dword [ebx + 4]
call edi
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [ebx + 0xdc]
mov esi, eax
test ecx, ecx
je 0x40400f
cmp ecx, esi
je 0x40400f
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xf9f8f7
mov dword [ebx + 0xdc], esi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, 0x13
mov dword [ebx + 0xe0], eax
cmp byte [0x4e0ed4], 0
je 0x404047
push 0x64
push dword [0x4e0ed0]
push edi
call esi
mov edi, eax
push 0x5c
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.00482710
add esp, 0xc
lea eax, [ebp - 0x6c]
push dword [0x4c354c]
push 0x20
push eax
call fcn.0048f2e7
add esp, 0xc
mov dword [ebp - 0x78], 0x258
neg edi
mov byte [ebp - 0x70], 7
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], edi
mov edi, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
mov byte [ebp - 0x6e], 5
call edi
mov dword [ebx + 0xe4], eax
cmp byte [0x4e0ed4], 0
mov dword [ebp - 0xec], 0x10
je 0x4040bf
push 0x64
push dword [0x4e0ed0]
push 0x10
call esi
mov dword [ebp - 0xec], eax
push 0x5c
lea eax, [ebp - 0xe8]
push 0
push eax
call fcn.00482710
add esp, 0xc
lea eax, [ebp - 0xcc]
push dword [0x4c3550]
push 0x20
push eax
call fcn.0048f2e7
mov eax, dword [ebp - 0xec]
add esp, 0xc
neg eax
mov dword [ebp - 0xd8], 0x258
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xe8]
mov byte [ebp - 0xd0], 7
push eax
mov byte [ebp - 0xce], 5
call edi
mov dword [ebx + 0xe8], eax
cmp byte [0x4e0ed4], 0
mov dword [ebp - 0xec], 0xe
je 0x404143
push 0x64
push dword [0x4e0ed0]
push 0xe
call esi
mov dword [ebp - 0xec], eax
push 0x5c
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.00482710
add esp, 0xc
lea eax, [ebp - 0x6c]
push dword [0x4c3554]
push 0x20
push eax
call fcn.0048f2e7
mov eax, dword [ebp - 0xec]
add esp, 0xc
neg eax
mov dword [ebp - 0x78], 0x190
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x88]
mov byte [ebp - 0x70], 7
push eax
mov byte [ebp - 0x6e], 5
call edi
mov dword [ebx + 0xec], eax
cmp byte [0x4e0ed4], 0
mov dword [ebp - 0xec], 0xf
je 0x4041bb
push 0x64
push dword [0x4e0ed0]
push 0xf
call esi
mov dword [ebp - 0xec], eax
push 0x5c
lea eax, [ebp - 0xe8]
push 0
push eax
call fcn.00482710
add esp, 0xc
lea eax, [ebp - 0xcc]
push dword [0x4c3558]
push 0x20
push eax
call fcn.0048f2e7
mov eax, dword [ebp - 0xec]
add esp, 0xc
neg eax
mov dword [ebp - 0xd8], 0x2bc
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xe8]
mov byte [ebp - 0xd0], 7
push eax
mov byte [ebp - 0xce], 5
call edi
mov dword [ebx + 0xf0], eax
cmp byte [0x4e0ed4], 0
mov dword [ebp - 0xec], 0xf
je 0x40423f
push 0x64
push dword [0x4e0ed0]
push 0xf
call esi
mov dword [ebp - 0xec], eax
push 0x5c
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.00482710
add esp, 0xc
lea eax, [ebp - 0x6c]
push dword [0x4c355c]
push 0x20
push eax
call fcn.0048f2e7
mov eax, dword [ebp - 0xec]
add esp, 0xc
neg eax
mov dword [ebp - 0x78], 0x2bc
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x88]
mov byte [ebp - 0x70], 7
push eax
mov byte [ebp - 0x6e], 5
call edi
mov dword [ebx + 0xf4], eax
cmp byte [0x4e0ed4], 0
mov dword [ebp - 0xec], 0xf
je 0x4042b7
push 0x64
push dword [0x4e0ed0]
push 0xf
call esi
mov dword [ebp - 0xec], eax
push 0x5c
lea eax, [ebp - 0xe8]
push 0
push eax
call fcn.00482710
add esp, 0xc
lea eax, [ebp - 0xcc]
push dword [0x4c3560]
push 0x20
push eax
call fcn.0048f2e7
mov eax, dword [ebp - 0xec]
add esp, 0xc
neg eax
mov dword [ebp - 0xd8], 0x258
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xe8]
mov byte [ebp - 0xd0], 7
push eax
mov byte [ebp - 0xce], 5
call edi
mov dword [ebx + 0xf8], eax
cmp byte [0x4e0ed4], 0
mov dword [ebp - 0xec], 0xa
je 0x40433b
push 0x64
push dword [0x4e0ed0]
push 0xa
call esi
mov dword [ebp - 0xec], eax
push 0x5c
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.00482710
add esp, 0xc
lea eax, [ebp - 0x6c]
push dword [0x4c3564]
push 0x20
push eax
call fcn.0048f2e7
mov eax, dword [ebp - 0xec]
add esp, 0xc
neg eax
mov dword [ebp - 0x78], 0x190
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x88]
mov byte [ebp - 0x70], 7
push eax
mov byte [ebp - 0x6e], 5
call edi
mov dword [ebx + 0xfc], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 4]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [ebx + 4]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [0x4e0ed4], 0
mov edx, dword [0x4e0b70]
mov edi, dword [0x4e0b74]
je 0x4043fa
push 0x64
push dword [0x4e0ed0]
push edx
call esi
cmp byte [0x4e0ed4], 0
mov edx, eax
mov dword [ebp - 0xec], edx
je 0x4043fa
push 0x64
push dword [0x4e0ed0]
push edi
call esi
mov edx, dword [ebp - 0xec]
mov edi, eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
add ecx, edi
push 0
push ecx
add eax, edx
push eax
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [0x4e0ed0]
mov esi, dword [ebx + 0xe0]
cmp eax, 0x7d
jae 0x40443e
mov eax, 0x9d
jmp 0x404458
cmp eax, 0x96
jae 0x40444c
mov eax, 0x9e
jmp 0x404458
cmp eax, 0xc8
sbb eax, eax
add eax, 0xa0
cmp dword [ebx + 0x4c], eax
je 0x404491
mov ecx, dword [ebx + 0x48]
mov dword [ebx + 0x4c], eax
test ecx, ecx
je 0x40446d
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [ebx + 0x28]
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x50], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x404491
push 1
push 0
push dword [ebx + 0x28]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x578
push dword [ebx + 4]
call edi
lea ecx, [ebx + 0x20]
mov dword [ecx], eax
lea esi, [ebx + 0x24]
push 0x579
push dword [ebx + 4]
mov dword [ebp - 0xf8], ecx
call edi
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0xec], eax
call dword [edx + 8]
mov dword [ebp - 0xf4], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x4044df
call fcn.00469f48
mov dword [esi + 0x14], eax
test eax, eax
je 0x404513
push esi
push dword [ebp - 0xf4]
push eax
call fcn.0046a04a
push dword [esi + 0x14]
call fcn.00469fad
push eax
push 0xfffffffffffffffc
push dword [ebp - 0xec]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x404513
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0xec]
mov dword [esi + 4], eax
push 0x57a
push dword [ebx + 4]
call edi
lea ecx, [ebx + 0x54]
mov dword [ecx], eax
lea esi, [ebx + 0x58]
push 0x57b
push dword [ebx + 4]
mov dword [ebp - 0xfc], ecx
call edi
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0xec], eax
call dword [edx + 8]
mov dword [ebp - 0xf4], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x40455b
call fcn.00469f48
mov dword [esi + 0x14], eax
test eax, eax
je 0x40458f
push esi
push dword [ebp - 0xf4]
push eax
call fcn.0046a04a
push dword [esi + 0x14]
call fcn.00469fad
push eax
push 0xfffffffffffffffc
push dword [ebp - 0xec]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x40458f
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0xec]
mov dword [esi + 4], eax
push 0x57c
push dword [ebx + 4]
lea esi, [ebx + 0x94]
call edi
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0xec], eax
call dword [edx + 8]
mov dword [ebp - 0xf4], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x4045c5
call fcn.00469f48
mov dword [esi + 0x14], eax
test eax, eax
je 0x4045f9
push esi
push dword [ebp - 0xf4]
push eax
call fcn.0046a04a
push dword [esi + 0x14]
call fcn.00469fad
push eax
push 0xfffffffffffffffc
push dword [ebp - 0xec]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x4045f9
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0xec]
mov dword [esi + 4], eax
push 0x57d
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x57e
mov dword [ebx + 0xd0], eax
push dword [ebx + 4]
call esi
push 0x57f
mov dword [ebx + 0xd4], eax
push dword [ebx + 4]
call esi
push 1
mov dword [ebx + 0xd8], eax
push dword [ebx + 0xe4]
push 0x30
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [ebx + 0xe8]
push 0x30
push dword [ebx + 0x54]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [ebx + 0xf0]
push 0x30
push dword [ebx + 0x5c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, ebx
mov dword [ebx + 0x7c], 0xcc3e0d
push 1
mov dword [ebx + 0x80], 0xffffff
mov dword [ebx + 0x84], 0xcc3e0d
mov dword [ebx + 0x88], 0xffff
mov dword [ebx + 0x8c], 0xffff00
mov dword [ebx + 0x90], 0xff00ff
push dword [eax + 0xf4]
push 0x30
push dword [ebx + 0x98]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, ebx
push 1
mov dword [eax + 0xb8], 0xffffff
mov dword [eax + 0xbc], 0xcc3e0d
mov dword [eax + 0xc0], 0xcc3e0d
mov dword [eax + 0xc4], 0xffff
mov dword [eax + 0xc8], 0xffff00
mov dword [eax + 0xcc], 0xff00ff
push dword [eax + 0xf8]
push 0x30
push dword [ebx + 0xd0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, ebx
push 1
push dword [eax + 0xec]
push 0x30
push dword [eax + 0xd4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, ebx
push 1
push dword [eax + 0xfc]
push 0x30
push dword [ebx + 0xd8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x4e0b78
lea eax, [ebp - 0x10c]
push eax
call fcn.00403e80
push 0
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
sub ecx, edx
mov eax, dword [eax + 8]
push ecx
sub eax, esi
push eax
mov eax, dword [ebp - 0xf8]
push edx
push esi
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x4e0b98
lea eax, [ebp - 0x10c]
push eax
call fcn.00403e80
push 0
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
sub ecx, edx
mov eax, dword [eax + 8]
push ecx
sub eax, esi
push eax
push edx
mov eax, ebx
push esi
push dword [eax + 0x28]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x4e0ba8
lea eax, [ebp - 0x10c]
push eax
call fcn.00403e80
push 0
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
sub ecx, edx
mov eax, dword [eax + 8]
push ecx
sub eax, esi
push eax
mov eax, dword [ebp - 0xfc]
push edx
push esi
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x4e0bc8
lea eax, [ebp - 0x10c]
push eax
call fcn.00403e80
push 0
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
sub ecx, edx
mov eax, dword [eax + 8]
push ecx
sub eax, esi
push eax
push edx
mov eax, ebx
push esi
push dword [eax + 0x5c]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x4e0bd8
lea eax, [ebp - 0x10c]
push eax
call fcn.00403e80
push 0
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
sub ecx, edx
mov eax, dword [eax + 8]
push ecx
sub eax, esi
push eax
push edx
push esi
push dword [ebx + 0x98]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0xb8
push 0x4e0be8
lea eax, [ebp - 0x10c]
push eax
call fcn.00403e80
mov edx, eax
lea ecx, [ebx + 0xd0]
call fcn.004439a0
add esp, 4
push 0x4e0bf8
lea eax, [ebp - 0x10c]
push eax
call fcn.00403e80
push 0
mov edi, ebx
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
sub ecx, edx
mov eax, dword [eax + 8]
push ecx
sub eax, esi
push eax
push edx
push esi
push dword [edi + 0xd4]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x86
push 0x4e0c08
lea eax, [ebp - 0x10c]
push eax
call fcn.00403e80
mov edx, eax
lea ecx, [edi + 0xd8]
call fcn.004439a0
add esp, 4
lea ecx, [edi + 0x20]
mov edx, 0xb1
push 0
call fcn.00443e40
add esp, 4
lea ecx, [edi + 0x54]
mov edx, 0xb2
push 0
call fcn.00443e40
add esp, 4
lea ecx, [edi + 0x5c]
mov edx, 0xb6
push 0
call fcn.00443e40
add esp, 4
lea ecx, [ebx + 0x98]
mov edx, 0xb7
push 0
call fcn.00443e40
add esp, 4
lea ecx, [edi + 0xd4]
mov edx, 0xb9
push 0
call fcn.00443e40
add esp, 4
push dword [ebx + 0x98]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a0e8
mov esp, ebp
pop ebp
ret 0x10