Function at 0x511d00
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57cdc8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5edd38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x70], ebx
mov edx, dword [ebp + 8]
mov esi, edx
cmp dword [edx + 0x14], 8
jb 0x511d3d
mov esi, dword [edx]
mov eax, dword [edx + 0x10]
lea eax, [esi + eax*2]
jb 0x511d47
mov edx, dword [edx]
xor ecx, ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], cx
cmp edx, eax
je 0x511d6d
sub eax, edx
lea ecx, [ebp - 0x3c]
sar eax, 1
push eax
push edx
call fcn.00408f30
mov edx, dword [0x5ed9fc]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 4], 0
xor eax, eax
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x511da0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.00408f30
mov edx, dword [0x5ed9f8]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x511de0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x6c]
call fcn.00408f30
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0051aa70
add esp, 0x10
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x511e2e
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.0040a2e0
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 7
cmp eax, 8
jb 0x511e47
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040a2e0
mov edx, dword [str.dialogTitle]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 6
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x511e70
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.00408f30
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fac0
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
cmp byte [esi + 0xd], 0
jne 0x511eb8
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x54]
call fcn.00440b20
shr eax, 0x1f
test al, al
je 0x511eba
mov esi, edi
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 8
cmp eax, 8
jb 0x511ed3
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040a2e0
mov byte [ebp - 4], 6
cmp esi, edi
je 0x511f9f
mov edx, dword [str.dialogTitle]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x511f00
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.00408f30
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fac0
mov esi, dword [ebp - 0x1c]
cmp byte [esi + 0xd], 0
jne 0x511f49
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x54]
call fcn.00440b20
shr eax, 0x1f
test al, al
je 0x511f4c
mov esi, dword [ebp - 0x18]
lea eax, [esi + 0x28]
lea esi, [ebx + 0x54]
cmp esi, eax
je 0x511f6b
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x511f60
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.00408f30
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0xa
cmp eax, 8
jb 0x511f84
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040a2e0
cmp dword [ebx + 0x64], 0x80
mov byte [ebp - 4], 6
jbe 0x511f9f
push 0
push 0x586454
mov ecx, esi
call fcn.00408f30
mov edx, dword [str.infoURL]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x511fc0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.00408f30
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fac0
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
cmp byte [esi + 0xd], 0
jne 0x512008
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x54]
call fcn.00440b20
shr eax, 0x1f
test al, al
je 0x51200a
mov esi, edi
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0xb
cmp eax, 8
jb 0x512023
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040a2e0
mov byte [ebp - 4], 6
cmp esi, edi
je 0x5120d6
mov edx, dword [str.infoURL]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x512050
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.00408f30
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fac0
mov esi, dword [ebp - 0x1c]
cmp byte [esi + 0xd], 0
jne 0x512099
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x54]
call fcn.00440b20
shr eax, 0x1f
test al, al
je 0x51209c
mov esi, dword [ebp - 0x18]
lea eax, [esi + 0x28]
lea ecx, [ebx + 0x6c]
cmp ecx, eax
je 0x5120b9
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x5120b0
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00408f30
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0xd
cmp eax, 8
jb 0x5120d2
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040a2e0
mov byte [ebp - 4], 6
mov edx, dword [str.lchostName]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5120f5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.00408f30
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fac0
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
cmp byte [esi + 0xd], 0
jne 0x51213d
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x54]
call fcn.00440b20
shr eax, 0x1f
test al, al
je 0x51213f
mov esi, edi
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0xe
cmp eax, 8
jb 0x512158
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040a2e0
mov byte [ebp - 4], 6
cmp esi, edi
je 0x512223
mov edx, dword [str.lchostName]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x512183
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.00408f30
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fac0
mov esi, dword [ebp - 0x1c]
cmp byte [esi + 0xd], 0
jne 0x5121cc
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x54]
call fcn.00440b20
shr eax, 0x1f
test al, al
je 0x5121cf
mov esi, dword [ebp - 0x18]
lea eax, [esi + 0x28]
lea esi, [ebx + 0x84]
cmp esi, eax
je 0x5121f1
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x5121e6
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.00408f30
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0x10
cmp eax, 8
jb 0x51220a
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040a2e0
push esi
push esi
mov byte [ebp - 4], 6
call fcn.00510240
add esp, 8
test al, al
jne 0x512223
xor bl, bl
jmp 0x512b8c
mov edx, dword [str.cachingEnabled]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x512242
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.00408f30
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fac0
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
cmp byte [esi + 0xd], 0
jne 0x51228a
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x54]
call fcn.00440b20
shr eax, 0x1f
test al, al
je 0x51228c
mov esi, edi
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0x12
cmp eax, 8
jb 0x5122a5
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040a2e0
mov byte [ebp - 4], 6
cmp esi, edi
je 0x51234d
mov edx, dword [str.cachingEnabled]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5122d0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.00408f30
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fac0
mov esi, dword [ebp - 0x1c]
cmp byte [esi + 0xd], 0
jne 0x512315
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x54]
call fcn.00440b20
shr eax, 0x1f
test al, al
je 0x512318
mov esi, dword [ebp - 0x18]
push 0x591b80
lea ecx, [esi + 0x28]
call fcn.0045628a
test eax, eax
sete al
mov byte [ebx + 0xed], al
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0x13
cmp eax, 8
jb 0x512349
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040a2e0
mov byte [ebp - 4], 6
mov edx, dword [str.trackingEnabled]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x512370
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.00408f30
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fac0
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
cmp byte [esi + 0xd], 0
jne 0x5123b8
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x54]
call fcn.00440b20
shr eax, 0x1f
test al, al
je 0x5123ba
mov esi, edi
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0x14
cmp eax, 8
jb 0x5123d3
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040a2e0
mov byte [ebp - 4], 6
cmp esi, edi
je 0x51247d
mov edx, dword [str.trackingEnabled]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x512400
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.00408f30
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fac0
mov esi, dword [ebp - 0x1c]
cmp byte [esi + 0xd], 0
jne 0x512445
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x54]
call fcn.00440b20
shr eax, 0x1f
test al, al
je 0x512448
mov esi, dword [ebp - 0x18]
push 0x591b80
lea ecx, [esi + 0x28]
call fcn.0045628a
test eax, eax
sete al
mov byte [ebx + 0xef], al
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0x15
cmp eax, 8
jb 0x512479
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040a2e0
mov byte [ebp - 4], 6
mov edx, dword [str.trackingDefault]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5124a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.00408f30
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fac0
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
cmp byte [esi + 0xd], 0
jne 0x5124e8
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x54]
call fcn.00440b20
shr eax, 0x1f
test al, al
je 0x5124ea
mov esi, edi
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0x16
cmp eax, 8
jb 0x512503
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040a2e0
mov byte [ebp - 4], 6
cmp esi, edi
je 0x5125ad
mov edx, dword [str.trackingDefault]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x512530
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.00408f30
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fac0
mov esi, dword [ebp - 0x1c]
cmp byte [esi + 0xd], 0
jne 0x512575
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x54]
call fcn.00440b20
shr eax, 0x1f
test al, al
je 0x512578
mov esi, dword [ebp - 0x18]
push 0x591b80
lea ecx, [esi + 0x28]
call fcn.0045628a
test eax, eax
sete al
mov byte [ebx + 0xf0], al
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0x17
cmp eax, 8
jb 0x5125a9
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040a2e0
mov byte [ebp - 4], 6
mov edx, dword [str.controlWidth]
mov eax, 0x258
mov dword [ebp - 0x74], eax
mov ecx, edx
mov eax, 0x21c
mov dword [ebp - 0x1c], 0xdc
mov dword [ebp - 0x78], eax
mov ebx, 0x14
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
lea esi, [ecx + 2]
mov word [ebp - 0x6c], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5125f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x6c]
call fcn.00408f30
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fac0
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x18]
cmp byte [esi + 0xd], 0
jne 0x512638
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00440b20
shr eax, 0x1f
test al, al
je 0x51263a
mov esi, edi
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 0x18
cmp eax, 8
jb 0x512653
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.0040a2e0
mov byte [ebp - 4], 6
cmp esi, edi
je 0x512700
mov edx, dword [str.controlWidth]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x512680
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x6c]
call fcn.00408f30
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fac0
mov esi, dword [ebp - 0x40]
cmp byte [esi + 0xd], 0
jne 0x5126c9
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00440b20
shr eax, 0x1f
test al, al
je 0x5126cc
mov esi, dword [ebp - 0x18]
cmp dword [esi + 0x3c], 8
lea eax, [esi + 0x28]
jb 0x5126d7
mov eax, dword [eax]
push eax
call fcn.0054a153
add esp, 4
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 0x1a
cmp ecx, 8
jb 0x5126fc
inc ecx
push ecx
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x6c]
call fcn.0040a2e0
mov byte [ebp - 4], 6
mov edx, dword [str.controlHeight]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x512720
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x6c]
call fcn.00408f30
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fac0
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x18]
cmp byte [esi + 0xd], 0
jne 0x512768
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00440b20
shr eax, 0x1f
test al, al
je 0x51276a
mov esi, edi
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 0x1b
cmp eax, 8
jb 0x512783
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.0040a2e0
mov byte [ebp - 4], 6
cmp esi, edi
je 0x512830
mov edx, dword [str.controlHeight]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5127b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x6c]
call fcn.00408f30
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fac0
mov esi, dword [ebp - 0x40]
cmp byte [esi + 0xd], 0
jne 0x5127f9
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00440b20
shr eax, 0x1f
test al, al
je 0x5127fc
mov esi, dword [ebp - 0x18]
cmp dword [esi + 0x3c], 8
lea eax, [esi + 0x28]
jb 0x512807
mov eax, dword [eax]
push eax
call fcn.0054a153
add esp, 4
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 0x1d
cmp ecx, 8
jb 0x51282c
inc ecx
push ecx
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x6c]
call fcn.0040a2e0
mov byte [ebp - 4], 6
mov edx, dword [str.staticPanelWidth]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x512850
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x6c]
call fcn.00408f30
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fac0
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x18]
cmp byte [esi + 0xd], 0
jne 0x512898
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00440b20
shr eax, 0x1f
test al, al
je 0x51289a
mov esi, edi
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 0x1e
cmp eax, 8
jb 0x5128b3
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.0040a2e0
mov byte [ebp - 4], 6
cmp esi, edi
je 0x512960
mov edx, dword [str.staticPanelWidth]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5128e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x6c]
call fcn.00408f30
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fac0
mov esi, dword [ebp - 0x40]
cmp byte [esi + 0xd], 0
jne 0x512929
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00440b20
shr eax, 0x1f
test al, al
je 0x51292c
mov esi, dword [ebp - 0x18]
cmp dword [esi + 0x3c], 8
lea eax, [esi + 0x28]
jb 0x512937
mov eax, dword [eax]
push eax
call fcn.0054a153
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 0x20
cmp ecx, 8
jb 0x51295c
inc ecx
push ecx
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x6c]
call fcn.0040a2e0
mov byte [ebp - 4], 6
mov edx, dword [str.margin]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x512980
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x6c]
call fcn.00408f30
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fac0
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x18]
cmp byte [esi + 0xd], 0
jne 0x5129c8
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00440b20
shr eax, 0x1f
test al, al
je 0x5129ca
mov esi, edi
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 0x21
cmp eax, 8
jb 0x5129e3
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.0040a2e0
mov byte [ebp - 4], 6
cmp esi, edi
je 0x512a8f
mov edx, dword [str.margin]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x512a10
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x6c]
call fcn.00408f30
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fac0
mov esi, dword [ebp - 0x40]
cmp byte [esi + 0xd], 0
jne 0x512a59
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00440b20
shr eax, 0x1f
test al, al
je 0x512a5c
mov esi, dword [ebp - 0x18]
cmp dword [esi + 0x3c], 8
lea eax, [esi + 0x28]
jb 0x512a67
mov eax, dword [eax]
push eax
call fcn.0054a153
add esp, 4
mov ebx, eax
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 0x23
cmp ecx, 8
jb 0x512a8b
inc ecx
push ecx
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x6c]
call fcn.0040a2e0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x74]
cmp eax, 0x190
jge 0x512aa0
mov eax, 0x190
jmp 0x512aaa
mov ecx, 0x384
cmp eax, ecx
cmovg eax, ecx
mov edi, dword [ebp - 0x78]
cmp edi, 0x1c2
jge 0x512abc
mov edi, 0x1c2
jmp 0x512ac6
mov ecx, 0x320
cmp edi, ecx
cmovg edi, ecx
mov esi, dword [ebp - 0x1c]
test esi, esi
jne 0x512ad4
mov esi, 0xdc
jmp 0x512aed
cmp esi, 0xdc
jge 0x512ae3
mov esi, 0xdc
jmp 0x512aed
mov ecx, 0x12c
cmp esi, ecx
cmovg esi, ecx
test ebx, ebx
jne 0x512af8
mov ebx, 0x14
jmp 0x512b0e
cmp ebx, 5
jge 0x512b04
mov ebx, 5
jmp 0x512b0e
mov ecx, 0x14
cmp ebx, ecx
cmovg ebx, ecx
mov ecx, dword [ebp - 0x70]
push 0x1f
mov dword [ebp - 0x20], 0
mov dword [ecx + 0x128], eax
mov dword [ecx + 0x12c], edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x70]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1c]
lea edx, [ebx + ebx]
mov dword [0x5eda38], eax
lea ecx, [edx + esi]
mov eax, dword [ebp - 0x70]
mov dword [eax + 0x130], ebx
mov bl, 1
mov dword [eax + 0x120], esi
mov dword [eax + 0x124], edi
mov eax, dword [eax + 0x128]
add eax, 0xa
add eax, ecx
mov ecx, dword [ebp - 0x70]
mov dword [ecx + 0x118], eax
mov eax, dword [ecx + 0x12c]
add eax, edx
add eax, dword [0x5eda38]
mov dword [ecx + 0x11c], eax
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.00416340
push 0x40
push dword [ebp - 0x18]
call fcn.00409f25
add esp, 8
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 4], 0x25
cmp ecx, 8
jb 0x512bc6
inc ecx
push ecx
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x3c]
call fcn.0040a2e0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401682
mov esp, ebp
pop ebp
ret 4