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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4958eb
push eax
mov dword fs:[0], esp
sub esp, 0x668
push ebx
mov ebx, dword [esp + 0x67c]
mov ecx, dword [ebx + 0x10]
push ebp
push esi
push edi
cmp ecx, 0x2af8
jb 0x45d39a
push 0x498831
push 0x49fb38
mov ecx, 0x4abd80
call fcn.0042e860
jmp 0x4600fc
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jb 0x45d3c7
mov ecx, dword [ebx + 0x18]
lea eax, [eax + eax*4 + 0x1388]
add eax, eax
add eax, eax
push eax
push ecx
call fcn.00486667
add esp, 8
test eax, eax
je 0x45d381
add dword [ebx + 0x14], 0x3e8
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x18]
lea ebp, [eax + edx*4]
xor eax, eax
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
mov al, byte [esp + 0x68c]
cmp al, 0x14
jne 0x45d3fd
or byte [ebp + 5], 0x80
mov byte [esp + 0x68c], 0x13
jmp 0x45d401
cmp al, 0x13
jne 0x45d436
mov al, 0xff
cmp byte [ebx + 0xb8], al
jne 0x45d424
push 0x498831
push 0x49fb4c
mov ecx, 0x4abd80
call fcn.0042e860
jmp 0x4600fc
mov byte [ebp + 6], al
mov cl, byte [ebx + 0xb8]
mov al, byte [esp + 0x68c]
jmp 0x45d46e
cmp al, 0x18
jne 0x45d45f
cmp dword [ebx + 8], 0
je 0x45d459
push 0x498831
push 0x49fb64
mov ecx, 0x4abd80
call fcn.0042e860
jmp 0x4600fc
mov byte [ebp + 6], 0xff
jmp 0x45d471
mov dl, byte [ebx + 0xb9]
mov byte [ebp + 6], dl
mov cl, byte [ebx + 0xba]
mov byte [ebp + 7], cl
cmp dword [ebx + 0x10], 0
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, SysReAllocString
jne 0x45d4ee
cmp dword [ebx + 0x78], edi
jne 0x45d4b0
mov edx, dword [ebx + 0x50]
mov eax, dword [0x4abcd4]
imul edx, edx, 0x54
fild dword [edx + eax + 0x44]
fmul qword [0x4a08f0]
call fcn.00493ad0
mov ecx, dword [0x4abd2c]
push 0x60
push ecx
push eax
call esi
mov dword [ebx + 0x78], eax
cmp dword [ebx + 0x7c], edi
jne 0x45d4de
mov edx, dword [ebx + 0x50]
mov eax, dword [0x4abcd4]
imul edx, edx, 0x54
fild dword [edx + eax + 0x44]
fmul qword [0x4a0910]
call fcn.00493ad0
mov ecx, dword [0x4abd2c]
push 0x60
push ecx
push eax
call esi
mov dword [ebx + 0x7c], eax
mov edx, dword [ebx + 0x78]
mov al, byte [esp + 0x68c]
mov dword [ebx + 0x80], edx
mov edi, ebp
lea esi, [esp + 0x64]
mov byte [ebp + 4], al
call fcn.004631e0
movzx eax, byte [ebx + 0x45]
or dword [esp + 0x64], 0x10000000
mov byte [esp + 0x1f4], al
mov al, byte [esp + 0x68c]
cmp al, 6
jne 0x45d532
or dword [esp + 0x64], 0x4000
cmp byte [ebx + 0x44], 0
jne 0x45d550
or dword [esp + 0x64], 0x20000
jmp 0x45d550
cmp byte [ebx + 0x44], 0
je 0x45d540
or dword [esp + 0x64], 0x20000
cmp al, 2
je 0x45d56d
cmp al, 0x10
je 0x45d56d
cmp al, 0x11
je 0x45d56d
cmp al, 0x12
je 0x45d56d
cmp byte [ebp + 4], 0xa
mov byte [esp + 0x2a], 1
je 0x45d561
mov ecx, dword [ebx + 0x54]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebx + 0x54]
mov dword [esp + 0xc0], edx
jmp 0x45d57d
mov byte [esp + 0x2a], 0
cmp al, 0x12
jne 0x45d57d
mov dword [ebp + 0x10], 0xff000000
movzx eax, al
mov dword [esp + 0x3c], eax
add eax, 0xfffffffc
mov ecx, 0x10000
cmp eax, 0x14
ja case.0x45d595.6
jmp dword [eax*4 + 0x460118]
or dword [esp + 0x64], 0x210000
jmp case.0x45d595.6
or dword [esp + 0x64], 0x210042
jmp case.0x45d595.6
or dword [esp + 0x64], 0x210080
or dword [esp + 0x6c], 0x200
jmp case.0x45d595.6
or dword [esp + 0x74], 0x30
or dword [esp + 0x64], 0x10008
or dword [esp + 0x6c], 0x200
mov dword [esp + 0x78], 1
jmp case.0x45d595.6
or dword [esp + 0x64], 0x10027
or dword [esp + 0x6c], 0x200
jmp case.0x45d595.6
or dword [esp + 0x64], ecx
or dword [esp + 0x6c], 0x200
jmp case.0x45d595.6
or dword [esp + 0x64], 0x36
jmp case.0x45d595.6
or dword [esp + 0x64], 0x1000c
jmp case.0x45d595.6
or dword [esp + 0x64], 1
jmp case.0x45d595.6
or dword [esp + 0x64], 0x10200
mov byte [esp + 0x1f4], 0
jmp case.0x45d595.6
or dword [esp + 0x64], 0x4000000
jmp case.0x45d595.6
test dword [ebx + 0x3c], 0x40000
je 0x45d64f
or dword [esp + 0x64], 0x100
or dword [esp + 0x64], 0x800
jmp case.0x45d595.6
cmp byte [0x4ac546], 0
je case.0x45d595.6
or dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x690]
push 0
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x70]
push eax
push ebx
call fcn.00460ca0
test eax, eax
je 0x4600fc
mov cl, byte [esp + 0x68c]
mov eax, dword [esp + 0xc0]
cmp cl, 0xa
je 0x45d69b
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
mov eax, dword [esp + 0xc4]
setne dl
mov byte [esp + 0x1f2], dl
cmp eax, 0xff000000
jne 0x45d6ca
cmp cl, 0xb
je 0x45d6eb
mov dword [esp + 0xc4], 0xffffffff
jmp 0x45d6eb
cmp eax, 0xffffffff
jne 0x45d6eb
mov ebx, dword [ebx + 0x5c]
cmp ebx, 0xff000000
je 0x45d6eb
cmp cl, 0x12
je 0x45d6eb
cmp cl, 0x18
je 0x45d6eb
mov dword [esp + 0xc4], ebx
mov esi, dword [esp + 0x68]
mov eax, SysReAllocString
cmp dword [esp + 0x8c], eax
jne 0x45d733
cmp dword [esp + 0x90], eax
jne 0x45d733
fld dword [0x4a0908]
fcomp dword [esp + 0x94]
fnstsw ax
test ah, 5
jnp 0x45d733
mov eax, dword [esp + 0x694]
mov edi, 0x49fb7c
call fcn.00409440
test eax, eax
jne 0x45d733
xor ecx, ecx
jmp 0x45d73d
mov ecx, esi
not ecx
and ecx, 0x2000
mov eax, dword [esp + 0x70]
not eax
and eax, dword [esp + 0x6c]
mov ebx, esi
not ebx
and ebx, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
or ebx, 0x40000000
add eax, 0xfffffffd
mov dword [esp + 0x200], ecx
mov dword [esp + 0x10], ebx
cmp eax, 0x10
ja case.0x45d77b.10
movzx eax, byte [eax + 0x460194]
jmp dword [eax*4 + 0x46016c]
and ebx, 0xfffffff7
or ebx, 7
jmp 0x45d8a0
test bl, 1
je 0x45d7a3
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x10], ebx
or ebx, ecx
jmp 0x45d8a0
and ebx, 0xfffffff0
or ebx, ecx
jmp 0x45d8a0
mov edx, ebx
and edx, 6
cmp dl, 6
jne 0x45d7ca
and ebx, 0xfffffff6
or ebx, 6
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x45d77b.10
and ebx, 0xfffffff3
or ebx, 3
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x45d77b.10
and ebx, 0xfffffff9
or ebx, 9
mov eax, ebx
test eax, 0x20000
je 0x45d7f9
test esi, 0x10000
jne 0x45d7f9
or eax, 0x10000
or eax, ecx
mov dword [esp + 0x10], eax
jmp case.0x45d77b.10
or ebx, 3
jmp 0x45d8a0
test bl, 1
je 0x45d81c
and ebx, 0xfffffff1
or ebx, 1
jmp 0x45d8a0
and ebx, 0xfffffff2
or ebx, 2
jmp 0x45d8a0
fld dword [0x4a0908]
fcomp dword [esp + 0x94]
fnstsw ax
test ah, 5
jnp 0x45d852
mov eax, dword [esp + 0x694]
push 0xa
push eax
call fcn.004860b1
mov esi, dword [esp + 0x70]
add esp, 8
test eax, eax
je 0x45d85f
mov ecx, esi
not ecx
and ecx, 4
or ebx, ecx
mov dword [esp + 0x10], ebx
test bl, 4
je case.0x45d77b.10
not esi
and esi, 0x201040
or ebx, esi
jmp 0x45d8a0
mov edx, dword [esp + 0x688]
or ebx, 0x4000000
cmp dword [edx + 0x60], 0
je 0x45d889
test byte [ebp + 5], 0x20
je 0x45d892
cmp dword [ebp + 0x10], 0xff000000
je 0x45d89a
or ebx, 0x2000
jmp 0x45d8a0
and ebx, 0xffffdfff
mov dword [esp + 0x10], ebx
cmp byte [esp + 0x68c], 4
jne 0x45da4a
cmp dword [ebp + 0xc], 0
lea esi, [ebp + 0xc]
jne 0x45da4a
test byte [ebp + 5], 1
jne 0x45da4a
mov eax, dword [esp + 0x688]
mov eax, dword [eax]
cmp byte [eax], 0x31
jne 0x45d8e7
cmp byte [eax + 1], 0
jne 0x45d8e7
mov byte [esp + 0x274], 0
jmp 0x45d8fa
lea edx, [esp + 0x274]
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x45d8f0
mov ecx, dword [esp + 0x694]
push ecx
push 0x49fb80
mov eax, 0x400
lea ecx, [esp + 0x27c]
call fcn.00472370
push 0
push 0xffffffffffffffff
push 1
push 0x498831
lea edx, [esp + 0x28c]
push 0x49fb8c
push edx
xor eax, eax
or ecx, 0xffffffff
call fcn.00472af0
push 0
push 0xffffffffffffffff
push 1
push 0x498831
lea eax, [esp + 0x2a4]
push 0x49dd78
push eax
xor eax, eax
or ecx, 0xffffffff
call fcn.00472af0
push 0
push 0xffffffffffffffff
push 1
push 0x498831
lea ecx, [esp + 0x2bc]
push 0x498824
push ecx
xor eax, eax
or ecx, 0xffffffff
call fcn.00472af0
add esp, 0x50
push 0
push 0xffffffffffffffff
push 1
push 0x498831
lea edx, [esp + 0x284]
push 0x49c638
push edx
xor eax, eax
or ecx, 0xffffffff
call fcn.00472af0
push 0
push 0xffffffffffffffff
push 1
push 0x498831
lea eax, [esp + 0x29c]
push 0x49e2bc
push eax
xor eax, eax
or ecx, 0xffffffff
call fcn.00472af0
push 0
push 0xffffffffffffffff
push 1
push 0x498831
lea ecx, [esp + 0x2b4]
push 0x49fb90
push ecx
xor eax, eax
or ecx, 0xffffffff
call fcn.00472af0
add esp, 0x48
cmp byte [esp + 0x274], 0
je 0x45da43
mov edi, dword [0x4abd90]
test edi, edi
je 0x45da1f
mov edi, edi
mov eax, dword [edi + 4]
lea edx, [esp + 0x274]
push edx
push eax
call fcn.004850c1
add esp, 8
test eax, eax
je 0x45da45
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x45da00
push 0
push 0
lea eax, [esp + 0x27c]
push eax
mov ecx, 0x4abd80
call fcn.0041f120
test eax, eax
je 0x45da43
cmp dword [eax + 0x14], 4
jg 0x45da43
mov edi, eax
jmp 0x45da45
xor edi, edi
call fcn.004095c0
mov edi, dword [esp + 0x688]
mov bl, byte [ebp + 6]
mov ecx, edi
call fcn.00467780
mov ecx, eax
xor edx, edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x26c], edx
mov dword [esp + 0x680], edx
mov eax, dword [edi + 0x10]
cmp eax, edx
je 0x45da84
mov esi, dword [edi + 0x18]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4 - 0x14]
jmp 0x45da8b
lea eax, [esp + 0x260]
mov dword [esp + 0x38], eax
mov eax, SysReAllocString
cmp dword [esp + 0x84], eax
jne 0x45db70
cmp dword [esp + 0x88], eax
jne 0x45db70
cmp ecx, edx
je 0x45daf3
mov al, byte [ebp + 7]
mov ecx, edi
call fcn.004678e0
test eax, eax
jne 0x45daf3
mov ebx, dword [esp + 0x688]
mov esi, dword [esp + 0x54]
push ebx
lea edi, [esp + 0x60]
call fcn.00467910
mov ecx, dword [ebx + 0x78]
add ecx, dword [esp + 0x5c]
mov edx, dword [ebx + 0x7c]
add edx, dword [esp + 0x60]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
jmp 0x45db1d
mov ecx, dword [edi + 0x8c]
add ecx, dword [edi + 0x84]
mov eax, dword [edi + 0x80]
add ecx, dword [edi + 0x7c]
mov ebx, dword [esp + 0x688]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov al, byte [esp + 0x68c]
cmp al, 1
je 0x45db2c
cmp al, 0x16
jne 0x45db69
cmp dword [ebx + 0x10], 0
je 0x45db69
mov ecx, dword [esp + 0x38]
mov al, byte [ecx + 4]
cmp al, 1
je 0x45db41
cmp al, 0x16
jne 0x45db69
mov dl, byte [ecx + 6]
cmp dl, byte [ebp + 6]
jne 0x45db69
mov al, byte [ecx + 7]
cmp al, byte [ebp + 7]
jne 0x45db69
mov ecx, dword [0x4abd2c]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x88], eax
mov edi, dword [esp + 0x688]
mov cl, byte [esp + 0x68c]
cmp cl, 0xe
je 0x45db8a
cmp cl, 0xa
je 0x45db8a
cmp cl, 0xb
je 0x45db8a
xor bl, bl
jmp 0x45db8c
mov bl, 1
fld1
test bl, bl
sete byte [esp + 0x16]
cmp dword [esp + 0x90], 0x80000000
jne 0x45dd0e
fcom dword [esp + 0x94]
fnstsw ax
test ah, 0x41
jne 0x45dd0e
mov eax, dword [esp + 0x3c]
add eax, 0xfffffffd
cmp eax, 0x14
ja case.0x45dbcf.4
movzx edx, byte [eax + 0x4601d4]
jmp dword [edx*4 + 0x4601a8]
mov eax, dword [esp + 0x10]
fstp st(0)
fld dword [0x4a0904]
fstp dword [esp + 0x94]
test al, 1
je 0x45dbf5
test al, 2
je 0x45dd2f
cmp byte [0x4ac542], 0
je 0x45dd2f
test eax, 0x400
jne 0x45dd2f
mov byte [esp + 0x16], 0
jmp 0x45dd2f
fstp st(0)
fld dword [0x4a0900]
fstp dword [esp + 0x94]
jmp 0x45dd2f
fstp st(0)
fld dword [0x4a08fc]
fstp dword [esp + 0x94]
jmp 0x45dd2f
mov eax, dword [esp + 0x694]
cmp byte [eax], 0
jne case.0x45dbcf.4
test byte [esp + 0x10], 4
je case.0x45dbcf.13
fstp st(0)
fld dword [0x4a0904]
fstp dword [esp + 0x94]
jmp 0x45dd2f
test byte [esp + 0x10], 0x40
fstp st(0)
je 0x45dc19
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4abcd4]
imul ecx, ecx, 0x54
mov eax, dword [ecx + edx + 0x44]
jmp 0x45dce2
mov eax, dword [esp + 0x10]
fstp st(0)
test al, 2
je 0x45dca5
fld dword [0x4a0900]
fstp dword [esp + 0x94]
jmp 0x45dd2f
push eax
mov eax, dword [esp + 0xb4]
call fcn.00466fd0
mov dword [esp + 0x90], eax
jmp 0x45dd2f
test byte [esp + 0x10], 4
fstp st(0)
je 0x45dcd3
fld dword [0x4a0900]
fstp dword [esp + 0x94]
jmp 0x45dd2f
mov edx, dword [edi + 0x50]
mov eax, dword [0x4abcd4]
imul edx, edx, 0x54
mov eax, dword [edx + eax + 0x44]
mov ecx, dword [0x4abd2c]
push 0x60
add eax, eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x90], eax
jmp 0x45dd2f
fstp st(0)
fld dword [0x4a08f8]
fstp dword [esp + 0x94]
jmp 0x45dd2f
fstp st(0)
cmp cl, 7
je 0x45dd1a
cmp cl, 8
jne 0x45dd2f
cmp byte [0x4ac542], 0
je 0x45dd2f
or dword [esp + 0x10], 0x400
jmp 0x45dd2f
fstp st(0)
fldz
xor esi, esi
fld dword [esp + 0x94]
mov dword [esp + 0x24], esi
fcom st(1)
mov dword [esp + 0x40], esi
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45dec7
mov al, byte [esp + 0x68c]
cmp al, 3
je 0x45dd64
cmp al, 6
jbe 0x45dd73
cmp al, 8
ja 0x45dd73
fadd qword [0x4a08a0]
fstp dword [esp + 0x94]
jmp 0x45dd75
fstp st(0)
cmp byte [esp + 0x16], 0
je 0x45deaa
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4abcd4]
mov esi, eax
mov eax, dword [edi + 0x50]
imul eax, eax, 0x54
mov edx, dword [eax + ecx + 0x50]
push edx
push esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x228]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
fld dword [esp + 0x94]
fld st(0)
fld qword [0x4a08b8]
fadd st(1), st(0)
fxch st(1)
call fcn.00493ad0
fild dword [esp + 0x228]
mov esi, eax
lea ecx, [esi - 1]
imul ecx, dword [esp + 0x238]
fmulp st(2)
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
faddp st(2)
faddp st(1)
call fcn.00493ad0
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffffd
cmp eax, 0x14
ja case.0x45de18.5
movzx edx, byte [eax + 0x460200]
jmp dword [edx*4 + 0x4601ec]
mov eax, dword [0x4abd2c]
push 0x60
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x90], eax
test dword [esp + 0x10], 0x100000
je case.0x45de18.5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x90], eax
mov esi, dword [esp + 0x24]
jmp 0x45dec9
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4abcd4]
imul ecx, ecx, 0x54
mov eax, dword [ecx + edx + 0x44]
mov ecx, dword [0x4abd2c]
push 0x60
add eax, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x90], eax
mov esi, dword [esp + 0x24]
jmp 0x45dec9
mov edx, dword [edi + 0x7c]
imul edx, esi
add dword [esp + 0x90], edx
mov esi, dword [esp + 0x24]
jmp 0x45dec9
inc esi
imul esi, dword [edi + 0x7c]
add dword [esp + 0x90], esi
mov esi, dword [esp + 0x24]
jmp 0x45dec9
test bl, bl
jne 0x45dec9
mov eax, dword [0x4abd2c]
push 0x60
push eax
push 0x1e
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x90], eax
jmp 0x45dec9
fstp st(0)
mov eax, SysReAllocString
mov byte [esp + 0x32], 0
cmp dword [esp + 0x90], eax
je 0x45dee9
cmp dword [esp + 0x8c], eax
jne case.0x45e3fc.4
mov eax, dword [esp + 0x3c]
xor ebx, ebx
dec eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], 0x400
cmp eax, 0x15
ja case.0x45df10.2
movzx ecx, byte [eax + 0x460224]
jmp dword [ecx*4 + 0x460218]
mov edx, dword [esp + 0x694]
cmp byte [edx], bl
je case.0x45df10.2
cmp esi, ebx
jne 0x45df56
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4abcd4]
imul ecx, ecx, 0x54
mov esi, eax
mov eax, dword [ecx + edx + 0x50]
push eax
push esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x228]
push ecx
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov ebx, dword [esp + 0x23c]
add ebx, 4
test dword [esp + 0x10], 0x200000
mov dword [esp + 0x58], ebx
je 0x45df8b
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add ebx, eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x2c], 0x2c40
test esi, esi
jne 0x45dfc3
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4abcd4]
mov esi, eax
mov eax, dword [edi + 0x50]
imul eax, eax, 0x54
mov edx, dword [eax + ecx + 0x50]
push edx
push esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
mov al, byte [esp + 0x68c]
cmp al, 1
jne 0x45dfe4
or dword [esp + 0x2c], 0x40
test byte [esp + 0x10], 0x80
je 0x45e019
or dword [esp + 0x2c], 0x800
jmp 0x45e019
cmp al, 5
je 0x45dfec
cmp al, 6
jne 0x45e019
lea eax, [esp + 0x228]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, dword [esp + 0x23c]
lea ebx, [ebx + eax + 2]
mov al, byte [esp + 0x68c]
mov dword [esp + 0x58], ebx
test dword [esp + 0x10], 0x800000
je 0x45e050
cmp al, 1
je 0x45e02b
cmp al, 0x16
jne 0x45e050
push 5
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
add ebx, ebx
push 6
mov dword [esp + 0x5c], ebx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, eax
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x68c]
mov ecx, dword [esp + 0x8c]
cmp ecx, 0x80000000
je 0x45e064
or dword [esp + 0x2c], 0x10
xor edx, edx
mov dword [esp + 0x218], edx
mov dword [esp + 0x21c], edx
cmp ecx, 0x80000000
jne 0x45e085
mov dword [esp + 0x220], edx
jmp 0x45e08e
sub ecx, ebx
mov dword [esp + 0x220], ecx
mov ecx, dword [esp + 0x90]
mov edx, ecx
sub edx, 0x80000000
neg edx
sbb edx, edx
and edx, ecx
mov dword [esp + 0x224], edx
mov byte [esp + 0x14], 0
cmp al, 0x16
jne 0x45e22a
test byte [esp + 0x10], 4
je 0x45e0c6
or dword [esp + 0x2c], 0x800
mov eax, dword [esp + 0x694]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45e0d0
sub eax, edx
inc eax
push eax
call fcn.00486209
mov ebx, eax
mov eax, dword [esp + 0x698]
add esp, 4
cmp byte [eax], 0
mov dword [esp + 0x204], ebx
mov dword [esp + 0x34], eax
je 0x45e1d6
mov eax, dword [esp + 0x34]
cmp byte [eax], 0x3c
jne 0x45e1bf
mov ecx, eax
mov al, byte [ecx + 1]
call fcn.00409410
cmp al, 0x41
jne 0x45e1bf
mov esi, dword [esp + 0x34]
add esi, 2
mov al, byte [esi]
cmp al, 0x20
je 0x45e130
cmp al, 9
jne 0x45e133
inc esi
jmp 0x45e126
cmp byte [esi], 0x3e
je 0x45e192
jmp 0x45e140
movzx eax, byte [esi]
test eax, 0xffffff80
jne 0x45e15f
push 0x107
push eax
call fcn.004865fe
add esp, 8
test eax, eax
je 0x45e15f
inc esi
jmp 0x45e140
cmp byte [esi], 0x3d
jne 0x45e1bf
cmp byte [esi + 1], 0x22
jne 0x45e1bf
push 0x22
add esi, 2
push esi
call fcn.004860b1
add esp, 8
test eax, eax
je 0x45e1bf
lea esi, [eax + 1]
nop
mov al, byte [esi]
cmp al, 0x20
je 0x45e18a
cmp al, 9
jne 0x45e18d
inc esi
jmp 0x45e180
cmp byte [esi], 0x3e
jne 0x45e140
inc esi
je 0x45e1bf
push str.__a_
mov eax, esi
call fcn.004726b0
add esp, 4
test eax, eax
je 0x45e1bf
mov ecx, esi
cmp esi, eax
jae 0x45e1ba
mov edi, edi
mov dl, byte [ecx]
mov byte [ebx], dl
inc ecx
inc ebx
cmp ecx, eax
jb 0x45e1b0
add eax, 3
jmp 0x45e1c8
mov eax, dword [esp + 0x34]
mov cl, byte [eax]
mov byte [ebx], cl
inc ebx
inc eax
cmp byte [eax], 0
mov dword [esp + 0x34], eax
jne 0x45e100
mov eax, dword [esp + 0x204]
mov byte [ebx], 0
cmp ebx, eax
jbe 0x45e1eb
mov dl, byte [ebx - 1]
mov byte [esp + 0x14], dl
cmp byte [eax], 0
jne 0x45e1f5
mov eax, 0x49fb9c
mov ecx, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x21c]
push edx
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_DrawTextA]
mov ecx, dword [esp + 0x204]
push ecx
mov dword [esp + 0x38], eax
call fcn.0048653b
mov esi, dword [esp + 0x28]
add esp, 4
jmp 0x45e278
mov eax, dword [esp + 0x694]
cmp byte [eax], 0
jne 0x45e23b
mov eax, 0x49fb9c
mov edx, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x21c]
push ecx
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
mov ebx, dword [esp + 0x694]
cmp byte [ebx], 0
mov dword [esp + 0x34], eax
je 0x45e278
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45e267
sub eax, edx
mov dl, byte [eax + ebx - 1]
mov byte [esp + 0x14], dl
mov ebx, dword [esp + 0x220]
mov eax, dword [esp + 0x3c]
sub ebx, dword [esp + 0x218]
dec eax
je 0x45e2a3
sub eax, 3
je 0x45e299
sub eax, 8
je 0x45e2a3
jmp 0x45e2d1
cmp dword [esp + 0x200], 0
jne 0x45e2d1
cmp byte [esp + 0x14], 0
je 0x45e2d1
movsx eax, byte [esp + 0x14]
lea ecx, [esp + 0x208]
push ecx
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsA]
test eax, eax
je 0x45e2d1
mov eax, dword [esp + 0x210]
test eax, eax
jns 0x45e2d1
sub ebx, eax
mov eax, dword [esp + 0x90]
cmp eax, 0x80000000
je 0x45e2ef
cmp dword [esp + 0x34], eax
jle 0x45e35d
cmp byte [esp + 0x68c], 0xc
je 0x45e35d
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x18]
mov cl, byte [esp + 0x68c]
mov dword [esp + 0x90], eax
cmp cl, 0xc
jne 0x45e33d
mov ecx, dword [0x4abd2c]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x90], eax
test dword [esp + 0x10], 0x100000
je 0x45e35d
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x90], eax
jmp 0x45e35d
cmp cl, 4
jne 0x45e35d
mov edx, dword [edi + 0x50]
mov ecx, dword [0x4abcd4]
imul edx, edx, 0x54
mov edx, dword [edx + ecx + 0x44]
lea eax, [eax + edx + 2]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x8c]
cmp eax, 0x80000000
je 0x45e36f
cmp ebx, eax
jle case.0x45df10.2
add ebx, dword [esp + 0x58]
cmp byte [esp + 0x68c], 4
mov byte [esp + 0x32], 1
mov dword [esp + 0x8c], ebx
jne case.0x45df10.2
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [edi + 0x50]
mov ecx, dword [0x4abcd4]
imul edx, edx, 0x54
mov edx, dword [edx + ecx + 0x44]
lea eax, [edx + eax*2]
add dword [esp + 0x8c], eax
cmp dword [esp + 0x8c], 0x80000000
jne case.0x45e3fc.4
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4abcd4]
imul ecx, ecx, 0x54
mov ecx, dword [ecx + edx + 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov eax, ecx
shl eax, 4
sub eax, ecx
mov ecx, dword [0x4abd2c]
push 0x60
push ecx
push eax
call esi
mov ecx, dword [esp + 0x3c]
add ecx, 0xfffffffd
cmp ecx, 0x14
ja case.0x45e3fc.4
movzx edx, byte [ecx + 0x46025c]
jmp dword [edx*4 + 0x46023c]
mov dword [esp + 0x8c], eax
jmp case.0x45e3fc.4
add eax, eax
mov dword [esp + 0x8c], eax
jmp case.0x45e3fc.4
test byte [esp + 0x10], 0x40
je 0x45e42d
mov dword [esp + 0x8c], eax
jmp case.0x45e3fc.4
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4abcd4]
imul ecx, ecx, 0x54
mov eax, dword [ecx + edx + 0x44]
mov ecx, dword [0x4abd2c]
push 0x60
add eax, eax
push ecx
push eax
call esi
mov dword [esp + 0x8c], eax
jmp case.0x45e3fc.4
mov ecx, dword [esp + 0x10]
test cl, 2
je case.0x45e3fc.7
mov eax, dword [esp + 0xb0]
push ecx
call fcn.00466fd0
mov dword [esp + 0x8c], eax
jmp case.0x45e3fc.4
test byte [esp + 0x10], 4
je case.0x45e3fc.7
mov edx, dword [edi + 0x50]
mov eax, dword [0x4abcd4]
imul edx, edx, 0x54
mov eax, dword [edx + eax + 0x44]
jmp 0x45e43d
mov edx, dword [edi + 0x78]
lea eax, [eax + edx*2]
mov dword [esp + 0x8c], eax
jmp case.0x45e3fc.4
mov ecx, dword [edi + 0x78]
lea ecx, [ecx + ecx*2]
lea edx, [ecx + eax*2]
mov dword [esp + 0x8c], edx
cmp byte [esp + 0x68c], 0xc
jne 0x45e5c5
test byte [esp + 0x10], 4
jne 0x45e5c5
fld1
fcomp dword [esp + 0x94]
fnstsw ax
test ah, 0x41
jne 0x45e5c5
cmp dword [esp + 0x24], 0
jne 0x45e508
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4abcd4]
imul ecx, ecx, 0x54
mov ecx, dword [ecx + edx + 0x50]
push ecx
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x228]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov ecx, dword [0x4abd2c]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, dword [esp + 0x90]
mov ebx, dword [esp + 0x10]
sub esi, eax
sub esi, dword [esp + 0x228]
mov dword [esp + 0x18], esi
test ebx, 0x100000
je 0x45e55a
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub esi, eax
mov dword [esp + 0x18], esi
test esi, esi
jle 0x45e5bc
mov edx, dword [esp + 0x238]
fild dword [esp + 0x18]
add edx, dword [esp + 0x228]
mov dword [esp + 0x18], edx
fidiv dword [esp + 0x18]
fadd qword [0x4a08a0]
fstp dword [esp + 0x94]
fld dword [0x4a0908]
fcomp dword [esp + 0x94]
fnstsw ax
test ah, 5
jp 0x45e5c5
mov eax, dword [esp + 0x68]
not eax
mov ecx, eax
and ecx, 4
or ebx, ecx
mov dword [esp + 0x10], ebx
test bl, 4
je 0x45e5c5
and eax, 0x201040
or ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x45e5c5
fld1
fstp dword [esp + 0x94]
cmp byte [esp + 0x1f4], 0
mov edx, dword [edi + 4]
mov esi, dword [edi + 0x10]
sete byte [esp + 0x33]
push edx
mov byte [esp + 0x27], 0
add esi, 3
mov byte [esp + 0x18], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45e603
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0x15], 1
test eax, eax
je 0x45e608
mov byte [esp + 0x15], 0
cmp byte [ebp + 6], 0xff
mov byte [esp + 0x2b], 0
jae 0x45e659
mov ebx, dword [esp + 0x54]
test ebx, ebx
je 0x45e651
mov ecx, dword [ebx]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x45e651
mov edx, dword [ebx]
push 0
push 0
push 0x130b
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
movzx ecx, byte [ebp + 7]
cmp eax, ecx
jne 0x45e651
mov dl, byte [esp + 0x15]
mov byte [esp + 0x2b], dl
jmp 0x45e659
and dword [esp + 0x10], 0xefffffff
mov eax, dword [esp + 0x3c]
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongA]
dec eax
cmp eax, 0x17
ja case.0x45e66d.20
jmp dword [eax*4 + 0x460274]
mov eax, dword [0x4a9d18]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x90]
push 0
push eax
mov eax, dword [esp + 0x94]
push esi
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x6b0]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push 0x49c728
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
jmp case.0x45e66d.20
mov eax, dword [0x4a9d18]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x90]
push 0
push eax
mov eax, dword [esp + 0x94]
push esi
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x6b0]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push str.SysLink
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
jmp case.0x45e66d.20
mov ecx, dword [esp + 0x8c]
cmp ecx, 0x80000000
jne 0x45e730
xor ecx, ecx
mov dword [esp + 0x8c], ecx
mov eax, dword [esp + 0x90]
cmp eax, 0x80000000
jne 0x45e747
xor eax, eax
mov dword [esp + 0x90], eax
mov edx, dword [0x4a9d18]
push 0
push edx
mov edx, dword [edi + 4]
push esi
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x6b0]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push 0x49c728
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45e66d.20
mov dl, byte [ebp + 5]
mov ecx, dword [esp + 0xd4]
shr dl, 1
and dl, 1
movzx eax, dl
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x94]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x6a0]
push eax
push ecx
push edx
call fcn.00473900
add esp, 0x18
mov dword [ebp + 0x10], eax
test eax, eax
je case.0x45e66d.20
mov esi, dword [esp + 0x18]
mov ecx, dword [ebp]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xfffffff5
add eax, 0xe
or eax, dword [esp + 0x10]
push eax
push 0xfffffffffffffff0
push ecx
call ebx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp]
push edx
push esi
push 0x172
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test esi, esi
jne 0x45e816
and byte [ebp + 5], 0x7f
mov byte [esp + 0x23], 1
jmp case.0x45e66d.20
or byte [ebp + 5], 0x80
mov byte [esp + 0x23], 1
jmp case.0x45e66d.20
mov ecx, dword [0x4a9d18]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x90]
push 0
push ecx
mov ecx, dword [esp + 0x94]
push esi
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x6b0]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x49fba8
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
jmp case.0x45e66d.20
mov ecx, dword [0x4a9d18]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x90]
push 0
push ecx
mov ecx, dword [esp + 0x94]
push esi
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x6b0]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x49fba8
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45e66d.20
test byte [esp + 0x10], 1
je case.0x45e66d.20
mov eax, dword [edi + 0x1c]
cmp eax, dword [edi + 0x10]
jae 0x45e916
mov edx, dword [edi + 0x18]
push 1
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, dword [edi + 0x18]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
and eax, 0xfffe
push eax
mov eax, dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4]
push 0xf4
push eax
call esi
jmp 0x45e91c
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 4]
push 0
mov dword [edi + 0x1c], eax
add eax, 3
push eax
push 0x401
push ecx
call esi
movzx edx, word [esp + 0x10]
mov eax, dword [ebp]
push 1
push edx
push 0xf4
push eax
call esi
jmp case.0x45e66d.20
mov ecx, dword [0x4a9d18]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x90]
push 0
push ecx
mov ecx, dword [esp + 0x94]
push esi
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x6b0]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x49fba8
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45e66d.20
mov ecx, dword [esp + 0xd0]
test ecx, ecx
je case.0x45e66d.20
push 0
push ecx
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x45e66d.20
cmp dword [esp + 0xc8], 0
je 0x45e9d9
cmp byte [ebp + 4], 8
jne 0x45e9d9
and dword [esp + 0x10], 0xffffffbf
mov ecx, dword [0x4a9d18]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x90]
push 0
push ecx
mov ecx, dword [esp + 0x94]
push esi
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push 0x498831
push 0x49fbb0
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45e66d.20
mov edx, dword [edi + 0x50]
movzx ecx, byte [esp + 0x15]
imul edx, edx, 0x54
push ecx
mov ecx, dword [0x4abcd4]
mov edx, dword [edx + ecx + 0x50]
push edx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp byte [esp + 0x16], 0
mov byte [esp + 0x14], 1
je 0x45eafa
mov eax, dword [ebp]
push 0
push 0
push 0x154
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test byte [esp + 0x10], 1
mov ebx, eax
mov dword [esp + 0x38], ebx
je 0x45ea88
test byte [esp + 0x10], 2
mov esi, 4
je 0x45ea8d
mov esi, 2
mov ecx, dword [0x4abd2c]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x90]
add eax, esi
lea eax, [eax + ebx*2]
cmp ecx, eax
jge 0x45eab9
mov ecx, eax
mov dword [esp + 0x90], ecx
jmp 0x45eb01
fldz
fcomp dword [esp + 0x94]
fnstsw ax
test ah, 5
jp 0x45eb01
mov edx, dword [0x4abd2c]
push 0x60
push edx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
fild dword [esp + 0x38]
mov ebx, eax
fmul dword [esp + 0x94]
call fcn.00493ad0
lea ecx, [esi + eax]
add ecx, ebx
mov dword [esp + 0x90], ecx
jmp 0x45eb01
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x84]
push 1
push ecx
mov ecx, dword [esp + 0x90]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0x23], 1
jmp case.0x45e66d.20
mov ecx, dword [0x4a9d18]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x90]
push 0
push ecx
mov ecx, dword [esp + 0x94]
push esi
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push 0x498831
push 0x49fbbc
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45e66d.20
mov ecx, dword [esp + 0x1a0]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test ecx, ecx
je 0x45eba5
lea edx, [esp + 0xd8]
push edx
push ecx
push 0x192
push eax
call esi
mov ecx, dword [edi + 0x50]
movzx eax, byte [esp + 0x15]
imul ecx, ecx, 0x54
mov edx, dword [0x4abcd4]
push eax
mov eax, dword [ecx + edx + 0x50]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call esi
mov edx, dword [ebp]
push 0
push 0
push 0x1a1
push edx
mov byte [esp + 0x24], 1
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
mov eax, dword [0x4abd2c]
push 0x60
push eax
push 8
mov dword [esp + 0x44], edi
call ebx
lea esi, [edi + eax]
mov edi, dword [esp + 0x10]
and edi, 0x100000
je 0x45ec09
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov ecx, dword [esp + 0x90]
cmp ecx, esi
jge 0x45ec18
mov ecx, esi
jmp 0x45ec66
fldz
fcomp dword [esp + 0x94]
fnstsw ax
test ah, 5
jp 0x45ec6d
mov ecx, dword [0x4abd2c]
push 0x60
push ecx
push 8
call ebx
fild dword [esp + 0x38]
mov esi, eax
fmul dword [esp + 0x94]
call fcn.00493ad0
lea ecx, [esi + eax]
mov dword [esp + 0x90], ecx
test edi, edi
je 0x45ec6d
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x90]
add ecx, eax
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
push 1
push ecx
mov ecx, dword [esp + 0x8c]
push edx
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0x23], 1
mov edi, dword [esp + 0x688]
mov esi, dword [esp + 0x24]
test esi, esi
je 0x45ecc1
mov eax, dword [esp + 0x40]
test eax, eax
je 0x45ecb6
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [edi + 4]
push esi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp], 0
jne 0x45fd8f
push 0x498831
push 0x49fc64
mov ecx, 0x4abd80
call fcn.0042e860
jmp 0x4600fc
mov eax, dword [esp + 0x78]
cmp eax, 4
je 0x45ecfa
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffffc
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x90]
cmp eax, 0x80000000
jne 0x45ed0d
mov eax, 0xc8
mov edx, dword [0x4a9d18]
mov ecx, dword [edi + 4]
push 0
push edx
mov edx, dword [esp + 0x94]
push esi
push ecx
mov ecx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push 0x498831
push 0x498814
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
mov dword [ebp], esi
test esi, esi
je case.0x45e66d.20
push 0x3f8
call fcn.00485279
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x45ed82
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45e66d.20
push 0x3f8
mov dword [edi + 0x48], ebp
mov ecx, dword [ebp + 0x10]
push 0
push ecx
call fcn.0048e5e0
mov edx, dword [ebp + 0x10]
mov dword [edx], 0xffffffff
mov eax, dword [ebp + 0x10]
mov cl, byte [esp + 0x201]
mov byte [eax + 5], cl
mov eax, dword [esp + 0x60]
add esp, 0xc
test eax, eax
je 0x45edba
or byte [eax + 5], 0x80
cmp dword [esp + 0x78], 4
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x45edd6
mov edx, dword [ebp]
push 0
push 4
push 0x108e
push edx
call ebx
mov eax, dword [esp + 0x74]
test eax, eax
je 0x45edec
push eax
mov eax, dword [ebp]
push 0
push 0x1036
push eax
call ebx
lea eax, [esp + 0x64]
mov edi, ebp
call fcn.00467140
cmp dword [esp + 0x90], 0x80000000
jne 0x45ec97
mov esi, dword [esp + 0x688]
mov edx, dword [esi + 0x50]
movzx ecx, byte [esp + 0x15]
imul edx, edx, 0x54
mov eax, dword [0x4abcd4]
push ecx
mov ecx, dword [edx + eax + 0x50]
mov edx, dword [ebp]
push ecx
push 0x30
push edx
call ebx
mov eax, dword [esp + 0x78]
dec eax
mov byte [esp + 0x14], 1
je 0x45ef8f
sub eax, 3
je 0x45ef61
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x45ee7a
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4abcd4]
imul ecx, ecx, 0x54
mov edi, eax
mov eax, dword [ecx + edx + 0x50]
push eax
push edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x228]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
cmp dword [esp + 0x78], 0
jne 0x45ef25
mov edx, dword [ebp]
push 0
push 0
push 0x1033
push edx
call ebx
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
test eax, eax
jns 0x45eeb5
fadd dword [0x4a08e0]
fld dword [esp + 0x94]
push 0xc
fsub qword [0x4a08a0]
fnstcw word [esp + 0x1a]
movzx eax, word [esp + 0x1a]
fmulp st(1)
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x60]
mov eax, dword [esp + 0x60]
shr eax, 0x10
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1a]
fild dword [esp + 0x1c]
fstp qword [esp + 0x60]
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [esp + 0x94]
fadd qword [esp + 0x5c]
call fcn.00493ad0
mov ecx, dword [esp + 0x228]
lea eax, [eax + ecx + 0x10]
jmp 0x45efcd
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x228]
mov dword [esp + 0x18], eax
cmp eax, ecx
jg 0x45ef40
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fld dword [esp + 0x94]
fld st(0)
fmulp st(2)
fsub qword [0x4a08a0]
faddp st(1)
call fcn.00493ad0
add eax, 0xb
jmp 0x45efcd
mov edx, dword [ebp]
push 0
push 0
push 0x1033
push edx
call ebx
shr eax, 0x10
sub eax, 3
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [esp + 0x94]
call fcn.00493ad0
add eax, 7
jmp 0x45efcd
fld dword [esp + 0x94]
mov ecx, dword [ebp]
fnstcw word [esp + 0x16]
push 0xffffffffffffffff
movzx eax, word [esp + 0x1a]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x60]
mov eax, dword [esp + 0x60]
dec eax
push eax
push 0x1040
fldcw word [esp + 0x22]
push ecx
call ebx
shr eax, 0x10
add eax, 4
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x84]
push 1
push eax
push edx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x94]
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edi, esi
jmp case.0x45e66d.20
mov eax, dword [esp + 0x90]
cmp eax, 0x80000000
jne 0x45f013
mov eax, 0xc8
mov ecx, dword [0x4a9d18]
mov edx, dword [edi + 4]
push 0
push ecx
mov ecx, dword [esp + 0x90]
push esi
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push 0x498831
push 0x498804
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45ec97
cmp dword [esp + 0xd0], 0
mov edx, dword [esp + 0x688]
mov dword [edx + 0x4c], ebp
je 0x45f085
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp]
or eax, 0x100
push eax
push 0xfffffffffffffff0
push ecx
call ebx
lea edi, [esp + 0x64]
mov esi, ebp
call fcn.004671f0
mov eax, dword [esp + 0x7c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x45f0ac
mov edx, dword [ebp]
push eax
push 0
push 0x1109
push edx
call edi
cmp dword [esp + 0x90], 0x80000000
jne 0x45ec97
mov esi, dword [esp + 0x688]
mov ecx, dword [esi + 0x50]
movzx eax, byte [esp + 0x15]
imul ecx, ecx, 0x54
mov edx, dword [0x4abcd4]
push eax
mov eax, dword [ecx + edx + 0x50]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call edi
mov edx, dword [ebp]
push 0
push 0
push 0x111c
push edx
mov byte [esp + 0x24], 1
call edi
mov dword [esp + 0x90], eax
cmp eax, 2
jge 0x45f11c
mov eax, dword [esi + 0x50]
mov ecx, dword [0x4abcd4]
imul eax, eax, 0x54
mov edx, dword [eax + ecx + 0x44]
add edx, edx
mov dword [esp + 0x90], edx
fild dword [esp + 0x90]
fmul dword [esp + 0x94]
call fcn.00493ad0
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
push 1
add eax, 4
push eax
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x94]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov edi, esi
jmp case.0x45e66d.20
mov eax, dword [esp + 0x10]
test al, 4
jne 0x45f190
cmp dword [esp + 0xc8], 0
jge 0x45f17e
and eax, 0xffefff7f
jmp 0x45f18c
mov ecx, dword [esp + 0x68]
not ecx
and ecx, 0x80
or eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x694]
cmp byte [ecx], 0
je 0x45f1ab
test al, 4
je 0x45f1ab
mov edi, ecx
call fcn.00472ff0
mov edi, eax
jmp 0x45f1ad
mov edi, ecx
mov eax, edi
test edi, edi
jne 0x45f1ba
mov eax, dword [esp + 0x694]
mov edx, dword [0x4a9d18]
mov ecx, dword [esp + 0x688]
mov ebx, dword [esp + 0x10]
push 0
push edx
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x98]
push esi
push edx
mov edx, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x9c]
push ecx
push edx
push ebx
push eax
mov eax, dword [esp + 0x44]
push 0x49a700
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45f279
test bl, 0x20
je 0x45f232
mov cl, byte [esp + 0x1f0]
test cl, cl
je 0x45f232
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
movsx ecx, cl
push ecx
push 0xcc
push eax
call esi
jmp 0x45f238
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0xc8]
test eax, eax
jns 0x45f24c
xor eax, eax
mov dword [esp + 0xc8], eax
mov edx, dword [ebp]
push 0
push eax
push 0xc5
push edx
call esi
mov eax, dword [esp + 0x1a0]
test eax, eax
je 0x45f279
mov edx, dword [ebp]
lea ecx, [esp + 0xd8]
push ecx
push eax
push 0xcb
push edx
call esi
test edi, edi
je 0x45ec97
cmp edi, dword [esp + 0x694]
je 0x45ec97
push edi
call fcn.004850d8
add esp, 4
jmp 0x45ec97
mov eax, dword [esp + 0x694]
cmp byte [eax], 0
mov byte [esp + 0x16], 0
je 0x45f2f8
mov ebx, eax
push 0x49da30
push ebx
call fcn.004850c1
add esp, 8
test eax, eax
jne 0x45f2d1
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffff6
or ecx, 4
mov dword [esp + 0x10], ecx
jmp 0x45f2f8
push 0x49a5d8
push ebx
call fcn.004850c1
add esp, 8
test eax, eax
jne 0x45f2f3
mov edx, dword [esp + 0x10]
and edx, 0xfffffffb
or edx, 9
mov dword [esp + 0x10], edx
jmp 0x45f2f8
mov byte [esp + 0x16], 1
mov eax, 2
cmp dword [esp + 0x98], eax
jne 0x45f30a
or dword [esp + 0x10], eax
mov eax, dword [0x4a9d18]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x90]
push 0
push eax
mov eax, dword [esp + 0x94]
push esi
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push 0x498831
push 0x49fbc4
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45e66d.20
cmp byte [esp + 0x16], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x45f37b
mov edx, dword [esp + 0x694]
push edx
push 0
push 0x1005
push eax
call esi
mov eax, dword [esp + 0x1e8]
test eax, eax
je 0x45f39a
mov edx, dword [ebp]
lea ecx, [esp + 0x1c4]
push ecx
push eax
push 0x1004
push edx
call esi
mov eax, dword [esp + 0x98]
test eax, eax
je 0x45f3c1
xor edx, edx
cmp eax, 1
mov eax, dword [ebp]
setne dl
lea ecx, [esp + 0x1a4]
push ecx
push edx
push 0x1002
push eax
call esi
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je case.0x45e66d.20
mov ecx, dword [ebp]
push eax
push 1
push 0x1006
push ecx
call esi
jmp case.0x45e66d.20
cmp dword [esp + 0x1e4], 0
jne 0x45f417
mov edx, dword [esp + 0x694]
cmp byte [edx], 0
je 0x45f417
lea eax, [esp + 0x1a4]
mov ecx, edx
call fcn.00471dd0
mov dword [esp + 0x1e4], eax
cmp eax, 3
jne 0x45f417
or dword [esp + 0x10], 2
mov ecx, dword [esp + 0x90]
cmp ecx, 0x80000000
jne 0x45f42b
mov ecx, 0x64
mov eax, dword [esp + 0x8c]
test eax, eax
jns 0x45f43b
mov eax, 0x64
mov edx, dword [0x4a9d18]
push 0
push edx
mov edx, dword [edi + 4]
push esi
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push 0x498831
push 0x49fbd8
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45e66d.20
mov ebx, dword [esp + 0x10]
and ebx, 2
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x45f49e
push 0
push 0x16e
push 0x1004
push eax
call esi
mov eax, dword [esp + 0x1e8]
test eax, eax
je 0x45f4bd
mov edx, dword [ebp]
lea ecx, [esp + 0x1c4]
push ecx
push eax
push 0x1012
push edx
call esi
mov eax, dword [esp + 0x1e4]
test eax, eax
je 0x45f533
test ebx, ebx
je 0x45f51e
cmp eax, 1
jne 0x45f509
mov eax, dword [esp + 0x1a4]
mov ecx, dword [esp + 0x1a8]
mov edx, dword [esp + 0x1ac]
mov dword [esp + 0x1b4], eax
mov eax, dword [esp + 0x1b0]
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], edx
mov dword [esp + 0x1c0], eax
mov edx, dword [ebp]
lea ecx, [esp + 0x1a4]
push ecx
push 0
push 0x1006
push edx
jmp 0x45f531
mov ecx, dword [ebp]
lea eax, [esp + 0x1a4]
push eax
push 0
push 0x1002
push ecx
call esi
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je 0x45f54b
mov edx, dword [ebp]
push eax
push 1
push 0x100a
push edx
call esi
mov ecx, dword [edi + 0x50]
movzx eax, byte [esp + 0x15]
imul ecx, ecx, 0x54
mov edx, dword [0x4abcd4]
push eax
mov eax, dword [ecx + edx + 0x50]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call esi
mov ebx, SysReAllocString
mov byte [esp + 0x14], 1
cmp dword [esp + 0x8c], ebx
je 0x45f58a
cmp dword [esp + 0x90], ebx
jne case.0x45e66d.20
mov eax, dword [ebp]
lea edx, [esp + 0x44]
push edx
push 0
push 0x1009
push eax
call esi
test eax, eax
je case.0x45e66d.20
cmp dword [esp + 0x8c], 0
jge 0x45f600
test byte [esp + 0x10], 0x10
je 0x45f5bb
mov eax, dword [esp + 0x4c]
jmp 0x45f5d8
mov ecx, dword [ebp]
push 0
push 0
push 0x1015
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
jge 0x45f5d8
mov eax, ecx
mov ecx, dword [esp + 0x8c]
cmp ecx, ebx
jne 0x45f5ec
mov dword [esp + 0x8c], eax
jmp 0x45f600
add eax, 6
imul eax, ecx
mov edx, 0xfffffffa
sub edx, eax
mov dword [esp + 0x8c], edx
mov ecx, dword [esp + 0x90]
cmp ecx, ebx
jne 0x45f6f4
fldz
mov ecx, dword [esp + 0x50]
fld dword [esp + 0x94]
mov dword [esp + 0x90], ecx
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45f6f2
fld1
fucompp
fnstsw ax
test ah, 0x44
jnp 0x45f6f4
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x45f675
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4abcd4]
imul ecx, ecx, 0x54
mov esi, eax
mov eax, dword [ecx + edx + 0x50]
push eax
push esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x228]
push ecx
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
test byte [esp + 0x10], 0x10
mov esi, dword [esp + 0x228]
je 0x45f6a4
mov edx, dword [esp + 0x90]
lea eax, [edx + esi + 4]
mov dword [esp + 0x90], eax
fild dword [esp + 0x90]
fld dword [esp + 0x94]
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.00493ad0
add esi, 0xfffffffe
mov dword [esp + 0x90], eax
fild dword [esp + 0x90]
mov dword [esp + 0x18], esi
fild dword [esp + 0x18]
fxch st(2)
fsub qword [0x4a08a0]
fmulp st(2)
fsubrp st(1)
call fcn.00493ad0
mov ecx, eax
mov dword [esp + 0x90], ecx
jmp 0x45f6f4
fstp st(0)
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
push 1
push ecx
mov ecx, dword [esp + 0x94]
push ecx
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp case.0x45e66d.20
mov edx, dword [0x4a9d18]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x90]
push 0
push edx
mov edx, dword [esp + 0x94]
push esi
push eax
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push 0x498831
push 0x49fbe8
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45e66d.20
mov eax, dword [esp + 0x694]
cmp byte [eax], 0
je 0x45f797
push 0
call fcn.00466c40
mov edx, dword [ebp]
movzx ecx, ax
push ecx
push 0x401
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0xc8]
test eax, eax
jle case.0x45e66d.20
push 6
push eax
mov eax, dword [ebp]
push 0x403
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x45e66d.20
test byte [esp + 0x10], 0x10
je 0x45f998
cmp dword [edi + 8], 0
jne 0x45f7e4
mov eax, dword [esp + 0x54]
test eax, eax
je 0x45f998
test byte [eax + 5], 0x80
je 0x45f998
and dword [esp + 0x10], 0xffffffef
mov byte [esp + 0x16], 1
mov ecx, dword [0x4a9d18]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x10]
push 0
push ecx
mov ecx, dword [esp + 0x94]
push esi
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ebx
push 0x498831
push 0x49fbf8
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45e66d.20
cmp byte [esp + 0x16], 0
mov esi, dword [esp + 0x38]
je 0x45f85d
mov edx, dword [esi]
push 0
push edx
push 0x469
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [edi + 0x10], 0
je 0x45f9eb
test bl, 0x10
jne 0x45f877
cmp byte [esp + 0x16], 0
je 0x45f9eb
mov ecx, dword [ebp]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x44]
push eax
push ecx
call ebx
mov eax, dword [edi + 4]
push 2
lea edx, [esp + 0x48]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
sub edx, eax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x88], ecx
sub eax, ecx
lea ecx, [esp + 0x208]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
mov edx, dword [esi]
push ecx
push edx
call ebx
mov ecx, dword [edi + 4]
push 2
lea eax, [esp + 0x20c]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp byte [edi + 0xbf], 0
mov bl, byte [esp + 0x10]
je 0x45f976
test bl, 4
je 0x45f939
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x84]
add dword [esp + 0x4c], eax
push 1
push edx
add ecx, eax
push eax
mov eax, dword [esp + 0x94]
push eax
push ecx
mov dword [esp + 0x98], ecx
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esp + 0x20c]
mov eax, dword [esp + 0x210]
mov edx, dword [esp + 0x214]
add eax, dword [esp + 0x8c]
push 1
sub edx, ecx
push edx
mov edx, dword [esp + 0x210]
mov dword [esp + 0x218], eax
sub eax, edx
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
test bl, 4
je 0x45f9a2
mov eax, dword [esp + 0x208]
mov ecx, dword [esp + 0x4c]
sub ecx, eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], ecx
jmp 0x45f9b4
mov byte [esp + 0x16], 0
jmp 0x45f7ee
mov edx, dword [esp + 0x210]
sub edx, dword [esp + 0x44]
mov dword [esp + 0x8c], edx
cmp byte [esp + 0x1f1], 0
jne 0x45fa08
cmp byte [esi + 4], 9
jne 0x45f9f5
mov byte [esp + 0x1f1], 1
test bl, 0x40
je 0x45f9de
mov dword [esp + 0xa0], 0x7fff
jmp 0x45fa08
mov dword [esp + 0x9c], 0x7fff
jmp 0x45fa08
cmp byte [esp + 0x1f1], 0
jne 0x45fa08
mov byte [esp + 0x1f1], 1
mov dword [esp + 0xa0], 0x64
lea ecx, [esp + 0x64]
mov eax, ebp
call fcn.00466f80
mov esi, dword [esp + 0x694]
call fcn.0040cf00
mov edx, dword [ebp]
push eax
mov al, byte [ebp + 5]
and al, 0x80
movzx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 0xa
push 0
add ecx, 0x467
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x45e66d.20
mov eax, dword [0x4a9d18]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x90]
push 0
push eax
mov eax, dword [esp + 0x94]
push esi
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push 0x498831
push 0x49fc08
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45e66d.20
lea eax, [esp + 0x64]
mov esi, ebp
call fcn.00467060
mov esi, dword [esp + 0x694]
cmp byte [esi], 0
je case.0x45e66d.20
call fcn.0040cf00
test byte [ebp + 5], 0x80
je 0x45fac7
push eax
mov edi, ebp
call fcn.00467020
mov edx, dword [ebp]
push eax
push 1
push 0x405
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x45ec97
mov eax, dword [0x4a9d18]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x90]
push 0
push eax
mov eax, dword [esp + 0x94]
push esi
mov esi, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push esi
push 0x498831
push 0x49d468
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45e66d.20
push esi
push edi
lea eax, [esp + 0x6c]
mov ecx, ebp
call fcn.00467240
mov esi, dword [esp + 0x694]
cmp byte [esi], 0
je 0x45fb60
push 0
call fcn.0040cf00
mov ecx, dword [ebp]
push eax
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [esp + 0x33], 0
jmp case.0x45e66d.20
mov edx, dword [0x4a9d18]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x90]
push 0
push edx
mov edx, dword [esp + 0x94]
push esi
push eax
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push 0x498831
push 0x49fc1c
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45e66d.20
mov al, byte [edi + 0xb8]
mov byte [edi + 0xb9], al
inc al
push 0x4667b0
mov byte [edi + 0xba], 0
mov byte [edi + 0xb8], al
mov ecx, dword [ebp]
push 0xfffffffffffffffc
push ecx
call ebx
mov dword [0x4a9d3c], eax
jmp case.0x45e66d.20
cmp byte [0x4acdda], 0
jne 0x45fc34
push 0x49f7dc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x45fc34
push 0x49fc2c
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45fc24
call eax
test eax, eax
setne byte [0x4acdda]
cmp byte [0x4acdda], 0
jne 0x45fc34
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [0x4a9d18]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x90]
push 0
push edx
mov edx, dword [esp + 0x94]
push esi
push eax
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x6b0]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push 0x49fc3c
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45e66d.20
push eax
call fcn.004566c0
add esp, 4
test eax, eax
jne 0x45fcad
mov edx, dword [ebp]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45e66d.20
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x45fcc0
mov edi, eax
call fcn.004752d0
jmp 0x45ec97
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp case.0x45e66d.20
mov ax, word [esp + 0x1f6]
test ax, ax
jne 0x45fcf3
push 0x498831
push 0x49fc48
mov ecx, 0x4abd80
call fcn.0042e860
jmp 0x4600fc
mov ecx, dword [0x4a9d18]
mov edx, dword [edi + 4]
push 0
push ecx
mov ecx, dword [esp + 0x98]
push esi
push edx
mov edx, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x6b4]
push ecx
mov ecx, dword [esp + 0x40]
movzx eax, ax
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
jmp case.0x45e66d.20
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x694]
mov ecx, dword [esp + 0x10]
push esi
push edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowA]
mov dword [ebp], eax
test eax, eax
je case.0x45e66d.20
mov ecx, dword [esp + 0xc4]
mov dword [edi + 8], eax
cmp ecx, 0xffffffff
je case.0x45e66d.20
push ecx
push 0
push 0x2001
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x45e66d.20
mov al, byte [esp + 0x32]
inc dword [edi + 0x10]
mov byte [edi + 0xbf], al
mov eax, dword [esp + 0x80]
test eax, eax
je 0x45fdb0
mov ecx, dword [ebp]
push eax
call fcn.00474730
cmp byte [ebp + 4], 6
jne 0x45fdd4
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x45fdce
push eax
mov eax, dword [edi + 0x10]
dec eax
push ebp
mov ecx, edi
call fcn.00466ed0
mov byte [edi + 0x44], 1
jmp 0x45fdd8
mov byte [edi + 0x44], 0
test dword [esp + 0x68], 0x10000000
je 0x45fde6
or byte [ebp + 5], 8
test dword [esp + 0x64], 0x8000000
je 0x45fdf4
or byte [ebp + 5], 0x10
cmp byte [esp + 0x33], 0
jne 0x45fe1f
cmp dword [ebp + 0x10], 0xff000000
je 0x45fe13
mov al, byte [ebp + 4]
cmp al, 5
je 0x45fe1f
cmp al, 6
je 0x45fe1f
cmp al, 3
je 0x45fe1f
cmp byte [ebp + 4], 3
jne 0x45fe2b
test byte [ebp + 5], 0x40
je 0x45fe2b
mov ecx, dword [ebp]
push ecx
call fcn.00474470
add esp, 4
cmp byte [esp + 0x14], 0
jne 0x45fe5c
cmp byte [esp + 0x2a], 0
je 0x45fe5c
mov eax, dword [edi + 0x50]
movzx edx, byte [esp + 0x15]
imul eax, eax, 0x54
mov ecx, dword [0x4abcd4]
push edx
mov edx, dword [eax + ecx + 0x50]
mov eax, dword [ebp]
push edx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esp + 0x1ec], 4
jne 0x45fe76
mov ecx, dword [ebp]
push 0
push 0
push 0xb
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x694]
cmp byte [edx], 0
je 0x45fea2
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x688]
push eax
push ecx
mov eax, edx
mov edi, ebp
call fcn.00463240
mov edi, dword [esp + 0x688]
cmp byte [ebp + 4], 0x13
jne 0x45ff58
fldz
fcomp dword [esp + 0x94]
fnstsw ax
test ah, 5
jp 0x45ff58
mov eax, dword [ebp]
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov al, byte [esp + 0x10]
test al, 2
je 0x4600d8
test al, al
js 0x4600d8
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp]
and ecx, 0xfffffffd
push ecx
push 0xfffffffffffffff0
push edx
mov bl, 1
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [ebp]
lea eax, [esp + 0x44]
push eax
push 1
push 0x1328
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test bl, bl
je 0x45ff24
mov edx, dword [esp + 0x10]
mov eax, dword [ebp]
push edx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
push 1
push eax
push ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x90]
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [esp + 0x23], 0
je 0x45ffc7
mov eax, dword [ebp]
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
sub eax, dword [esp + 0x48]
sub ecx, dword [esp + 0x44]
cmp byte [esp + 0x68c], 9
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], ecx
jne 0x45ffc7
test dword [esp + 0x10], 0x100000
je 0x45ffc7
mov eax, dword [esp + 0xcc]
test eax, eax
jns 0x45ffb5
lea eax, [ecx + ecx*2]
mov dword [esp + 0xcc], eax
mov ecx, dword [ebp]
push 0
push eax
push 0x194
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [esp + 0x54]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
test ebx, ebx
je 0x460028
cmp byte [esp + 0x2b], 0
je 0x46000f
mov eax, dword [ebp]
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [edi + 4]
push 2
lea ecx, [esp + 0x48]
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [edi + 4]
push 0
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
test byte [ebx + 5], 0x80
je 0x460028
mov edx, dword [ebp]
mov eax, dword [ebx]
push 0x13
push 0
push 0
push 0
push 0
push edx
push eax
call esi
mov eax, dword [edi + 8]
test eax, eax
je 0x46003e
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
cmp byte [esp + 0x68c], 0x18
je 0x4600f7
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x90]
mov esi, dword [esp + 0x88]
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], ecx
add eax, edx
add ecx, esi
mov dword [edi + 0x80], edx
mov dword [edi + 0x84], esi
cmp eax, dword [edi + 0x90]
jle 0x460092
mov dword [edi + 0x90], eax
cmp ecx, dword [edi + 0x94]
jle 0x4600a0
mov dword [edi + 0x94], ecx
cmp byte [esp + 0x1f3], 0
jne 0x4600df
mov ebx, dword [edi + 0x10]
cmp ebx, 1
je 0x4600df
cmp ebx, 2
jne 0x4600c0
mov ebx, dword [edi + 0x18]
cmp byte [ebx + 4], 0x18
je 0x4600df
cmp eax, dword [edi + 0xa0]
jle 0x4600ce
mov dword [edi + 0xa0], eax
cmp ecx, dword [edi + 0xa4]
jle 0x4600f7
jmp 0x4600f1
xor bl, bl
jmp 0x45fef9
mov dword [edi + 0x98], edx
mov dword [edi + 0x9c], esi
mov dword [edi + 0xa0], eax
mov dword [edi + 0xa4], ecx
mov eax, 1
mov ecx, dword [esp + 0x678]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x674
ret 0x10