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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x288
mov eax, dword [ebp + 0x14]
push esi
push edi
mov edi, ecx
mov dword [eax], 0
mov dword [esp + 0x10], edi
mov eax, dword [edi + 0x5c]
cmp eax, 0x2af8
jb 0x4656c8
mov eax, dword [0x4e37f8]
cmp dword [eax + 0x34], 0
jne 0x4656a6
cmp dword [0x4e95ac], 0
jne 0x4656a6
cmp byte [0x4e8ec6], 0
jne 0x4656a6
push 0
push 0
push 0x4cdea8
push 9
push 0x4d9d80
mov ecx, 0x4e8f30
call fcn.0040d430
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
push 0
push 9
push 0
push 0x4cdea8
push 0x4d9d80
mov ecx, 0x4e8f30
call fcn.0040c250
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [edi + 0x60]
lea esi, [edi + 0x2c]
cmp eax, ecx
jb 0x4656f5
lea eax, [ecx*4 + 0xfa0]
push eax
push dword [esi]
call fcn.0049ee28
add esp, 8
test eax, eax
je 0x465667
add dword [edi + 0x60], 0x3e8
mov dword [esi], eax
push 0x40
call fcn.0049b416
mov edi, eax
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], edi
mov dword [edi + 4], 1
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0x4e7c60
mov dword [edi + 0x14], eax
mov dword [edi + 8], 0
mov dword [edi], vtable.GuiControlType.0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xffffffff
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov ecx, dword [eax + 0x5c]
mov eax, dword [esi]
mov dword [eax + ecx*4], edi
mov cl, byte [ebp + 8]
mov al, cl
cmp cl, 0x14
je 0x46578b
cmp cl, 0x15
jne 0x46578d
mov al, 0x13
movzx eax, al
mov esi, dword [eax*4 + 0x4e8d70]
test esi, esi
je 0x4657a1
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4657ae
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push edi
lea eax, [esp + 0x8c]
mov dword [edi + 0xc], esi
push eax
call fcn.0046c0f0
mov cl, byte [ebp + 8]
cmp cl, 0x14
jne 0x4657d1
or byte [edi + 0x31], 0x80
mov byte [ebp + 8], 0x13
jmp 0x4657ef
cmp cl, 0x15
jne 0x4657e6
mov byte [ebp + 8], 0x13
mov word [esp + 0x218], 0x301
jmp 0x4657ef
cmp cl, 0x13
jne 0x465a3b
mov esi, dword [esp + 0x10]
cmp byte [esi + 0xbc], 0xff
jne 0x465866
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x34]
mov eax, dword [0x4e37f8]
cmp dword [eax + 0x34], 0
jne 0x465844
cmp dword [0x4e95ac], 0
jne 0x465844
cmp byte [0x4e8ec6], 0
jne 0x465844
push 0
push 0
push 0x4cdea8
push 9
push 0x4d9da8
mov ecx, 0x4e8f30
call fcn.0040d430
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
push 0
push 9
push 0
push 0x4cdea8
push 0x4d9da8
mov ecx, 0x4e8f30
call fcn.0040c250
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov byte [edi + 0x32], 0xff
mov al, byte [esi + 0xbc]
mov byte [edi + 0x33], al
mov dh, byte [esi + 0xbd]
cmp dh, 0xff
je 0x4658b1
xor ecx, ecx
xor dl, dl
cmp dword [esi + 0x5c], ecx
jbe 0x4658b1
mov esi, dword [esi + 0x2c]
nop word [eax + eax]
mov eax, dword [esi]
cmp byte [eax + 0x30], 0x13
jne 0x4658a2
cmp dl, dh
je 0x465a1c
inc dl
mov eax, dword [esp + 0x10]
inc ecx
add esi, 4
cmp ecx, dword [eax + 0x5c]
jb 0x465890
mov esi, eax
cmp dword [esi + 0x5c], 0
jne 0x4658c7
mov ecx, esi
call fcn.00471810
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
mov dh, byte [ebp + 8]
mov byte [edi + 0x30], dh
mov eax, dword [esp + 0x88]
mov dl, byte [esi + 0xc0]
or eax, 0x10000000
mov byte [esp + 0x2b], dl
mov ecx, eax
mov byte [esp + 0x216], dl
mov dl, byte [esi + 0xbf]
mov dword [esp + 0x88], ecx
mov byte [esp + 0xb], dl
cmp dh, 6
jne 0x465ad4
test dl, dl
jne 0x465917
or ecx, 0x20000
mov dword [esp + 0x88], ecx
mov edx, eax
mov esi, eax
or edx, 0x20000
mov edi, eax
cmp byte [esp + 0xb], 0
cmovne edx, eax
or esi, 0x20000
cmp byte [esp + 0xb], 0
cmovne esi, eax
or edi, 0x20000
cmp byte [esp + 0xb], 0
cmovne edi, eax
mov dword [esp + 0x58], edi
mov edi, eax
or edi, 0x20000
cmp byte [esp + 0xb], 0
cmovne edi, eax
mov dword [esp + 0x30], edi
mov edi, eax
or edi, 0x20000
cmp byte [esp + 0xb], 0
cmovne edi, eax
mov dword [esp + 0x48], edi
mov edi, eax
or edi, 0x20000
cmp byte [esp + 0xb], 0
cmovne edi, eax
mov dword [esp + 0x34], edi
mov edi, eax
or edi, 0x20000
cmp byte [esp + 0xb], 0
cmovne edi, eax
mov dword [esp + 0x4c], edi
mov edi, eax
or edi, 0x20000
cmp byte [esp + 0xb], 0
cmovne edi, eax
mov dword [esp + 0x44], edi
mov edi, eax
or edi, 0x20000
cmp byte [esp + 0xb], 0
cmovne edi, eax
mov dword [esp + 0x2c], edi
mov edi, eax
or edi, 0x20000
cmp byte [esp + 0xb], 0
cmovne edi, eax
mov dword [esp + 0x1c], edi
mov edi, eax
or edi, 0x20000
cmp byte [esp + 0xb], 0
cmovne edi, eax
mov dword [esp + 0x18], edi
mov edi, eax
or edi, 0x20000
cmp byte [esp + 0xb], 0
cmovne edi, eax
mov dword [esp + 0x20], edi
mov edi, eax
or edi, 0x20000
cmp byte [esp + 0xb], 0
cmovne edi, eax
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x24]
jmp 0x465b48
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x4658b1
push eax
mov ecx, esi
call fcn.00470b20
jmp 0x4658b1
mov esi, dword [esp + 0x10]
cmp cl, 0x19
jne 0x465abd
cmp dword [esi + 0x24], 0
je 0x465ab4
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x34]
mov eax, dword [0x4e37f8]
cmp dword [eax + 0x34], 0
jne 0x465a92
cmp dword [0x4e95ac], 0
jne 0x465a92
cmp byte [0x4e8ec6], 0
jne 0x465a92
push 0
push 0
push 0x4cdea8
push 9
push 0x4d9dd8
mov ecx, 0x4e8f30
call fcn.0040d430
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
push 0
push 9
push 0
push 0x4cdea8
push 0x4d9dd8
mov ecx, 0x4e8f30
call fcn.0040c250
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov byte [edi + 0x32], 0xff
jmp 0x4658b1
mov al, byte [esi + 0xbd]
mov byte [edi + 0x32], al
mov al, byte [esi + 0xbe]
mov byte [edi + 0x33], al
jmp 0x4658b1
cmp byte [esp + 0xb], 0
mov edx, eax
mov esi, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], eax
je 0x465b48
or ecx, 0x20000
mov dword [esp + 0x88], ecx
mov edx, ecx
mov esi, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0xc], ecx
movzx eax, byte [ebp + 8]
add eax, 0xfffffffc
mov dword [esp + 0x64], eax
cmp eax, 0x15
ja case.0x465b5c.6
jmp dword [eax*4 + 0x468de4]
or edx, 0x210000
mov dword [esp + 0x88], edx
jmp case.0x465b5c.6
or esi, 0x210042
mov dword [esp + 0x88], esi
jmp case.0x465b5c.6
mov eax, dword [esp + 0x58]
or eax, 0x210080
or dword [esp + 0x90], 0x200
jmp 0x465c81
mov eax, dword [esp + 0x30]
or dword [esp + 0x98], 0x30
or eax, 0x10008
or dword [esp + 0x90], 0x200
mov dword [esp + 0x9c], 1
jmp 0x465c81
mov eax, dword [esp + 0x48]
or eax, 0x10027
or dword [esp + 0x90], 0x200
jmp 0x465c81
mov eax, dword [esp + 0x34]
or eax, 0x10000
or dword [esp + 0x90], 0x200
jmp 0x465c81
mov eax, dword [esp + 0x4c]
jmp 0x465c7c
mov eax, dword [esp + 0x44]
or eax, 0x36
jmp 0x465c81
mov eax, dword [esp + 0x2c]
or eax, 0x1000c
jmp 0x465c81
mov eax, dword [esp + 0x1c]
jmp 0x465c7c
movzx eax, byte [esp + 0x2b]
xor edx, edx
cmp byte [esp + 0x218], dl
cmove eax, edx
or ecx, 0x10200
mov byte [esp + 0x216], al
mov dword [esp + 0x88], ecx
jmp case.0x465b5c.6
mov eax, dword [esp + 0x18]
or eax, 0x4000000
jmp 0x465c81
mov eax, dword [esp + 0x20]
jmp 0x465c7c
mov eax, dword [esp + 0x10]
test dword [eax + 0x68], 0x40000
je 0x465c69
or ecx, 0x100
or ecx, 0x800
mov dword [esp + 0x88], ecx
jmp case.0x465b5c.6
mov eax, dword [esp + 0xc]
or eax, 0x10000
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x88]
push 0xffffffffffffffff
push edi
push eax
push dword [ebp + 0xc]
call fcn.004698e0
test eax, eax
jne 0x465cb6
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x34]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
movzx eax, byte [edi + 0x30]
mov al, byte [eax + 0x4da4ec]
not al
mov byte [esp + 0x63], al
test al, 0x10
je 0x465cff
mov ecx, dword [esp + 0xe0]
mov dword [esp + 0x30], ecx
cmp ecx, 0xffffffff
jne 0x465cec
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x74]
mov dword [esp + 0x30], ecx
mov dword [esp + 0xe0], ecx
movzx eax, byte [edi + 0x30]
mov al, byte [eax + 0x4da4ec]
not al
test al, 0x20
je 0x465d08
mov dword [edi + 0x3c], ecx
mov edx, dword [esp + 0xe0]
jmp 0x465d0c
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0xe4]
or ecx, 0xffffffff
cmp edx, 0xff000000
cmove edx, ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0xe0], edx
cmp eax, 0xff000000
jne 0x465d3f
cmp byte [ebp + 8], 0xb
cmovne eax, ecx
mov dword [esp + 0xe4], eax
cmp dword [esp + 0xac], 0x80000000
mov esi, dword [esp + 0x8c]
movss xmm1, dword [0x4db948]
jne 0x465ddd
cmp dword [esp + 0xb0], 0x80000000
jne 0x465ddd
movss xmm0, dword [esp + 0xb4]
comiss xmm0, xmm1
ja 0x465ddd
mov eax, dword [ebp + 0x10]
mov esi, eax
test eax, eax
je 0x465dc1
movzx eax, word [eax]
mov ecx, eax
test ax, ax
je 0x465dc1
nop dword [eax]
movzx edx, ax
mov ecx, 0x4d9e04
mov eax, 0xa
nop dword [eax]
cmp dx, ax
je 0x465dd2
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x465da0
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x465d90
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x30], 0
jmp 0x465dea
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x8c]
mov eax, esi
not eax
and eax, 0x2000
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x94]
mov ecx, esi
not eax
not ecx
and eax, dword [esp + 0x90]
and ecx, dword [esp + 0x88]
mov dword [esp + 0x2c], eax
or ecx, 0x40000000
movzx eax, byte [ebp + 8]
add eax, 0xfffffffd
mov dword [esp + 0xc], ecx
cmp eax, 0x10
ja case.0x465e2a.10
movzx eax, byte [eax + 0x468e64]
jmp dword [eax*4 + 0x468e3c]
and ecx, 0xfffffff7
or ecx, 7
mov dword [esp + 0xc], ecx
jmp case.0x465e2a.10
test cl, 1
je 0x465e58
and ecx, 0xfffffff1
or ecx, 1
or ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
jmp case.0x465e2a.10
and ecx, 0xfffffff0
or ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
jmp case.0x465e2a.10
mov eax, ecx
and eax, 6
cmp al, 6
jne 0x465e84
and ecx, 0xfffffff6
or ecx, 6
or ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
jmp case.0x465e2a.10
and ecx, 0xfffffff3
or ecx, 3
or ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
jmp case.0x465e2a.10
and ecx, 0xfffffff9
or ecx, 9
test ecx, 0x20000
je 0x465eb3
test esi, 0x10000
jne 0x465eb3
or ecx, 0x10000
or ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
jmp case.0x465e2a.10
or ecx, 3
mov dword [esp + 0xc], ecx
jmp case.0x465e2a.10
test cl, 1
je 0x465ee0
and ecx, 0xfffffff1
or ecx, 1
mov dword [esp + 0xc], ecx
jmp case.0x465e2a.10
and ecx, 0xfffffff2
or ecx, 2
mov dword [esp + 0xc], ecx
jmp case.0x465e2a.10
movss xmm0, dword [esp + 0xb4]
comiss xmm0, xmm1
ja 0x465f19
push 0xa
push dword [ebp + 0x10]
call fcn.0049c891
mov esi, dword [esp + 0x94]
add esp, 8
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x465f26
mov eax, esi
not eax
and eax, 4
or ecx, eax
mov dword [esp + 0xc], ecx
test cl, 4
je case.0x465e2a.10
not esi
and esi, 0x201040
or ecx, esi
mov dword [esp + 0xc], ecx
jmp case.0x465e2a.10
or ecx, 0x4000000
cmp dword [edi + 0x38], 0
jne 0x465f6e
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x30], 0
je 0x465f5e
cmp dword [edi + 0x34], 0xff000000
jne 0x465f6e
test edx, 0xff000000
je 0x465f6e
and ecx, 0xffffdfff
jmp 0x465f7c
or ecx, 0x2000
mov byte [esp + 0x216], 0
cmp dword [esp + 0xac], 0x80000000
mov al, byte [esp + 0x219]
mov dword [esp + 0xc], ecx
je 0x465f9d
and al, 0xfe
mov byte [esp + 0x219], al
cmp dword [esp + 0xb0], 0x80000000
je case.0x465e2a.10
and al, 0xfd
mov byte [esp + 0x219], al
mov dh, byte [edi + 0x32]
cmp dh, 0xff
je 0x465feb
mov eax, dword [esp + 0x10]
xor ecx, ecx
xor dl, dl
cmp dword [eax + 0x5c], ecx
jbe 0x465feb
mov esi, dword [eax + 0x2c]
nop dword [eax + eax]
mov eax, dword [esi]
cmp byte [eax + 0x30], 0x13
jne 0x465fde
cmp dl, dh
je 0x466011
inc dl
mov eax, dword [esp + 0x10]
inc ecx
add esi, 4
cmp ecx, dword [eax + 0x5c]
jb 0x465fd0
mov esi, dword [esp + 0x10]
mov dword [esp + 0x44], 0
mov edx, dword [esi + 0x5c]
mov ecx, edx
mov dword [esp + 0x40], edx
test edx, edx
je 0x466039
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + ecx*4 - 4]
mov dword [esp + 0x48], eax
jmp 0x466041
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
mov eax, dword [edx + 0x2c]
mov edx, dword [edx + 0x5c]
mov dword [esp + 0x40], edx
mov eax, dword [eax + ecx*4]
mov ecx, edx
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + ecx*4 - 4]
mov dword [esp + 0x48], eax
jmp 0x466041
mov dword [esp + 0x48], 0
cmp dword [esp + 0xa4], 0x80000000
jne 0x46616d
cmp dword [esp + 0xa8], 0x80000000
jne 0x46616d
cmp dword [esp + 0x44], 0
je 0x4660f8
xor esi, esi
xor eax, eax
test edx, edx
je 0x4660be
mov cl, byte [edi + 0x33]
mov edx, dword [esp + 0x10]
mov byte [esp + 0x2b], cl
mov ecx, dword [edx + 0x2c]
mov dword [esp + 0x64], ecx
mov cl, byte [edi + 0x32]
mov edi, dword [esp + 0x64]
mov byte [esp + 0x3b], cl
mov ecx, dword [edi + eax*4]
mov dl, byte [esp + 0x2b]
cmp byte [ecx + 0x33], dl
mov edx, dword [esp + 0x40]
jne 0x4660b1
mov dl, byte [esp + 0x3b]
cmp byte [ecx + 0x32], dl
mov edx, dword [esp + 0x40]
jne 0x4660b1
inc esi
inc eax
cmp eax, edx
jb 0x466093
mov edi, dword [esp + 0x24]
test esi, esi
jne 0x4660f8
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x220]
push eax
mov eax, dword [esp + 0x48]
mov ecx, esi
push dword [eax + 0x18]
call fcn.00470920
mov eax, dword [esi + 0x7c]
add eax, dword [esp + 0x220]
mov dword [esp + 0xa4], eax
mov eax, dword [esi + 0x80]
add eax, dword [esp + 0x224]
jmp 0x46611b
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
mov dword [esp + 0xa4], eax
mov eax, dword [esi + 0x90]
add eax, dword [esi + 0x88]
add eax, dword [esi + 0x80]
mov dl, byte [ebp + 8]
mov dword [esp + 0xa8], eax
cmp dl, 1
je 0x46612f
cmp dl, 0x17
jne 0x466183
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x466183
mov al, byte [ecx + 0x30]
cmp al, 1
je 0x466142
cmp al, 0x17
jne 0x466183
mov al, byte [ecx + 0x32]
cmp al, byte [edi + 0x32]
jne 0x466183
mov al, byte [ecx + 0x33]
cmp al, byte [edi + 0x33]
jne 0x466183
push 0x60
push dword [0x4e8f1c]
push 8
call dword [sym.imp.KERNEL32.DLL_MulDiv]
add dword [esp + 0xa8], eax
mov esi, dword [esp + 0x10]
mov dl, byte [ebp + 8]
cmp dl, 0xe
je 0x466189
cmp dl, 0xa
je 0x466189
cmp dl, 0xb
je 0x466189
xor dl, dl
jmp 0x46618b
mov esi, dword [esp + 0x10]
jmp 0x466170
mov dl, 1
mov dh, dl
mov byte [esp + 0x17], dl
xor dh, 1
cmp dword [esp + 0xb0], 0x80000000
mov byte [esp + 0x16], dh
jne 0x466347
movss xmm1, dword [0x4db938]
comiss xmm1, dword [esp + 0xb4]
jbe 0x466347
movzx eax, byte [ebp + 8]
add eax, 0xfffffffd
cmp eax, 0x15
ja case.0x4661d6.4
movzx eax, byte [eax + 0x468ea4]
jmp dword [eax*4 + 0x468e78]
mov ecx, dword [esp + 0xc]
mov eax, ecx
and al, 3
mov dword [esp + 0xb4], 0x40400000
cmp al, 1
je 0x466205
mov eax, ecx
and eax, 0x400
neg eax
sbb al, al
and dh, al
mov byte [esp + 0x16], dh
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x466382
xor eax, eax
mov dword [esp + 0xb4], 0x40000000
mov dword [esp + 0x20], eax
jmp 0x466382
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
jne case.0x4661d6.4
test byte [esp + 0xc], 4
je 0x466250
xor eax, eax
mov dword [esp + 0xb4], 0x40400000
mov dword [esp + 0x20], eax
jmp 0x466382
mov dword [esp + 0xb4], 0x3f800000
jmp case.0x4661d6.4
xor eax, eax
mov dword [esp + 0xb4], 0x3f800000
mov dword [esp + 0x20], eax
jmp 0x466382
test byte [esp + 0xc], 0x40
je 0x4662af
mov eax, dword [esi + 0x70]
push 0x60
push 0xffffff70
lea ecx, [eax + eax*2]
mov eax, dword [0x4e8d64]
shl ecx, 5
push dword [ecx + eax]
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov dl, byte [esp + 0x17]
mov dh, byte [esp + 0x16]
mov dword [esp + 0xb0], eax
jmp case.0x4661d6.4
mov dword [esp + 0xb4], 0x40a00000
jmp case.0x4661d6.4
mov ecx, dword [esp + 0xc]
test cl, 2
je 0x4662de
xor eax, eax
mov dword [esp + 0xb4], 0x40a00000
mov dword [esp + 0x20], eax
jmp 0x466382
mov eax, dword [esp + 0xd0]
mov edx, 0x14
cmp eax, 1
cmovl eax, edx
add eax, 5
test cl, 0x10
jne 0x46630e
test cl, 8
je 0x46630b
push 0x60
push dword [0x4e8f1c]
add eax, 0x10
push eax
jmp 0x466295
add eax, 8
push 0x60
push dword [0x4e8f1c]
push eax
jmp 0x466295
test byte [esp + 0xc], 4
je 0x46627d
xor eax, eax
mov dword [esp + 0xb4], 0x40a00000
mov dword [esp + 0x20], eax
jmp 0x466382
mov dword [esp + 0xb4], 0x41200000
jmp case.0x4661d6.4
mov al, byte [ebp + 8]
cmp al, 7
je 0x466352
cmp al, 8
jne case.0x4661d6.4
or dword [esp + 0xc], 0x400
movss xmm0, dword [esp + 0xb4]
xor eax, eax
comiss xmm0, dword [0x4db920]
mov dword [esp + 0x20], eax
mov dword [esp + 0x4c], eax
jbe 0x466503
movss xmm1, dword [0x4db938]
mov dword [esp + 0x4c], eax
movzx eax, byte [ebp + 8]
sub eax, 3
je 0x466399
sub eax, 4
je 0x466399
sub eax, 1
jne 0x4663af
movss xmm0, dword [esp + 0xb4]
addss xmm0, xmm1
movss dword [esp + 0xb4], xmm0
test dh, dh
je 0x4664e0
mov esi, dword [esp + 0x10]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x70]
mov dword [esp + 0x20], eax
lea edx, [ecx + ecx*2]
mov ecx, dword [0x4e8d64]
shl edx, 5
push dword [edx + ecx + 0x5c]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x254]
push eax
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
movss xmm2, dword [esp + 0xb4]
cvtps2pd xmm0, xmm2
addsd xmm0, qword [0x4db958]
cvttsd2si ecx, xmm0
movd xmm0, dword [esp + 0x254]
cvtdq2ps xmm0, xmm0
lea eax, [ecx - 1]
imul eax, dword [esp + 0x264]
mulss xmm0, xmm2
movd xmm1, eax
movzx eax, byte [ebp + 8]
cvtdq2ps xmm1, xmm1
add eax, 0xfffffffd
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
addsd xmm0, qword [0x4db958]
cvttsd2si edx, xmm0
mov dword [esp + 0xb0], edx
cmp eax, 0x15
ja case.0x466463.5
movzx eax, byte [eax + 0x468ed0]
jmp dword [eax*4 + 0x468ebc]
push 0x60
push dword [0x4e8f1c]
push 8
call dword [sym.imp.KERNEL32.DLL_MulDiv]
add dword [esp + 0xb0], eax
test dword [esp + 0xc], 0x100000
je case.0x466463.5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0xb0], eax
jmp case.0x466463.5
mov eax, dword [esi + 0x70]
lea ecx, [eax + eax*2]
mov eax, dword [0x4e8d64]
shl ecx, 5
sub edx, dword [ecx + eax]
dec edx
mov dword [esp + 0xb0], edx
jmp case.0x466463.5
mov eax, dword [esi + 0x80]
imul eax, ecx
add eax, edx
mov dword [esp + 0xb0], eax
jmp case.0x466463.5
lea eax, [ecx + 1]
imul eax, dword [esi + 0x80]
add eax, edx
mov dword [esp + 0xb0], eax
jmp case.0x466463.5
test dl, dl
jne 0x466503
push 0x60
push dword [0x4e8f1c]
push 0x1e
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xb0], eax
mov dword [esp + 0x4c], ecx
mov esi, dword [esp + 0x10]
cmp dword [esp + 0xb0], 0x80000000
mov byte [esp + 0x53], 0
je 0x46652a
cmp dword [esp + 0xac], 0x80000000
jne case.0x466b18.4
movzx eax, byte [ebp + 8]
mov ecx, 0x400
dec eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x18], ecx
cmp eax, 0x16
ja case.0x466558.2
movzx eax, byte [eax + 0x468ef4]
jmp dword [eax*4 + 0x468ee8]
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je case.0x466558.2
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4665a4
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDC]
mov edx, eax
mov eax, dword [esi + 0x70]
mov dword [esp + 0x20], edx
lea ecx, [eax + eax*2]
mov eax, dword [0x4e8d64]
shl ecx, 5
push dword [ecx + eax + 0x5c]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x254]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov esi, dword [esp + 0x268]
add esi, 4
test dword [esp + 0xc], 0x200000
mov dword [esp + 0x34], esi
je 0x4665d9
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov dword [esp + 0x34], esi
mov esi, dword [ebp + 0x10]
cmp word [esi], 0
je 0x466610
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4665e7
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0xa
jne 0x466610
mov eax, dword [esp + 0x264]
add eax, dword [esp + 0x254]
mov dword [esp + 0x40], eax
mov ecx, 0x2c40
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x20]
mov esi, ecx
test eax, eax
jne 0x46665f
mov eax, dword [esp + 0x10]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetDC]
mov edx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov eax, dword [eax + 0x70]
lea ecx, [eax + eax*2]
mov eax, dword [0x4e8d64]
shl ecx, 5
push dword [ecx + eax + 0x5c]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
mov dl, byte [ebp + 8]
cmp dl, 1
jne 0x466682
or ecx, 0x40
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xc]
test cl, cl
jns 0x4666bb
or esi, 0x840
mov dword [esp + 0x18], esi
jmp 0x4666bf
cmp dl, 5
je 0x46668c
cmp dl, 6
jne 0x4666b7
lea ecx, [esp + 0x254]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x34]
add eax, dword [esp + 0x268]
add ecx, 2
add ecx, eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
mov al, byte [ebp + 8]
test ecx, 0x800000
je 0x4666f5
cmp al, 1
je 0x4666d2
cmp al, 0x17
jne 0x4666f5
push 5
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, eax
push 6
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0xc]
add eax, eax
mov dword [esp + 0x40], eax
mov al, byte [ebp + 8]
cmp dword [esp + 0xac], 0x80000000
je 0x46671d
cmp al, 4
je 0x46670e
cmp al, 5
je 0x46670e
cmp al, 6
jne 0x466716
test ecx, 0x2000
je 0x46671d
or esi, 0x10
mov dword [esp + 0x18], esi
cmp dword [esp + 0xac], 0x80000000
mov dword [esp + 0x244], 0
mov dword [esp + 0x248], 0
jne 0x46674d
mov dword [esp + 0x24c], 0
jmp 0x46675f
mov eax, dword [esp + 0xac]
sub eax, dword [esp + 0x34]
mov dword [esp + 0x24c], eax
mov eax, dword [esp + 0xb0]
xor edx, edx
cmp eax, 0x80000000
cmove eax, edx
mov dword [esp + 0x250], eax
xor eax, eax
cmp byte [ebp + 8], 0x17
mov dword [esp + 0x54], eax
jne 0x46694d
test cl, 4
je 0x466796
or esi, 0x800
mov dword [esp + 0x18], esi
mov ecx, dword [ebp + 0x10]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4667a0
sub ecx, edx
mov edx, 2
sar ecx, 1
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049b6ba
mov esi, eax
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x1c], esi
movzx ecx, word [eax]
mov edx, ecx
mov edx, esi
test cx, cx
je 0x466904
mov edi, eax
nop word [eax + eax]
cmp cx, 0x3c
jne 0x4668dd
movzx eax, word [edi + 2]
mov ecx, eax
add eax, 0xffffff9f
cmp ax, 0x19
ja 0x46680f
and ecx, 0xffdf
cmp cx, 0x41
jne 0x4668dd
lea esi, [edi + 4]
nop dword [eax]
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x20
je 0x46682f
cmp ecx, 9
jne 0x466834
add esi, 2
jmp 0x466820
cmp ecx, 0x3e
je 0x46689a
nop dword [eax]
movzx eax, word [esi]
test eax, 0xffffff80
jne 0x46685c
push eax
call fcn.004a3030
add esp, 4
test eax, eax
je 0x46685c
add esi, 2
jmp 0x466840
cmp word [esi], 0x3d
jne 0x4668d9
mov eax, 0x22
cmp ax, word [esi + 2]
jne 0x4668d9
push eax
lea eax, [esi + 4]
push eax
call fcn.0049c891
add esp, 8
test eax, eax
je 0x4668d9
lea esi, [eax + 2]
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x20
je 0x466890
cmp ecx, 9
jne 0x466895
add esi, 2
jmp 0x466881
cmp ecx, 0x3e
jne 0x466840
add esi, 2
je 0x4668d9
mov edx, 0x4d9e0c
mov ecx, esi
call fcn.00481a00
mov edx, dword [esp + 0x1c]
mov ecx, eax
test ecx, ecx
je 0x4668dd
cmp esi, ecx
jae 0x4668d4
nop dword [eax]
mov ax, word [esi]
add esi, 2
mov word [edx], ax
add edx, 2
cmp esi, ecx
jb 0x4668c0
mov dword [esp + 0x1c], edx
lea edi, [ecx + 6]
jmp 0x4668ea
mov edx, dword [esp + 0x1c]
mov ax, word [edi]
mov word [edx], ax
add edx, 2
mov dword [esp + 0x1c], edx
movzx eax, word [edi + 2]
add edi, 2
mov ecx, eax
test ax, ax
jne 0x4667f0
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x5c]
xor eax, eax
mov word [edx], ax
cmp edx, esi
jbe 0x466915
movzx eax, word [edx - 2]
mov dword [esp + 0x54], eax
push dword [esp + 0x18]
cmp word [esi], 0
lea eax, [esp + 0x248]
push eax
push 0xffffffffffffffff
mov eax, 0x4d9e18
cmovne eax, esi
push eax
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_DrawTextW]
push esi
mov dword [esp + 0x28], eax
call fcn.0049b6c3
mov ecx, dword [esp + 0x58]
add esp, 4
jmp 0x466998
push esi
mov esi, dword [ebp + 0x10]
lea eax, [esp + 0x248]
push eax
push 0xffffffffffffffff
mov eax, 0x4d9e18
cmp word [esi], dx
cmovne eax, esi
push eax
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_DrawTextW]
cmp word [esi], 0
mov dword [esp + 0x24], eax
je 0x466996
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466980
sub ecx, edx
sar ecx, 1
movzx ecx, word [esi + ecx*2 - 2]
jmp 0x466998
xor ecx, ecx
mov dl, byte [ebp + 8]
mov esi, dword [esp + 0x24c]
sub esi, dword [esp + 0x244]
movzx eax, dl
sub eax, 1
je 0x4669c4
sub eax, 3
je 0x4669bd
sub eax, 8
je 0x4669c4
jmp 0x4669f1
cmp dword [esp + 0x30], 0
jne 0x4669f1
test cx, cx
je 0x4669f1
movzx eax, cx
lea ecx, [esp + 0x7c]
push ecx
push eax
push eax
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
mov dl, byte [ebp + 8]
test eax, eax
je 0x4669f1
mov eax, dword [esp + 0x84]
test eax, eax
jns 0x4669f1
sub esi, eax
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x24]
cmp eax, 0x80000000
je 0x466a0c
cmp ecx, eax
jle 0x466a75
cmp dl, 0xc
je 0x466a75
mov edx, dword [esp + 0x40]
add edx, ecx
mov cl, byte [ebp + 8]
mov dword [esp + 0xb0], edx
cmp cl, 0xc
jne 0x466a53
push 0x60
push dword [0x4e8f1c]
push 8
call dword [sym.imp.KERNEL32.DLL_MulDiv]
add dword [esp + 0xb0], eax
test dword [esp + 0xc], 0x100000
je 0x466a75
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0xb0], eax
jmp 0x466a75
cmp cl, 4
jne 0x466a78
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x70]
lea ecx, [eax + eax*2]
mov eax, dword [0x4e8d64]
shl ecx, 5
sub edx, dword [ecx + eax]
dec edx
mov dword [esp + 0xb0], edx
mov cl, byte [ebp + 8]
mov eax, dword [esp + 0xac]
cmp eax, 0x80000000
je 0x466a8a
cmp esi, eax
jle case.0x466558.2
mov eax, dword [esp + 0x34]
add eax, esi
mov byte [esp + 0x53], 1
mov dword [esp + 0xac], eax
cmp cl, 4
jne case.0x466558.2
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, dword [esp + 0x10]
add eax, eax
mov ecx, dword [esi + 0x70]
lea edx, [ecx + ecx*2]
mov ecx, dword [0x4e8d64]
shl edx, 5
sub eax, dword [edx + ecx]
add dword [esp + 0xac], eax
jmp 0x466ace
mov esi, dword [esp + 0x10]
cmp dword [esp + 0xac], 0x80000000
jne case.0x466b18.4
mov eax, dword [esi + 0x70]
push 0x60
push 0xffffffffffffffb8
lea ecx, [eax + eax*2]
mov eax, dword [0x4e8d64]
shl ecx, 5
push dword [ecx + eax]
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov ecx, eax
shl ecx, 4
sub ecx, eax
movzx eax, byte [ebp + 8]
add eax, 0xfffffffd
cmp eax, 0x15
ja case.0x466b18.4
movzx eax, byte [eax + 0x468f2c]
jmp dword [eax*4 + 0x468f0c]
mov dword [esp + 0xac], ecx
jmp case.0x466b18.4
lea eax, [ecx + ecx]
jmp 0x466bdf
mov eax, dword [esp + 0xc]
test al, 0x40
je 0x466bae
mov dword [esp + 0xac], ecx
jmp 0x466bea
mov eax, dword [esp + 0xc]
test al, 2
je 0x466b9d
mov ecx, dword [esp + 0xd0]
mov edx, 0x14
cmp ecx, 1
push 0x60
push dword [0x4e8f1c]
cmovl ecx, edx
add ecx, 5
test al, 0x10
je 0x466b86
push ecx
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov ecx, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xac], ecx
jmp 0x466bea
test al, 8
lea eax, [ecx + 0x10]
jne 0x466b90
lea eax, [ecx + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov ecx, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xac], ecx
jmp 0x466bea
mov eax, dword [esp + 0xc]
test al, 4
je 0x466b9d
mov eax, dword [esi + 0x70]
push 0x60
push 0xffffff70
lea ecx, [eax + eax*2]
mov eax, dword [0x4e8d64]
shl ecx, 5
push dword [ecx + eax]
call dword [sym.imp.KERNEL32.DLL_MulDiv]
jmp 0x466bdf
mov eax, dword [esi + 0x7c]
lea eax, [ecx + eax*2]
jmp 0x466bdf
mov eax, dword [esi + 0x7c]
lea eax, [eax + eax*2]
lea eax, [eax + ecx*2]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xc]
cmp byte [ebp + 8], 0xc
jne 0x466d0b
test al, 4
jne 0x466d0b
movss xmm0, dword [0x4db938]
comiss xmm0, dword [esp + 0xb4]
jbe 0x466d0b
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x466c4e
mov esi, dword [esp + 0x10]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDC]
mov edx, eax
mov eax, dword [esi + 0x70]
mov dword [esp + 0x20], edx
lea ecx, [eax + eax*2]
mov eax, dword [0x4e8d64]
shl ecx, 5
push dword [ecx + eax + 0x5c]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x254]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x60
push dword [0x4e8f1c]
push 8
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov esi, dword [esp + 0xb0]
mov edx, dword [esp + 0x254]
sub esi, eax
mov ecx, dword [esp + 0xc]
sub esi, edx
test ecx, 0x100000
je 0x466ca0
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [esp + 0x254]
sub esi, eax
mov ecx, dword [esp + 0xc]
test esi, esi
jle 0x466d00
mov eax, dword [esp + 0x264]
add eax, edx
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
addss xmm1, dword [0x4db938]
comiss xmm1, dword [0x4db948]
movss dword [esp + 0xb4], xmm1
jbe 0x466d0b
mov edx, dword [esp + 0x8c]
not edx
mov eax, edx
and eax, 4
or ecx, eax
mov dword [esp + 0xc], ecx
test cl, 4
je 0x466d0b
and edx, 0x201040
or ecx, edx
mov dword [esp + 0xc], ecx
jmp 0x466d0b
mov dword [esp + 0xb4], 0x3f800000
mov esi, dword [esp + 0x10]
cmp byte [esp + 0x216], 0
mov byte [esp + 0x17], 0
sete byte [esp + 0x3b]
mov byte [esp + 0x2a], 0
mov eax, dword [esi + 0x5c]
add eax, 3
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x466d54
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0xb], 1
test eax, eax
je 0x466d59
mov byte [esp + 0xb], 0
cmp byte [edi + 0x32], 0xff
mov eax, dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [sym.imp.USER32.dll_GetPropW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x58], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowLongW]
mov byte [esp + 0x2b], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], esi
jae 0x466e21
mov eax, dword [esp + 0x44]
test eax, eax
je 0x466e6c
push 0x4d95cc
push dword [eax + 0x18]
call ecx
test eax, eax
je 0x466deb
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0xa8]
push 1
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x68]
push ecx
push eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0x1c]
call dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x44]
push 0xfffffffffffffff0
push dword [eax + 0x18]
call dword [esp + 0x5c]
test eax, 0x10000000
je 0x466e6c
mov eax, dword [esp + 0x44]
push 0
push 0
push 0x130b
push dword [eax + 0x18]
call esi
movzx ecx, byte [edi + 0x33]
cmp eax, ecx
jne 0x466e6c
mov al, byte [esp + 0xb]
mov byte [esp + 0x2b], al
mov edx, dword [esp + 0xc]
mov ecx, dword [sym.imp.USER32.dll_MoveWindow]
movzx eax, byte [ebp + 8]
mov dword [esp + 0x34], ecx
dec eax
mov ecx, dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [esp + 0x30], ecx
mov ecx, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [esp + 0x40], ecx
mov ecx, dword [sym.imp.UxTheme.dll_SetWindowTheme]
mov dword [esp + 0x5c], ecx
mov ecx, dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [esp + 0x64], ecx
cmp eax, 0x18
ja case.0x466e65.20
jmp dword [eax*4 + 0x468f44]
mov edx, dword [esp + 0xc]
and edx, 0xefffffff
mov dword [esp + 0xc], edx
jmp 0x466e25
push 0
push dword [0x4e7ce0]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push edx
push dword [ebp + 0x10]
push 0x4d1134
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x18], eax
jmp case.0x466e65.20
push 0
push dword [0x4e7ce0]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push edx
push dword [ebp + 0x10]
push 0x4d9e1c
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x18], eax
jmp case.0x466e65.20
mov ecx, dword [esp + 0xac]
xor eax, eax
cmp ecx, 0x80000000
cmove ecx, eax
mov eax, dword [esp + 0xb0]
xor esi, esi
mov dword [esp + 0xac], ecx
push esi
push dword [0x4e7ce0]
cmp eax, 0x80000000
push dword [esp + 0x24]
cmove eax, esi
push dword [esp + 0x24]
mov dword [esp + 0xc0], eax
push eax
push ecx
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push edx
push dword [ebp + 0x10]
push 0x4d1134
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [esp + 0x3c]
mov dword [edi + 0x18], eax
test eax, eax
je case.0x466e65.20
push dword [esp + 0xf4]
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [ebp + 0x10]
push edi
call fcn.0046c450
test eax, eax
jne 0x466fb3
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 0x18], 0
jmp case.0x466e65.20
mov byte [esp + 0x17], 1
jmp case.0x466e65.20
push 0
push dword [0x4e7ce0]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push edx
push dword [ebp + 0x10]
push 0x4d9468
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x18], eax
jmp case.0x466e65.20
push 0
push dword [0x4e7ce0]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push edx
push dword [ebp + 0x10]
push 0x4d9468
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x18], eax
test eax, eax
je case.0x466e65.20
test byte [esp + 0xc], 1
je case.0x466e65.20
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x64]
cmp ecx, dword [edx + 0x5c]
jae 0x467097
mov eax, dword [edx + 0x2c]
push 1
push 0xfffffffffffffff0
mov eax, dword [eax + ecx*4]
push dword [eax + 0x18]
call dword [esp + 0x60]
and eax, 0xfffe
push eax
mov eax, dword [esp + 0x18]
push 0xf4
mov ecx, dword [eax + 0x64]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + ecx*4]
push dword [eax + 0x18]
call esi
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x5c]
push 0
mov dword [edx + 0x64], eax
add eax, 3
push eax
push 0x401
push dword [edx + 0x1c]
call esi
mov eax, dword [esp + 0xc]
push 1
movzx eax, ax
push eax
push 0xf4
push dword [edi + 0x18]
jmp 0x468870
push 0
push dword [0x4e7ce0]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push edx
push dword [ebp + 0x10]
push 0x4d9468
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x18], eax
test eax, eax
je case.0x466e65.20
mov ecx, dword [esp + 0xf0]
test ecx, ecx
je case.0x466e65.20
push 0
push ecx
push 0xf1
jmp 0x46886f
cmp dword [esp + 0xe8], 0
je 0x467141
cmp byte [edi + 0x30], 8
jne 0x467141
and edx, 0xffffffbf
mov dword [esp + 0xc], edx
push 0
push dword [0x4e7ce0]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push edx
push 0x4cdea8
push 0x4d94a0
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, eax
mov dword [edi + 0x18], edx
test edx, edx
je 0x467294
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0xb]
push ecx
mov ecx, dword [eax + 0x70]
mov eax, dword [0x4e8d64]
lea ecx, [ecx + ecx*2]
shl ecx, 5
push dword [ecx + eax + 0x5c]
push 0x30
push edx
call esi
cmp byte [esp + 0x16], 0
je 0x46725f
push 0
push 0
push 0x154
push dword [edi + 0x18]
call esi
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], eax
and cl, 3
xor eax, eax
cmp cl, 1
push 0x60
push dword [0x4e8f1c]
sete al
push 8
lea eax, [eax*2 + 2]
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.DLL_MulDiv]
add eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0xb0]
cmp ecx, eax
jge 0x467218
mov ecx, eax
mov dword [esp + 0xb0], ecx
jmp 0x467266
movss xmm0, dword [esp + 0xb4]
comiss xmm0, dword [0x4db920]
jbe 0x467266
push 0x60
push dword [0x4e8f1c]
push 8
call dword [sym.imp.KERNEL32.DLL_MulDiv]
movd xmm0, dword [esp + 0x24]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0xb4]
cvttss2si ecx, xmm0
add ecx, eax
add ecx, dword [esp + 0x3c]
mov dword [esp + 0xb0], ecx
jmp 0x467266
mov ecx, dword [esp + 0xb0]
push 1
push ecx
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [edi + 0x18]
call dword [esp + 0x4c]
mov al, 1
mov byte [esp + 0x17], al
mov byte [esp + 0x2a], al
jmp case.0x466e65.20
mov al, byte [esp + 0x17]
mov byte [esp + 0x2a], al
jmp case.0x466e65.20
push 0
push dword [0x4e7ce0]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push edx
push 0x4cdea8
push 0x4d94b4
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x18], eax
test eax, eax
je 0x467294
mov ecx, dword [esp + 0x1c0]
test ecx, ecx
je 0x467305
lea edx, [esp + 0xf8]
push edx
push ecx
push 0x192
push eax
call esi
movzx eax, byte [esp + 0xb]
push eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x70]
lea ecx, [eax + eax*2]
mov eax, dword [0x4e8d64]
shl ecx, 5
push dword [ecx + eax + 0x5c]
push 0x30
push dword [edi + 0x18]
call esi
push 0
push 0
push 0x1a1
push dword [edi + 0x18]
call esi
push 0x60
push dword [0x4e8f1c]
mov dword [esp + 0x2c], eax
push 8
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov edx, eax
mov eax, dword [esp + 0xc]
add edx, dword [esp + 0x24]
and eax, 0x100000
mov dword [esp + 0x3c], edx
mov dword [esp + 0x48], eax
je 0x467371
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [esp + 0x3c]
add edx, eax
mov ecx, dword [esp + 0xb0]
cmp ecx, edx
jge 0x46738a
mov ecx, edx
mov dword [esp + 0xb0], ecx
jmp 0x467266
movss xmm0, dword [esp + 0xb4]
comiss xmm0, dword [0x4db920]
jbe 0x467266
push 0x60
push dword [0x4e8f1c]
push 8
call dword [sym.imp.KERNEL32.DLL_MulDiv]
movd xmm0, dword [esp + 0x24]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0xb4]
cvttss2si ecx, xmm0
add ecx, eax
cmp dword [esp + 0x48], 0
mov dword [esp + 0xb0], ecx
je 0x467266
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0xb0]
add ecx, eax
mov dword [esp + 0xb0], ecx
jmp 0x467266
mov eax, dword [esp + 0x9c]
cmp eax, 4
je 0x46740c
and edx, 0xfffffffc
or edx, eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xb0]
mov ecx, 0xc8
push 0
push dword [0x4e7ce0]
cmp eax, 0x80000000
push dword [esp + 0x24]
cmove eax, ecx
push dword [esp + 0x24]
push eax
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push edx
push 0x4cdea8
push 0x4cdee4
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x18], eax
test eax, eax
je case.0x466e65.20
push 0x3f8
call fcn.0049ee1d
add esp, 4
mov dword [edi + 0x3c], eax
test eax, eax
je 0x466f9e
push 0x3f8
push 0
push eax
call fcn.0049d610
mov eax, dword [edi + 0x3c]
add esp, 0xc
mov dword [eax], 0xffffffff
mov ecx, dword [edi + 0x3c]
mov al, byte [esp + 0x217]
mov byte [ecx + 5], al
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4674b0
or byte [eax + 0x31], 0x80
cmp dword [esp + 0x9c], 4
jne 0x4674c8
push 0
push 4
push 0x108e
push dword [edi + 0x18]
call esi
mov eax, dword [esp + 0x98]
test eax, eax
je 0x4674e0
push eax
push 0
push 0x1036
push dword [edi + 0x18]
call esi
cmp dword [esp + 0xe8], 0
je 0x467521
push 0
push 0
push 0x1004
push dword [edi + 0x18]
call esi
test eax, eax
jle 0x467511
push 0
push dword [esp + 0xec]
push 0x102f
push dword [edi + 0x18]
call esi
jmp 0x467521
mov ecx, dword [edi + 0x3c]
mov eax, dword [esp + 0xe8]
mov dword [ecx + 0x3f4], eax
mov eax, dword [esp + 0xe0]
cmp eax, 0xffffffff
jne 0x46753f
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
je 0x4675a2
jmp 0x467567
push eax
push 0
push 0x1024
push dword [edi + 0x18]
call esi
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xe0], 0xffffffff
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
je 0x467597
cmp eax, 0xff000000
jne 0x46757a
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [esp + 0x24], eax
push eax
push 0
push 0x1026
push dword [edi + 0x18]
call esi
push dword [esp + 0x24]
push 0
push 0x1001
push dword [edi + 0x18]
call esi
push 1
push 0
push dword [edi + 0x18]
call dword [esp + 0x70]
cmp dword [esp + 0xb0], 0x80000000
jne case.0x466e65.20
movzx eax, byte [esp + 0xb]
push eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x70]
lea ecx, [eax + eax*2]
mov eax, dword [0x4e8d64]
shl ecx, 5
push dword [ecx + eax + 0x5c]
push 0x30
push dword [edi + 0x18]
call esi
mov eax, dword [esp + 0x9c]
mov byte [esp + 0x2a], 1
sub eax, 1
je 0x46773c
sub eax, 3
je 0x46770f
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x467634
mov eax, dword [esp + 0x10]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetDC]
mov edx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov eax, dword [eax + 0x70]
lea ecx, [eax + eax*2]
mov eax, dword [0x4e8d64]
shl ecx, 5
push dword [ecx + eax + 0x5c]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x254]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
cmp dword [esp + 0x9c], 0
jne 0x4676d2
push 0
push 0
push 0x1033
push dword [edi + 0x18]
call esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4dbac0]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [esp + 0xb4]
subss xmm0, dword [0x4db938]
mulss xmm0, xmm1
call fcn.004b5840
mov esi, eax
push 0xc
shr esi, 0x10
call dword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm1, esi
mov esi, dword [esp + 0x3c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [esp + 0x254]
cvtdq2ps xmm0, xmm0
add eax, 0x10
mulss xmm0, dword [esp + 0xb4]
addss xmm0, xmm1
cvttss2si ecx, xmm0
add eax, ecx
jmp 0x46775e
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x254]
cmp eax, ecx
movss xmm0, dword [esp + 0xb4]
cmovg ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
subss xmm0, dword [0x4db938]
addss xmm1, xmm0
cvttss2si eax, xmm1
add eax, 0xb
jmp 0x46775e
push 0
push 0
push 0x1033
push dword [edi + 0x18]
call esi
shr eax, 0x10
sub eax, 3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0xb4]
cvttss2si eax, xmm0
add eax, 7
jmp 0x46775e
movss xmm0, dword [esp + 0xb4]
push 0xffffffffffffffff
call fcn.004b5840
dec eax
push eax
push 0x1040
push dword [edi + 0x18]
call esi
shr eax, 0x10
add eax, 4
push 1
push eax
push dword [esp + 0xb4]
mov dword [esp + 0xbc], eax
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [edi + 0x18]
call dword [esp + 0x4c]
jmp case.0x466e65.20
mov eax, dword [esp + 0xb0]
mov ecx, 0xc8
push 0
push dword [0x4e7ce0]
cmp eax, 0x80000000
push dword [esp + 0x24]
cmove eax, ecx
push dword [esp + 0x24]
push eax
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push edx
push 0x4cdea8
push 0x4cdec8
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x18], eax
test eax, eax
je case.0x466e65.20
cmp dword [esp + 0xf0], 0
je 0x4677ff
mov ecx, dword [esp + 0xc]
or ecx, 0x100
push ecx
push 0xfffffffffffffff0
push eax
call dword [esp + 0x3c]
mov eax, dword [esp + 0xe0]
cmp eax, 0xffffffff
je 0x467830
cmp eax, 0xff000000
mov ecx, 0xffffffff
cmove eax, ecx
push eax
push 0
push 0x111e
push dword [edi + 0x18]
call esi
mov dword [esp + 0xe0], 0xffffffff
mov eax, dword [esp + 0xe4]
cmp eax, 0xffffffff
je 0x467856
cmp eax, 0xff000000
mov ecx, 0xffffffff
cmove eax, ecx
push eax
push 0
push 0x111d
push dword [edi + 0x18]
call esi
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x46786e
push eax
push 0
push 0x1109
push dword [edi + 0x18]
call esi
cmp dword [esp + 0xb0], 0x80000000
jne case.0x466e65.20
movzx eax, byte [esp + 0xb]
push eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x70]
lea ecx, [eax + eax*2]
mov eax, dword [0x4e8d64]
shl ecx, 5
push dword [ecx + eax + 0x5c]
push 0x30
push dword [edi + 0x18]
call esi
push 0
push 0
push 0x111c
push dword [edi + 0x18]
mov byte [esp + 0x3a], 1
call esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0xb4]
cvttss2si eax, xmm0
jmp 0x46775b
test dl, 4
jne 0x4678f9
cmp dword [esp + 0xe8], 0
jge 0x4678e5
and edx, 0xffefff7f
jmp 0x4678f5
mov eax, dword [esp + 0x8c]
not eax
and eax, 0x80
or edx, eax
mov dword [esp + 0xc], edx
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x46791d
test dl, 4
je 0x46791d
mov ecx, eax
call fcn.00482650
mov edx, dword [esp + 0xc]
mov ecx, eax
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x10]
jmp 0x467923
xor ecx, ecx
mov dword [esp + 0x24], ecx
push 0
push dword [0x4e7ce0]
test ecx, ecx
push dword [esp + 0x24]
cmovne eax, ecx
push dword [esp + 0x24]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push edx
push eax
push 0x4cea34
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, eax
mov dword [edi + 0x18], edx
test edx, edx
je 0x4679cf
test byte [esp + 0xc], 0x20
je 0x467990
mov cx, word [esp + 0x210]
test cx, cx
je 0x467990
push 0
movzx eax, cx
push eax
push 0xcc
push edx
call esi
mov eax, dword [esp + 0xe8]
xor ecx, ecx
test eax, eax
push ecx
cmovs eax, ecx
push eax
push 0xc5
mov dword [esp + 0xf4], eax
push dword [edi + 0x18]
call esi
mov eax, dword [esp + 0x1c0]
test eax, eax
je 0x4679cf
lea ecx, [esp + 0xf8]
push ecx
push eax
push 0xcb
push dword [edi + 0x18]
call esi
mov eax, dword [esp + 0x24]
cmp eax, dword [ebp + 0x10]
je case.0x466e65.20
push eax
call fcn.0049ee02
add esp, 4
jmp case.0x466e65.20
mov eax, dword [ebp + 0x10]
mov byte [esp + 0x16], 0
cmp word [eax], 0
je 0x467a66
push 0x4d440c
push eax
call fcn.0049ed01
add esp, 8
test eax, eax
jne 0x467a1a
mov eax, dword [esp + 0xc]
and eax, 0xfffffff6
or eax, 4
mov dword [esp + 0xc], eax
jmp 0x467a6a
push 0x4d4434
push dword [ebp + 0x10]
call fcn.0049ed01
add esp, 8
test eax, eax
jne 0x467a3e
mov eax, dword [esp + 0xc]
and eax, 0xfffffffb
or eax, 9
mov dword [esp + 0xc], eax
jmp 0x467a6a
push 0x4d43f8
push dword [ebp + 0x10]
call fcn.0049ed01
add esp, 8
test eax, eax
mov eax, dword [esp + 0xc]
jne 0x467a5f
and eax, 0xfffffff3
mov dword [esp + 0xc], eax
jmp 0x467a6a
mov byte [esp + 0x16], 1
jmp 0x467a6a
mov eax, dword [esp + 0xc]
cmp dword [esp + 0xb8], 2
jne 0x467a7b
or eax, 2
mov dword [esp + 0xc], eax
push 0
push dword [0x4e7ce0]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push eax
push 0x4cdea8
push 0x4d9e2c
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x18], eax
test eax, eax
je case.0x466e65.20
cmp byte [esp + 0x16], 0
je 0x467adb
push dword [ebp + 0x10]
push 0
push 0x1032
push eax
call esi
mov eax, dword [esp + 0x208]
test eax, eax
je 0x467af9
lea ecx, [esp + 0x1e4]
push ecx
push eax
push 0x1004
push dword [edi + 0x18]
call esi
mov ecx, dword [esp + 0xb8]
test ecx, ecx
je 0x467b1f
lea eax, [esp + 0x1c4]
push eax
xor eax, eax
cmp ecx, 1
setne al
push eax
push 0x1002
push dword [edi + 0x18]
call esi
mov eax, dword [esp + 0xe0]
test eax, 0xff000000
jne case.0x466e65.20
push eax
push 1
push 0x1006
push dword [edi + 0x18]
jmp 0x468870
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x467bd7
lea edx, [esp + 0x1c4]
mov ecx, eax
call fcn.00481180
mov dword [esp + 0x204], eax
test eax, eax
jne 0x467bcd
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x34]
mov eax, dword [0x4e37f8]
cmp dword [eax + 0x34], 0
jne 0x467bad
cmp dword [0x4e95ac], 0
jne 0x467bad
cmp byte [0x4e8ec6], 0
jne 0x467bad
push 0
push 0
push dword [ebp + 0x10]
mov ecx, 0x4e8f30
push 9
push 0x4d4738
call fcn.0040d430
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
push 0
push 9
push 0
push dword [ebp + 0x10]
mov ecx, 0x4e8f30
push 0x4d4738
call fcn.0040c250
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 3
jne 0x467bd7
or dword [esp + 0xc], 2
mov eax, dword [esp + 0xb0]
mov ecx, 0x64
push 0
push dword [0x4e7ce0]
cmp eax, 0x80000000
push dword [esp + 0x24]
cmove eax, ecx
push dword [esp + 0x24]
push eax
mov eax, dword [esp + 0xc0]
test eax, eax
cmovs eax, ecx
push eax
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0x2c]
push 0x4cdea8
push 0x4d9e50
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, eax
mov dword [edi + 0x18], ecx
test ecx, ecx
je case.0x466e65.20
mov eax, dword [esp + 0xc]
and eax, 2
mov dword [esp + 0x24], eax
je 0x467c58
push 0
push 0x16e
push 0x1004
push ecx
call esi
mov eax, dword [esp + 0x208]
test eax, eax
je 0x467c76
lea ecx, [esp + 0x1e4]
push ecx
push eax
push 0x1012
push dword [edi + 0x18]
call esi
mov eax, dword [esp + 0x204]
test eax, eax
je 0x467cc2
cmp dword [esp + 0x24], 0
je 0x467cae
cmp eax, 1
jne 0x467c9d
movups xmm0, xmmword [esp + 0x1c4]
movups xmmword [esp + 0x1d4], xmm0
lea eax, [esp + 0x1c4]
push eax
push 0
push 0x1006
jmp 0x467cbd
lea eax, [esp + 0x1c4]
push eax
push 0
push 0x1002
push dword [edi + 0x18]
call esi
mov eax, dword [esp + 0xe0]
test eax, 0xff000000
jne 0x467cdd
push eax
push 1
push 0x100a
push dword [edi + 0x18]
call esi
movzx eax, byte [esp + 0xb]
push eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x70]
lea ecx, [eax + eax*2]
mov eax, dword [0x4e8d64]
shl ecx, 5
push dword [ecx + eax + 0x5c]
push 0x30
push dword [edi + 0x18]
call esi
cmp dword [esp + 0xac], 0x80000000
mov byte [esp + 0x2a], 1
je 0x467d23
cmp dword [esp + 0xb0], 0x80000000
jne case.0x466e65.20
lea eax, [esp + 0x6c]
push eax
push 0
push 0x1009
push dword [edi + 0x18]
call esi
test eax, eax
je case.0x466e65.20
mov ecx, dword [esp + 0xac]
test ecx, ecx
jns 0x467d92
test byte [esp + 0xc], 0x10
je 0x467d54
mov eax, dword [esp + 0x74]
jmp 0x467d72
push 0
push 0
push 0x1015
push dword [edi + 0x18]
call esi
cmp eax, dword [esp + 0x74]
mov ecx, dword [esp + 0xac]
cmovl eax, dword [esp + 0x74]
cmp ecx, 0x80000000
jne 0x467d7e
mov ecx, eax
jmp 0x467d8b
add eax, 6
imul eax, ecx
mov ecx, 0xfffffffa
sub ecx, eax
mov dword [esp + 0xac], ecx
mov edx, dword [esp + 0xb0]
cmp edx, 0x80000000
jne 0x467e8b
movss xmm0, dword [esp + 0xb4]
comiss xmm0, dword [0x4db920]
mov edx, dword [esp + 0x78]
mov dword [esp + 0xb0], edx
jbe 0x467e8b
ucomiss xmm0, dword [0x4db938]
lahf
test ah, 0x44
jnp 0x467e8b
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x467e17
mov eax, dword [esp + 0x10]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetDC]
mov edx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov eax, dword [eax + 0x70]
lea ecx, [eax + eax*2]
mov eax, dword [0x4e8d64]
shl ecx, 5
push dword [ecx + eax + 0x5c]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x254]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test byte [esp + 0xc], 0x10
mov ecx, dword [esp + 0x254]
mov eax, dword [esp + 0xb0]
je 0x467e40
add eax, 4
add eax, ecx
movss xmm2, dword [esp + 0xb4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
subss xmm2, dword [0x4db938]
cvttss2si eax, xmm0
movd xmm1, eax
lea eax, [ecx - 2]
mov ecx, dword [esp + 0xac]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
subss xmm1, xmm0
cvttss2si edx, xmm1
mov dword [esp + 0xb0], edx
push 1
push edx
push ecx
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [edi + 0x18]
call dword [esp + 0x4c]
jmp case.0x466e65.20
push 0
push dword [0x4e7ce0]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push edx
push 0x4cdea8
push 0x4d9e6c
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x18], eax
test eax, eax
je case.0x466e65.20
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x467f15
push 0
mov ecx, eax
call fcn.00470080
movzx eax, ax
push eax
push 0x401
push dword [edi + 0x18]
call esi
mov eax, dword [esp + 0xe8]
test eax, eax
jle case.0x466e65.20
push 6
push eax
push 0x403
push dword [edi + 0x18]
jmp 0x468870
test dl, 0x10
je 0x467f5f
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x24], 0
jne 0x467f51
mov eax, dword [esp + 0x44]
test eax, eax
je 0x467f5f
cmp byte [eax + 0x31], 0
jge 0x467f5f
and edx, 0xffffffef
mov byte [esp + 0x16], 1
mov dword [esp + 0xc], edx
jmp 0x467f64
mov byte [esp + 0x16], 0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x467f76
cmp byte [eax + 0x30], 0xc
jne 0x467f76
or byte [eax + 0x31], 0x20
push 0
push dword [0x4e7ce0]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push edx
push 0x4cdea8
push 0x4d9e8c
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, eax
mov dword [edi + 0x18], ecx
test ecx, ecx
je 0x4681b3
mov al, byte [esp + 0x16]
test al, al
je 0x467fe1
mov eax, dword [esp + 0x48]
push 0
push dword [eax + 0x18]
push 0x469
push ecx
call esi
mov al, byte [esp + 0x16]
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x5c], 0
je 0x468169
test byte [esp + 0xc], 0x10
jne 0x467ffe
test al, al
je 0x468169
lea eax, [esp + 0x6c]
push eax
push dword [edi + 0x18]
call dword [esp + 0x48]
push 2
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x20]
push 0
call dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
sub eax, ecx
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x78]
sub eax, edx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xb0], eax
lea eax, [esp + 0x220]
push eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xac], edx
push dword [eax + 0x18]
call dword [esp + 0x48]
push 2
lea eax, [esp + 0x224]
push eax
push dword [esp + 0x20]
push 0
call dword [esp + 0x68]
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xc5], 0
je 0x4680f9
test byte [esp + 0xc], 4
je 0x4680ba
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa4]
add dword [esp + 0x74], eax
add ecx, eax
push 1
push dword [esp + 0xb4]
mov dword [esp + 0xac], ecx
push eax
push dword [esp + 0xb4]
push ecx
push dword [edi + 0x18]
call dword [esp + 0x4c]
mov edx, dword [esp + 0x228]
mov eax, dword [esp + 0x22c]
mov ecx, dword [esp + 0x224]
sub eax, ecx
add edx, dword [esp + 0xac]
push 1
push eax
mov eax, dword [esp + 0x228]
mov dword [esp + 0x230], edx
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [esp + 0x5c]
push dword [eax + 0x18]
call dword [esp + 0x4c]
mov ecx, dword [esp + 0xc]
test cl, 4
je 0x46811c
mov ecx, dword [esp + 0x220]
mov eax, dword [esp + 0x74]
mov dword [esp + 0xa4], ecx
sub eax, ecx
mov ecx, dword [esp + 0xc]
jmp 0x468127
mov eax, dword [esp + 0x228]
sub eax, dword [esp + 0x6c]
cmp byte [esp + 0x212], 0
mov dword [esp + 0xac], eax
jne 0x468186
mov eax, dword [esp + 0x48]
cmp byte [eax + 0x30], 9
jne 0x468173
mov byte [esp + 0x212], 1
test cl, 0x40
je 0x46815c
mov dword [esp + 0xc0], 0x7fff
jmp 0x468186
mov dword [esp + 0xbc], 0x7fff
jmp 0x468186
cmp byte [esp + 0x212], 0
jne 0x468186
mov byte [esp + 0x212], 1
mov dword [esp + 0xc0], 0x64
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push 0x46f
push dword [edi + 0x18]
call esi
mov ecx, dword [ebp + 0x10]
call fcn.00481e30
push eax
push 0
push 0x471
push dword [edi + 0x18]
call esi
mov eax, dword [esp + 0x48]
test eax, eax
je case.0x466e65.20
cmp byte [eax + 0x30], 0xc
jne case.0x466e65.20
and byte [eax + 0x31], 0xdf
jmp case.0x466e65.20
push 0
push dword [0x4e7ce0]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push edx
push 0x4cdea8
push 0x4d9eac
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x18], eax
test eax, eax
je case.0x466e65.20
mov cl, byte [esp + 0x212]
test cl, cl
je 0x468254
push dword [esp + 0xbc]
push 0
push 0x407
push eax
call esi
push dword [esp + 0xc0]
push 1
push 0x408
push dword [edi + 0x18]
call esi
mov cl, byte [esp + 0x212]
cmp byte [esp + 0x213], 0
je 0x4682a7
mov eax, dword [esp + 0xc4]
test eax, eax
jns 0x468274
push 0
push 1
push 0x409
jmp 0x4682a2
cmp byte [esp + 0x214], 0
je 0x468288
push 0
push eax
push 0x414
jmp 0x4682a2
test cl, cl
jne 0x4682a7
push 0
push 0
push 0x402
push dword [edi + 0x18]
call esi
push eax
push 1
push 0x408
push dword [edi + 0x18]
call esi
mov eax, dword [esp + 0xc8]
test eax, eax
jle 0x4682bf
push eax
push 0
push 0x417
push dword [edi + 0x18]
call esi
mov eax, dword [esp + 0xcc]
test eax, eax
jle 0x4682d7
push eax
push 0
push 0x415
push dword [edi + 0x18]
call esi
mov eax, dword [esp + 0xd0]
test eax, eax
jle 0x4682ef
push 0
push eax
push 0x41b
push dword [edi + 0x18]
call esi
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x468308
push 0
dec eax
push eax
push 0x41f
push dword [edi + 0x18]
call esi
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x468322
push dword [eax + 0x18]
push 1
push 0x420
push dword [edi + 0x18]
call esi
mov eax, dword [esp + 0xdc]
test eax, eax
je 0x46833c
push dword [eax + 0x18]
push 0
push 0x420
push dword [edi + 0x18]
call esi
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je case.0x466e65.20
mov ecx, eax
call fcn.00481e30
cmp byte [edi + 0x31], 0
mov dword [esp + 0x24], eax
jge 0x468384
push 0
push 0
push 0x402
push dword [edi + 0x18]
call esi
push 0
push 0
push 0x401
push dword [edi + 0x18]
mov esi, eax
sub esi, dword [esp + 0x34]
call dword [esp + 0x4c]
add eax, esi
mov esi, dword [esp + 0x3c]
push eax
push 1
push 0x405
push dword [edi + 0x18]
jmp 0x468870
push 0
push dword [0x4e7ce0]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push edx
push 0x4cdea8
push 0x4d9ed0
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x18], eax
test eax, eax
je case.0x466e65.20
mov ecx, dword [esp + 0xe0]
test ecx, 0xff000000
je 0x468403
test dword [esp + 0xe4], 0xff000000
je 0x468403
test byte [esp + 0xc], 1
je 0x468419
push 0x4cdea8
push 0x4cdea8
push eax
call dword [esp + 0x68]
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc0]
test edx, edx
jne 0x46842f
test eax, eax
je 0x468442
push eax
push edx
push 0x406
push dword [edi + 0x18]
call esi
mov ecx, dword [esp + 0xe0]
cmp ecx, 0xffffffff
je 0x468454
push ecx
push 0
push 0x409
push dword [edi + 0x18]
call esi
mov eax, dword [esp + 0xe4]
cmp eax, 0xffffffff
je 0x46846d
push eax
push 0
push 0x2001
push dword [edi + 0x18]
call esi
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x46848a
mov ecx, eax
call fcn.00481e30
push 0
push eax
push 0x402
push dword [edi + 0x18]
call esi
mov byte [esp + 0x3b], 0
jmp case.0x466e65.20
push 0
push dword [0x4e7ce0]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push edx
push 0x4cdea8
push 0x4d9ef4
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x18], eax
test eax, eax
je case.0x466e65.20
cmp byte [esp + 0x218], 0
je 0x4685bc
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
push 0
push 0x470dc0
movaps xmmword [esp + 0x228], xmm0
push dword [eax + 0x1c]
lea eax, [esp + 0x22c]
movq qword [esp + 0x23c], xmm0
push eax
push dword [0x4e7ce0]
mov dword [esp + 0x234], 0x50000400
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [esp + 0x24], eax
test eax, eax
je 0x466f9e
push eax
push 0x4d95cc
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_SetPropW]
test eax, eax
jne 0x46855d
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x466f9e
cmp byte [esp + 0x216], 0
movzx eax, byte [edi + 0x33]
mov dword [esp + 0x3c], eax
je 0x468584
push 6
push dword [esp + 0x28]
call dword [sym.imp.UxTheme.dll_EnableThemeDialogTexture]
mov eax, dword [esp + 0x3c]
or eax, 0x100
push eax
push 0xffffffffffffffeb
push dword [esp + 0x2c]
call dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
push 0xffffffffffffffec
push dword [eax + 0x1c]
call dword [esp + 0x5c]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x6c], eax
test eax, 0x10000
jne 0x4685bc
or eax, 0x10000
push eax
push 0xffffffffffffffec
push dword [ecx + 0x1c]
mov dword [ecx + 0x6c], eax
call dword [esp + 0x3c]
mov al, byte [esp + 0x219]
test al, al
je 0x4685d9
movsx eax, al
push eax
push 0x4d9c44
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_SetPropW]
mov ecx, dword [esp + 0x10]
push 0x46faf0
push 0xfffffffffffffffc
mov al, byte [ecx + 0xbc]
mov byte [ecx + 0xbd], al
inc al
mov byte [ecx + 0xbe], 0
mov byte [ecx + 0xbc], al
push dword [edi + 0x18]
call dword [esp + 0x3c]
mov dword [0x4e8008], eax
jmp case.0x466e65.20
cmp byte [0x4e9fa0], 0
jne 0x46865d
push 0x4d9050
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov dword [esp + 0x24], eax
test eax, eax
je 0x46865d
push 0x4d9f14
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x46864a
call eax
test eax, eax
setne al
mov byte [0x4e9fa0], al
jmp 0x46864f
mov al, byte [0x4e9fa0]
test al, al
jne 0x46865d
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
push 0
push dword [0x4e7ce0]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0x2c]
push dword [ebp + 0x10]
push 0x4d9f24
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esp + 0x3c], eax
mov dword [edi + 0x18], eax
test eax, eax
je case.0x466e65.20
mov eax, dword [0x4e9f98]
test eax, eax
jne 0x4686e6
push 0x4d9050
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
je 0x4686d9
push 0x4d9058
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x4e9f98], eax
jmp 0x4686de
mov eax, dword [0x4e9f98]
test eax, eax
je 0x468772
lea ecx, [esp + 0x24]
push ecx
push dword [esp + 0x40]
call eax
test eax, eax
js 0x468772
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x3c]
push edx
push 0x4b78c4
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x46872c
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x18
call fcn.0049b416
mov ecx, eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 0x14], 9
jmp 0x468740
push 0x18
call fcn.0049b416
mov ecx, eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x14], 0xd
mov dword [ecx + 0x10], 0
add esp, 4
cdq
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], eax
mov dword [ecx], vtable.ComObject.0
mov dword [ecx + 4], 1
mov dword [esp + 0x48], ecx
mov dword [edi + 0x3c], ecx
test ecx, ecx
jne case.0x466e65.20
jmp 0x466f9e
mov dword [edi + 0x3c], 0
jmp 0x466f9e
mov ax, word [esp + 0x21a]
test ax, ax
jne 0x4687f5
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x34]
mov eax, dword [0x4e37f8]
cmp dword [eax + 0x34], 0
jne 0x4687d3
cmp dword [0x4e95ac], 0
jne 0x4687d3
cmp byte [0x4e8ec6], 0
jne 0x4687d3
push 0
push 0
push 0x4cdea8
push 9
push 0x4d9f38
mov ecx, 0x4e8f30
call fcn.0040d430
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
push 0
push 9
push 0
push 0x4cdea8
push 0x4d9f38
mov ecx, 0x4e8f30
call fcn.0040c250
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
push 0
push dword [0x4e7ce0]
movzx eax, ax
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push edx
push dword [ebp + 0x10]
push eax
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x18], eax
jmp case.0x466e65.20
push dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push dword [eax + 0x1c]
push dword [ebp + 0x10]
push edx
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowW]
mov dword [edi + 0x18], eax
test eax, eax
je case.0x466e65.20
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x24], eax
mov ecx, dword [esp + 0xe4]
cmp ecx, 0xffffffff
je case.0x466e65.20
push ecx
push 0
push 0x2001
push eax
call esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x46889c
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x46888e
push ecx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x14]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [edi + 0x18], 0
jne 0x46890c
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x34]
mov eax, dword [0x4e37f8]
cmp dword [eax + 0x34], 0
jne 0x4688ea
cmp dword [0x4e95ac], 0
jne 0x4688ea
cmp byte [0x4e8ec6], 0
jne 0x4688ea
push 0
push 0
push 0x4cdea8
push 9
push 0x4d9f70
mov ecx, 0x4e8f30
call fcn.0040d430
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
push 0
push 9
push 0
push 0x4cdea8
push 0x4d9f70
mov ecx, 0x4e8f30
call fcn.0040c250
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x5c]
lea eax, [edx + 1]
mov dword [ecx + 0x5c], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
mov al, byte [esp + 0x53]
mov byte [ecx + 0xc5], al
cmp byte [edi + 0x30], 6
jne 0x46894d
mov ecx, dword [esp + 0xf0]
test ecx, ecx
je 0x468945
push ecx
mov ecx, dword [esp + 0x14]
push edx
push edi
call fcn.00470190
mov ecx, dword [esp + 0x10]
mov al, 1
jmp 0x46894f
xor al, al
mov edx, 0xbf
mov byte [ecx + edx], al
test dword [esp + 0x8c], 0x10000000
je 0x468968
or byte [edi + 0x31], 8
test dword [esp + 0x88], 0x8000000
je 0x468979
or byte [edi + 0x31], 0x10
cmp byte [esp + 0x3b], 0
jne 0x4689a6
cmp dword [edi + 0x3c], 0xff000000
mov al, byte [edi + 0x30]
je 0x468a32
cmp al, 5
je 0x4689a6
cmp al, 6
je 0x4689a6
cmp al, 3
je 0x4689a6
cmp al, 7
jne 0x4689b7
cmp dword [edi + 0x34], 0xffffffff
je 0x4689b7
push 0x4cdea8
push 0x4cdea8
push dword [edi + 0x18]
call dword [esp + 0x68]
cmp byte [esp + 0x2a], 0
jne 0x4689e8
test byte [esp + 0x63], 0x10
je 0x4689e8
movzx eax, byte [esp + 0xb]
push eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x70]
lea ecx, [eax + eax*2]
mov eax, dword [0x4e8d64]
shl ecx, 5
push dword [ecx + eax + 0x5c]
push 0x30
push dword [edi + 0x18]
call esi
cmp dword [esp + 0x20c], 4
jne 0x4689fd
push 0
push 0
push 0xb
push dword [edi + 0x18]
call esi
push dword [ebp + 0x18]
push edi
call fcn.0046c160
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x5c], eax
test eax, eax
jle case.0x468a2b.10
lea ecx, [eax - 1]
movzx eax, byte [edi + 0x30]
add eax, 0xfffffff9
cmp eax, 0xc
ja case.0x468a2b.10
movzx eax, byte [eax + 0x468fb8]
jmp dword [eax*4 + 0x468fa8]
cmp al, 3
jne 0x46899c
cmp dword [edi + 0x34], 0xff000001
je 0x4689a6
jmp 0x4689b7
push 0
push ecx
push 0x130c
jmp 0x468a88
push 0
push ecx
push 0x14e
jmp 0x468a88
push 0xfffffffffffffff0
push dword [edi + 0x18]
call dword [esp + 0x5c]
test eax, 0x808
mov eax, dword [esp + 0x5c]
je 0x468a7f
dec eax
push eax
push 1
push 0x185
jmp 0x468a88
push 0
dec eax
push eax
push 0x186
push dword [edi + 0x18]
call esi
cmp byte [edi + 0x30], 0x13
jne 0x468ba5
movss xmm0, dword [esp + 0xb4]
comiss xmm0, dword [0x4db920]
jbe 0x468b39
lea eax, [esp + 0x6c]
push eax
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0xc]
mov eax, ecx
and al, 0x82
cmp al, 2
jne 0x468afc
and ecx, 0xfffffffd
push ecx
push 0xfffffffffffffff0
push dword [edi + 0x18]
call dword [esp + 0x3c]
lea eax, [esp + 0x6c]
push eax
push 1
push 0x1328
push dword [edi + 0x18]
call esi
push dword [esp + 0xc]
push 0xfffffffffffffff0
push dword [edi + 0x18]
call dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x44], eax
jmp 0x468b0d
lea eax, [esp + 0x6c]
push eax
push 1
push 0x1328
push dword [edi + 0x18]
call esi
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x70]
push 1
push eax
push dword [esp + 0xb4]
mov dword [esp + 0xbc], eax
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [edi + 0x18]
jmp 0x468ba1
cmp byte [esp + 0x218], 0
je 0x468ba5
mov eax, dword [edi + 0x18]
push 0x4d95cc
push eax
mov dword [esp + 0x64], eax
call dword [esp + 0x84]
mov dword [esp + 0x7c], eax
test eax, eax
je 0x468ba5
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x220]
push eax
push dword [esp + 0x60]
call fcn.00470920
mov eax, dword [esp + 0x22c]
mov edx, dword [esp + 0x224]
sub eax, edx
mov ecx, dword [esp + 0x220]
push 1
push eax
mov eax, dword [esp + 0x230]
sub eax, ecx
push eax
push edx
push ecx
push dword [esp + 0x90]
call dword [esp + 0x4c]
cmp byte [esp + 0x17], 0
je 0x468c08
lea eax, [esp + 0x6c]
push eax
push dword [edi + 0x18]
call dword [esp + 0x48]
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x70]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x6c]
cmp byte [ebp + 8], 9
mov dword [esp + 0xac], eax
jne 0x468c08
test dword [esp + 0xc], 0x100000
je 0x468c08
mov ecx, dword [esp + 0xec]
test ecx, ecx
jns 0x468bfb
lea ecx, [eax + eax*2]
mov dword [esp + 0xec], ecx
push 0
push ecx
push 0x194
push dword [edi + 0x18]
call esi
cmp dword [esp + 0x44], 0
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
je 0x468c77
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x1c]
jne 0x468c77
cmp byte [esp + 0x2b], 0
je 0x468c5b
lea eax, [esp + 0x6c]
push eax
push dword [edi + 0x18]
call dword [esp + 0x48]
push 2
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x18]
push dword [eax + 0x1c]
push 0
call dword [esp + 0x68]
push 0
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x18]
push dword [eax + 0x1c]
call dword [esp + 0x70]
mov eax, dword [esp + 0x44]
cmp byte [eax + 0x31], 0
jge 0x468c77
push 0x13
push 0
push 0
push 0
push 0
push dword [edi + 0x18]
push dword [eax + 0x18]
call esi
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x24]
test eax, eax
je 0x468c95
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
mov edx, dword [esp + 0x10]
cmp byte [ebp + 8], 0x19
je 0x468dd5
mov ecx, dword [edx + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, ecx
je 0x468cf2
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xa8]
push 1
mov dword [esp + 0x84], eax
lea eax, [esp + 0x80]
push eax
push ecx
push esi
call dword [esp + 0x68]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], edi
jmp 0x468d00
mov edi, dword [esp + 0xa8]
mov esi, dword [esp + 0xa4]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
mov dword [edx + 0x90], ecx
add ecx, edi
mov dword [edx + 0x8c], eax
mov dword [edx + 0x84], esi
mov dword [edx + 0x88], edi
lea edx, [esi + eax]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x1c]
mov ecx, dword [esp + 0x7c]
jne 0x468d66
cmp byte [esp + 0x219], 0
jne 0x468d66
cmp edx, dword [eax + 0x94]
jle 0x468d58
mov dword [eax + 0x94], edx
cmp ecx, dword [eax + 0x98]
jle 0x468d66
mov dword [eax + 0x98], ecx
cmp byte [esp + 0x215], 0
jne 0x468dbd
mov eax, dword [eax + 0x5c]
cmp eax, 1
je 0x468db9
cmp eax, 2
jne 0x468d8c
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax]
cmp byte [eax + 0x30], 0x19
je 0x468db9
mov eax, dword [esp + 0x10]
cmp edx, dword [eax + 0xa4]
jle 0x468d9e
mov dword [eax + 0xa4], edx
cmp ecx, dword [eax + 0xa8]
jle 0x468dd5
mov dword [eax + 0xa8], ecx
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [esp + 0x10]
mov dword [eax + 0x9c], esi
mov dword [eax + 0xa0], edi
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], ecx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x14