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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x494e2b
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 0x45c6ca
push 0x498839
push str.Too_many_controls.
mov ecx, 0x4ac280
call fcn.0042d650
jmp 0x45f402
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jb 0x45c6f7
mov ecx, dword [ebx + 0x18]
lea eax, [eax + eax*4 + 0x1388]
add eax, eax
add eax, eax
push eax
push ecx
call fcn.00485c17
add esp, 8
test eax, eax
je 0x45c6b1
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 0x45c72d
or byte [ebp + 5], 0x80
mov byte [esp + 0x68c], 0x13
jmp 0x45c731
cmp al, 0x13
jne 0x45c766
mov al, 0xff
cmp byte [ebx + 0xb8], al
jne 0x45c754
push 0x498839
push str.Too_many_tab_controls.
mov ecx, 0x4ac280
call fcn.0042d650
jmp 0x45f402
mov byte [ebp + 6], al
mov cl, byte [ebx + 0xb8]
mov al, byte [esp + 0x68c]
jmp 0x45c79e
cmp al, 0x18
jne 0x45c78f
cmp dword [ebx + 8], 0
je 0x45c789
push 0x498839
push str.Too_many_status_bars.
mov ecx, 0x4ac280
call fcn.0042d650
jmp 0x45f402
mov byte [ebp + 6], 0xff
jmp 0x45c7a1
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 0x45c81e
cmp dword [ebx + 0x78], edi
jne 0x45c7e0
mov edx, dword [ebx + 0x50]
mov eax, dword [0x4ac1d4]
imul edx, edx, 0x54
fild dword [edx + eax + 0x44]
fmul qword [0x4a09f0]
call fcn.00493030
mov ecx, dword [0x4ac22c]
push 0x60
push ecx
push eax
call esi
mov dword [ebx + 0x78], eax
cmp dword [ebx + 0x7c], edi
jne 0x45c80e
mov edx, dword [ebx + 0x50]
mov eax, dword [0x4ac1d4]
imul edx, edx, 0x54
fild dword [edx + eax + 0x44]
fmul qword [0x4a0a10]
call fcn.00493030
mov ecx, dword [0x4ac22c]
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 + 0x6c]
mov byte [ebp + 4], al
call fcn.004624c0
movzx eax, byte [ebx + 0x45]
or dword [esp + 0x6c], 0x10000000
mov byte [esp + 0x1fc], al
mov al, byte [esp + 0x68c]
cmp al, 6
jne 0x45c862
or dword [esp + 0x6c], 0x4000
cmp byte [ebx + 0x44], 0
jne 0x45c880
or dword [esp + 0x6c], 0x20000
jmp 0x45c880
cmp byte [ebx + 0x44], 0
je 0x45c870
or dword [esp + 0x6c], 0x20000
cmp al, 2
je 0x45c89d
cmp al, 0x10
je 0x45c89d
cmp al, 0x11
je 0x45c89d
cmp al, 0x12
je 0x45c89d
cmp byte [ebp + 4], 0xa
mov byte [esp + 0x2b], 1
je 0x45c891
mov ecx, dword [ebx + 0x54]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebx + 0x54]
mov dword [esp + 0xc8], edx
jmp 0x45c8ad
mov byte [esp + 0x2b], 0
cmp al, 0x12
jne 0x45c8ad
mov dword [ebp + 0x10], 0xff000000
movzx eax, al
mov dword [esp + 0x44], eax
add eax, 0xfffffffc
mov ecx, 0x10000
cmp eax, 0x14
ja case.0x45c8c5.6
jmp dword [eax*4 + 0x45f420]
or dword [esp + 0x6c], 0x210000
jmp case.0x45c8c5.6
or dword [esp + 0x6c], 0x210042
jmp case.0x45c8c5.6
or dword [esp + 0x6c], 0x210080
or dword [esp + 0x74], 0x200
jmp case.0x45c8c5.6
or dword [esp + 0x7c], 0x30
or dword [esp + 0x6c], 0x10008
or dword [esp + 0x74], 0x200
mov dword [esp + 0x80], 1
jmp case.0x45c8c5.6
or dword [esp + 0x6c], 0x10027
or dword [esp + 0x74], 0x200
jmp case.0x45c8c5.6
or dword [esp + 0x6c], ecx
or dword [esp + 0x74], 0x200
jmp case.0x45c8c5.6
or dword [esp + 0x6c], 0x36
jmp case.0x45c8c5.6
or dword [esp + 0x6c], 0x1000c
jmp case.0x45c8c5.6
or dword [esp + 0x6c], 1
jmp case.0x45c8c5.6
or dword [esp + 0x6c], 0x10200
mov byte [esp + 0x1fc], 0
jmp case.0x45c8c5.6
or dword [esp + 0x6c], 0x4000000
jmp case.0x45c8c5.6
test dword [ebx + 0x3c], 0x40000
je 0x45c982
or dword [esp + 0x6c], 0x100
or dword [esp + 0x6c], 0x800
jmp case.0x45c8c5.6
cmp byte [0x4aca46], 0
je case.0x45c8c5.6
or dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x690]
push 0
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x78]
push eax
push ebx
call fcn.0045ffa0
test eax, eax
je 0x45f402
mov cl, byte [esp + 0x68c]
mov eax, dword [esp + 0xc8]
cmp cl, 0xa
je 0x45c9ce
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
mov eax, dword [esp + 0xcc]
setne dl
mov byte [esp + 0x1fa], dl
cmp eax, 0xff000000
jne 0x45c9fd
cmp cl, 0xb
je 0x45ca1e
mov dword [esp + 0xcc], 0xffffffff
jmp 0x45ca1e
cmp eax, 0xffffffff
jne 0x45ca1e
mov ebx, dword [ebx + 0x5c]
cmp ebx, 0xff000000
je 0x45ca1e
cmp cl, 0x12
je 0x45ca1e
cmp cl, 0x18
je 0x45ca1e
mov dword [esp + 0xcc], ebx
mov esi, dword [esp + 0x70]
mov eax, SysReAllocString
cmp dword [esp + 0x94], eax
jne 0x45ca68
cmp dword [esp + 0x98], eax
jne 0x45ca68
fld dword [0x4a0a08]
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jnp 0x45ca68
mov eax, dword [esp + 0x694]
mov edi, 0x49fc64
call fcn.00409340
test eax, eax
jne 0x45ca68
mov dword [esp + 0x5c], eax
jmp 0x45ca75
mov eax, esi
not eax
and eax, 0x2000
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x78]
not eax
and eax, dword [esp + 0x74]
mov ebx, esi
not ebx
and ebx, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
or ebx, 0x40000000
add eax, 0xfffffffd
mov dword [esp + 0x10], ebx
cmp eax, 0x10
ja case.0x45caa8.10
movzx eax, byte [eax + 0x45f49c]
jmp dword [eax*4 + 0x45f474]
and ebx, 0xfffffff7
or ebx, 7
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x688]
cmp byte [esp + 0x68c], 4
jne 0x45cdc1
cmp dword [ebp + 0xc], 0
lea esi, [ebp + 0xc]
jne 0x45cdc1
test byte [ebp + 5], 1
jne 0x45cdc1
mov edi, dword [edi]
cmp byte [edi], 0x31
jne 0x45cc53
cmp byte [edi + 1], 0
jne 0x45cc53
mov byte [esp + 0x274], 0
jmp 0x45cc6a
test bl, 1
je 0x45cb1c
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x10], ebx
or ebx, dword [esp + 0x5c]
jmp 0x45cab5
and ebx, 0xfffffff0
or ebx, dword [esp + 0x5c]
jmp 0x45cab5
mov ecx, ebx
and ecx, 6
cmp cl, 6
jne 0x45cb46
mov edx, dword [esp + 0x5c]
and ebx, 0xfffffff6
or ebx, 6
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], edx
jmp case.0x45caa8.10
mov edx, dword [esp + 0x5c]
and ebx, 0xfffffff3
or ebx, 3
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], edx
jmp case.0x45caa8.10
and ebx, 0xfffffff9
or ebx, 9
mov eax, ebx
test eax, 0x20000
je 0x45cb79
test esi, 0x10000
jne 0x45cb79
or eax, 0x10000
or eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
jmp case.0x45caa8.10
or ebx, 3
jmp 0x45cab5
mov edi, dword [esp + 0x688]
test bl, 1
je 0x45cba9
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x10], ebx
jmp 0x45cac0
and ebx, 0xfffffff2
or ebx, 2
mov dword [esp + 0x10], ebx
jmp 0x45cac0
or ebx, 1
jmp 0x45cab5
fld dword [0x4a0a08]
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jnp 0x45cbee
mov eax, dword [esp + 0x694]
push 0xa
push eax
call fcn.00485661
mov esi, dword [esp + 0x78]
add esp, 8
test eax, eax
je 0x45cbfb
mov ecx, esi
not ecx
and ecx, 4
or ebx, ecx
mov dword [esp + 0x10], ebx
test bl, 4
je case.0x45caa8.10
not esi
and esi, 0x201040
or ebx, esi
jmp 0x45cab5
mov edi, dword [esp + 0x688]
or ebx, 0x4000000
cmp dword [edi + 0x60], 0
je 0x45cc2c
test byte [ebp + 5], 0x20
je 0x45cc35
cmp dword [ebp + 0x10], 0xff000000
je 0x45cc44
or ebx, 0x2000
mov dword [esp + 0x10], ebx
jmp 0x45cac0
and ebx, 0xffffdfff
mov dword [esp + 0x10], ebx
jmp 0x45cac0
lea edx, [esp + 0x274]
mov eax, edi
sub edx, edi
mov edi, edi
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x45cc60
mov edx, dword [esp + 0x694]
push edx
push str.Button_s
mov eax, 0x400
lea ecx, [esp + 0x27c]
call fcn.00471870
push 0
push 0xffffffffffffffff
push 1
push 0x498839
lea eax, [esp + 0x28c]
push 0x49fc74
push eax
xor eax, eax
or ecx, 0xffffffff
call fcn.00471ff0
push 0
push 0xffffffffffffffff
push 1
push 0x498839
lea ecx, [esp + 0x2a4]
push 0x49de88
push ecx
xor eax, eax
or ecx, 0xffffffff
call fcn.00471ff0
push 0
push 0xffffffffffffffff
push 1
push 0x498839
lea edx, [esp + 0x2bc]
push 0x49882c
push edx
xor eax, eax
or ecx, 0xffffffff
call fcn.00471ff0
add esp, 0x50
push 0
push 0xffffffffffffffff
push 1
push 0x498839
lea eax, [esp + 0x284]
push 0x49c7a0
push eax
xor eax, eax
or ecx, 0xffffffff
call fcn.00471ff0
push 0
push 0xffffffffffffffff
push 1
push 0x498839
lea ecx, [esp + 0x29c]
push 0x49e39c
push ecx
xor eax, eax
or ecx, 0xffffffff
call fcn.00471ff0
push 0
push 0xffffffffffffffff
push 1
push 0x498839
lea edx, [esp + 0x2b4]
push 0x49fc78
push edx
xor eax, eax
or ecx, 0xffffffff
call fcn.00471ff0
add esp, 0x48
cmp byte [esp + 0x274], 0
je 0x45cdb3
mov edi, dword [0x4ac290]
test edi, edi
je 0x45cd8f
mov edi, edi
mov eax, dword [edi + 4]
lea ecx, [esp + 0x274]
push ecx
push eax
call fcn.00484671
add esp, 8
test eax, eax
je 0x45cdb5
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x45cd70
push 0
push 0
lea edx, [esp + 0x27c]
push edx
mov ecx, 0x4ac280
call fcn.0041f080
test eax, eax
je 0x45cdb3
cmp dword [eax + 0x14], 4
jg 0x45cdb3
mov edi, eax
jmp 0x45cdb5
xor edi, edi
call fcn.004094c0
mov edi, dword [esp + 0x688]
mov bl, byte [ebp + 6]
mov ecx, edi
call fcn.00466bd0
xor edx, edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x26c], edx
mov dword [esp + 0x680], edx
mov ecx, dword [edi + 0x10]
cmp ecx, edx
je 0x45cdf2
mov esi, dword [edi + 0x18]
lea ecx, [ecx + ecx*4]
lea ecx, [esi + ecx*4 - 0x14]
jmp 0x45cdf9
lea ecx, [esp + 0x260]
mov dword [esp + 0x60], ecx
mov ecx, SysReAllocString
cmp dword [esp + 0x8c], ecx
jne 0x45cede
cmp dword [esp + 0x90], ecx
jne 0x45cede
cmp eax, edx
je 0x45ce61
mov al, byte [ebp + 7]
mov ecx, edi
call fcn.00466d30
test eax, eax
jne 0x45ce61
mov ebx, dword [esp + 0x688]
mov esi, dword [esp + 0x58]
push ebx
lea edi, [esp + 0x68]
call fcn.00466d60
mov edx, dword [ebx + 0x78]
add edx, dword [esp + 0x64]
mov eax, dword [ebx + 0x7c]
add eax, dword [esp + 0x68]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
jmp 0x45ce8b
mov edx, dword [edi + 0x8c]
add edx, dword [edi + 0x84]
mov ecx, dword [edi + 0x80]
add edx, dword [edi + 0x7c]
mov ebx, dword [esp + 0x688]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov al, byte [esp + 0x68c]
cmp al, 1
je 0x45ce9a
cmp al, 0x16
jne 0x45ced7
cmp dword [ebx + 0x10], 0
je 0x45ced7
mov ecx, dword [esp + 0x60]
mov al, byte [ecx + 4]
cmp al, 1
je 0x45ceaf
cmp al, 0x16
jne 0x45ced7
mov al, byte [ecx + 6]
cmp al, byte [ebp + 6]
jne 0x45ced7
mov cl, byte [ecx + 7]
cmp cl, byte [ebp + 7]
jne 0x45ced7
mov edx, dword [0x4ac22c]
push 0x60
push edx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x90], eax
mov edi, dword [esp + 0x688]
mov cl, byte [esp + 0x68c]
cmp cl, 0xe
je 0x45cef8
cmp cl, 0xa
je 0x45cef8
cmp cl, 0xb
je 0x45cef8
xor al, al
jmp 0x45cefa
mov al, 1
fld1
test al, al
sete byte [esp + 0x1a]
cmp dword [esp + 0x98], 0x80000000
mov byte [esp + 0x19], al
jne 0x45d06b
fcom dword [esp + 0x9c]
fnstsw ax
test ah, 0x41
jne 0x45d06b
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
cmp eax, 0x14
ja case.0x45cf41.4
movzx eax, byte [eax + 0x45f4dc]
jmp dword [eax*4 + 0x45f4b0]
mov eax, dword [esp + 0x10]
fstp st(0)
fld dword [0x4a0a04]
fstp dword [esp + 0x9c]
test al, 1
je 0x45cf67
test al, 2
je 0x45d08c
cmp byte [0x4aca42], 0
je 0x45d08c
test eax, 0x400
jne 0x45d08c
mov byte [esp + 0x1a], 0
jmp 0x45d08c
fstp st(0)
fld dword [0x4a0a00]
fstp dword [esp + 0x9c]
jmp 0x45d08c
fstp st(0)
fld dword [0x4a09fc]
fstp dword [esp + 0x9c]
jmp 0x45d08c
mov ecx, dword [esp + 0x694]
cmp byte [ecx], 0
jne case.0x45cf41.4
test byte [esp + 0x10], 4
je case.0x45cf41.13
fstp st(0)
fld dword [0x4a0a04]
fstp dword [esp + 0x9c]
jmp 0x45d08c
test byte [esp + 0x10], 0x40
fstp st(0)
je 0x45cf8b
mov edx, dword [edi + 0x50]
mov eax, dword [0x4ac1d4]
imul edx, edx, 0x54
mov eax, dword [edx + eax + 0x44]
mov ecx, dword [0x4ac22c]
push 0x60
add eax, eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x98], eax
jmp 0x45d08c
mov eax, dword [esp + 0x10]
fstp st(0)
test al, 2
je 0x45d02c
fld dword [0x4a0a00]
fstp dword [esp + 0x9c]
jmp 0x45d08c
push eax
mov eax, dword [esp + 0xbc]
call fcn.00466450
mov dword [esp + 0x98], eax
jmp 0x45d08c
test byte [esp + 0x10], 4
fstp st(0)
je 0x45cfe9
fld dword [0x4a0a00]
fstp dword [esp + 0x9c]
jmp 0x45d08c
fstp st(0)
fld dword [0x4a09f8]
fstp dword [esp + 0x9c]
jmp 0x45d08c
fstp st(0)
cmp cl, 7
je 0x45d077
cmp cl, 8
jne 0x45d08c
cmp byte [0x4aca42], 0
je 0x45d08c
or dword [esp + 0x10], 0x400
jmp 0x45d08c
fstp st(0)
fldz
xor ebx, ebx
fld dword [esp + 0x9c]
mov dword [esp + 0x24], ebx
fcom st(1)
mov dword [esp + 0x40], ebx
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45d215
mov al, byte [esp + 0x68c]
cmp al, 3
je 0x45d0c1
cmp al, 6
jbe 0x45d0d0
cmp al, 8
ja 0x45d0d0
fadd qword [0x4a09a0]
fstp dword [esp + 0x9c]
jmp 0x45d0d2
fstp st(0)
cmp byte [esp + 0x1a], bl
je 0x45d1f6
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4ac1d4]
mov ebx, eax
mov eax, dword [edi + 0x50]
imul eax, eax, 0x54
mov edx, dword [eax + ecx + 0x50]
push edx
push ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x228]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
fld dword [esp + 0x9c]
fld st(0)
fld qword [0x4a09b8]
fadd st(1), st(0)
fxch st(1)
call fcn.00493030
fild dword [esp + 0x228]
mov esi, eax
lea ecx, [esi - 1]
imul ecx, dword [esp + 0x238]
fmulp st(2)
mov dword [esp + 0x34], ecx
fild dword [esp + 0x34]
faddp st(2)
faddp st(1)
call fcn.00493030
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
cmp eax, 0x14
ja case.0x45d174.5
movzx edx, byte [eax + 0x45f508]
jmp dword [edx*4 + 0x45f4f4]
mov eax, dword [0x4ac22c]
push 0x60
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x98], eax
test dword [esp + 0x10], 0x100000
je case.0x45d174.5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x98], eax
jmp case.0x45d174.5
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4ac1d4]
imul ecx, ecx, 0x54
mov eax, dword [ecx + edx + 0x44]
mov ecx, dword [0x4ac22c]
push 0x60
add eax, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x98], eax
jmp case.0x45d174.5
mov edx, dword [edi + 0x7c]
imul edx, esi
add dword [esp + 0x98], edx
jmp case.0x45d174.5
inc esi
imul esi, dword [edi + 0x7c]
add dword [esp + 0x98], esi
jmp case.0x45d174.5
cmp byte [esp + 0x19], bl
jne case.0x45d174.5
mov eax, dword [0x4ac22c]
push 0x60
push eax
push 0x1e
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x98], eax
jmp case.0x45d174.5
fstp st(0)
mov eax, SysReAllocString
mov byte [esp + 0x31], 0
cmp dword [esp + 0x98], eax
je 0x45d237
cmp dword [esp + 0x94], eax
jne case.0x45d778.4
mov eax, dword [esp + 0x44]
xor esi, esi
dec eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], 0x400
cmp eax, 0x15
ja case.0x45d25e.2
movzx ecx, byte [eax + 0x45f52c]
jmp dword [ecx*4 + 0x45f520]
mov edx, dword [esp + 0x694]
cmp byte [edx], 0
je case.0x45d25e.2
cmp ebx, esi
jne 0x45d2a5
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4ac1d4]
imul ecx, ecx, 0x54
mov ebx, eax
mov eax, dword [ecx + edx + 0x50]
push eax
push ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x228]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov esi, dword [esp + 0x23c]
add esi, 4
test dword [esp + 0x10], 0x200000
mov dword [esp + 0x3c], esi
je 0x45d2da
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x694]
cmp byte [eax], 0
je 0x45d319
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45d2f0
sub eax, edx
mov edx, dword [esp + 0x694]
cmp byte [eax + edx - 1], 0xa
jne 0x45d319
mov eax, dword [esp + 0x238]
add eax, dword [esp + 0x228]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], 0x2c40
test ebx, ebx
jne 0x45d351
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4ac1d4]
mov ebx, eax
mov eax, dword [edi + 0x50]
imul eax, eax, 0x54
mov edx, dword [eax + ecx + 0x50]
push edx
push ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
mov al, byte [esp + 0x68c]
cmp al, 1
jne 0x45d372
or dword [esp + 0x2c], 0x40
test byte [esp + 0x10], 0x80
je 0x45d3a0
or dword [esp + 0x2c], 0x800
jmp 0x45d3a0
cmp al, 5
je 0x45d37a
cmp al, 6
jne 0x45d3a0
lea eax, [esp + 0x228]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, dword [esp + 0x23c]
lea esi, [esi + eax + 2]
mov dword [esp + 0x3c], esi
test dword [esp + 0x10], 0x800000
je 0x45d3d7
mov al, byte [esp + 0x68c]
cmp al, 1
je 0x45d3b9
cmp al, 0x16
jne 0x45d3d7
push 5
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
add esi, esi
push 6
mov dword [esp + 0x40], esi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x94]
cmp eax, 0x80000000
je 0x45d3ea
or dword [esp + 0x2c], 0x10
xor ecx, ecx
mov dword [esp + 0x218], ecx
mov dword [esp + 0x21c], ecx
cmp eax, 0x80000000
jne 0x45d40a
mov dword [esp + 0x220], ecx
jmp 0x45d413
sub eax, esi
mov dword [esp + 0x220], eax
mov eax, dword [esp + 0x98]
mov ecx, eax
sub ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, eax
cmp byte [esp + 0x68c], 0x16
mov dword [esp + 0x224], ecx
mov byte [esp + 0x17], 0
jne 0x45d5b2
test byte [esp + 0x10], 4
je 0x45d451
or dword [esp + 0x2c], 0x800
mov eax, dword [esp + 0x694]
lea edx, [eax + 1]
jmp 0x45d460
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45d460
sub eax, edx
inc eax
push eax
call fcn.004857b9
mov ebx, eax
mov eax, dword [esp + 0x698]
add esp, 4
cmp byte [eax], 0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x38], eax
je 0x45d566
lea ecx, [ecx]
mov edx, dword [esp + 0x38]
cmp byte [edx], 0x3c
jne 0x45d54f
mov eax, edx
mov al, byte [eax + 1]
call fcn.00409310
cmp al, 0x41
jne 0x45d54f
mov esi, dword [esp + 0x38]
add esi, 2
mov al, byte [esi]
cmp al, 0x20
je 0x45d4c0
cmp al, 9
jne 0x45d4c3
inc esi
jmp 0x45d4b6
cmp byte [esi], 0x3e
je 0x45d522
jmp 0x45d4d0
movzx eax, byte [esi]
test eax, 0xffffff80
jne 0x45d4ef
push 0x107
push eax
call fcn.00485bae
add esp, 8
test eax, eax
je 0x45d4ef
inc esi
jmp 0x45d4d0
cmp byte [esi], 0x3d
jne 0x45d54f
cmp byte [esi + 1], 0x22
jne 0x45d54f
push 0x22
add esi, 2
push esi
call fcn.00485661
add esp, 8
test eax, eax
je 0x45d54f
lea esi, [eax + 1]
nop
mov al, byte [esi]
cmp al, 0x20
je 0x45d51a
cmp al, 9
jne 0x45d51d
inc esi
jmp 0x45d510
cmp byte [esi], 0x3e
jne 0x45d4d0
inc esi
je 0x45d54f
push str.__a_
mov eax, esi
call fcn.00471bb0
add esp, 4
test eax, eax
je 0x45d54f
mov ecx, esi
cmp esi, eax
jae 0x45d54a
mov edi, edi
mov dl, byte [ecx]
mov byte [ebx], dl
inc ecx
inc ebx
cmp ecx, eax
jb 0x45d540
add eax, 3
jmp 0x45d558
mov eax, dword [esp + 0x38]
mov cl, byte [eax]
mov byte [ebx], cl
inc ebx
inc eax
cmp byte [eax], 0
mov dword [esp + 0x38], eax
jne 0x45d490
mov esi, dword [esp + 0x20]
mov byte [ebx], 0
cmp ebx, esi
jbe 0x45d578
mov dl, byte [ebx - 1]
mov byte [esp + 0x17], dl
cmp byte [esi], 0
mov eax, esi
jne 0x45d584
mov eax, 0x49fc84
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]
push esi
mov dword [esp + 0x3c], eax
call fcn.00485aeb
mov ebx, dword [esp + 0x28]
add esp, 4
jmp 0x45d601
mov eax, dword [esp + 0x694]
cmp byte [eax], 0
jne 0x45d5c3
mov eax, 0x49fc84
mov ecx, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x21c]
push edx
push 0xffffffffffffffff
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
mov esi, dword [esp + 0x694]
cmp byte [esi], 0
mov dword [esp + 0x38], eax
je 0x45d601
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45d5f0
sub eax, edx
mov al, byte [eax + esi - 1]
mov byte [esp + 0x17], al
mov esi, dword [esp + 0x220]
mov eax, dword [esp + 0x44]
sub esi, dword [esp + 0x218]
dec eax
je 0x45d629
sub eax, 3
je 0x45d622
sub eax, 8
je 0x45d629
jmp 0x45d657
cmp dword [esp + 0x5c], 0
jne 0x45d657
cmp byte [esp + 0x17], 0
je 0x45d657
movsx eax, byte [esp + 0x17]
lea ecx, [esp + 0x208]
push ecx
push eax
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetCharABCWidthsA]
test eax, eax
je 0x45d657
mov eax, dword [esp + 0x210]
test eax, eax
jns 0x45d657
sub esi, eax
mov eax, dword [esp + 0x98]
mov bl, byte [esp + 0x68c]
cmp eax, 0x80000000
je 0x45d677
cmp dword [esp + 0x38], eax
jle 0x45d6de
cmp bl, 0xc
je 0x45d6de
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x34]
mov dword [esp + 0x98], eax
cmp bl, 0xc
jne 0x45d6be
mov ecx, dword [0x4ac22c]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x98], eax
test dword [esp + 0x10], 0x100000
je 0x45d6de
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x98], eax
jmp 0x45d6de
cmp bl, 4
jne 0x45d6de
mov edx, dword [edi + 0x50]
mov ecx, dword [0x4ac1d4]
imul edx, edx, 0x54
mov edx, dword [edx + ecx + 0x44]
lea eax, [eax + edx + 2]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x94]
cmp eax, 0x80000000
je 0x45d6f0
cmp esi, eax
jle case.0x45d25e.2
add esi, dword [esp + 0x3c]
mov byte [esp + 0x31], 1
mov dword [esp + 0x94], esi
cmp bl, 4
jne case.0x45d25e.2
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [edi + 0x50]
mov ecx, dword [0x4ac1d4]
imul edx, edx, 0x54
mov edx, dword [edx + ecx + 0x44]
lea eax, [edx + eax*2]
add dword [esp + 0x94], eax
cmp dword [esp + 0x94], 0x80000000
jne case.0x45d778.4
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4ac1d4]
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 [0x4ac22c]
push 0x60
push ecx
push eax
call esi
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffffd
cmp ecx, 0x14
ja case.0x45d778.4
movzx edx, byte [ecx + 0x45f564]
jmp dword [edx*4 + 0x45f544]
mov dword [esp + 0x94], eax
jmp case.0x45d778.4
add eax, eax
mov dword [esp + 0x94], eax
jmp case.0x45d778.4
test byte [esp + 0x10], 0x40
je 0x45d7a9
mov dword [esp + 0x94], eax
jmp case.0x45d778.4
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4ac1d4]
imul ecx, ecx, 0x54
mov eax, dword [ecx + edx + 0x44]
mov ecx, dword [0x4ac22c]
push 0x60
add eax, eax
push ecx
push eax
call esi
mov dword [esp + 0x94], eax
jmp case.0x45d778.4
mov ecx, dword [esp + 0x10]
test cl, 2
je case.0x45d778.7
mov eax, dword [esp + 0xb8]
push ecx
call fcn.00466450
mov dword [esp + 0x94], eax
jmp case.0x45d778.4
test byte [esp + 0x10], 4
je case.0x45d778.7
mov edx, dword [edi + 0x50]
mov eax, dword [0x4ac1d4]
imul edx, edx, 0x54
mov eax, dword [edx + eax + 0x44]
jmp 0x45d7b9
mov edx, dword [edi + 0x78]
lea eax, [eax + edx*2]
mov dword [esp + 0x94], eax
jmp case.0x45d778.4
mov ecx, dword [edi + 0x78]
lea ecx, [ecx + ecx*2]
lea edx, [ecx + eax*2]
mov dword [esp + 0x94], edx
cmp byte [esp + 0x68c], 0xc
jne 0x45d941
test byte [esp + 0x10], 4
jne 0x45d941
fld1
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 0x41
jne 0x45d941
cmp dword [esp + 0x24], 0
jne 0x45d884
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4ac1d4]
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 [0x4ac22c]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, dword [esp + 0x98]
mov ebx, dword [esp + 0x10]
sub esi, eax
sub esi, dword [esp + 0x228]
mov dword [esp + 0x34], esi
test ebx, 0x100000
je 0x45d8d6
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub esi, eax
mov dword [esp + 0x34], esi
test esi, esi
jle 0x45d938
mov edx, dword [esp + 0x238]
fild dword [esp + 0x34]
add edx, dword [esp + 0x228]
mov dword [esp + 0x20], edx
fidiv dword [esp + 0x20]
fadd qword [0x4a09a0]
fstp dword [esp + 0x9c]
fld dword [0x4a0a08]
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jp 0x45d941
mov eax, dword [esp + 0x70]
not eax
mov ecx, eax
and ecx, 4
or ebx, ecx
mov dword [esp + 0x10], ebx
test bl, 4
je 0x45d941
and eax, 0x201040
or ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x45d941
fld1
fstp dword [esp + 0x9c]
cmp byte [esp + 0x1fc], 0
mov edx, dword [edi + 4]
mov esi, dword [edi + 0x10]
sete byte [esp + 0x32]
push edx
mov byte [esp + 0x1d], 0
add esi, 3
mov byte [esp + 0x1b], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45d97f
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0x18], 1
test eax, eax
je 0x45d984
mov byte [esp + 0x18], 0
cmp byte [ebp + 6], 0xff
mov byte [esp + 0x33], 0
jae 0x45d9d5
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x45d9cd
mov ecx, dword [ebx]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x45d9cd
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 0x45d9cd
mov dl, byte [esp + 0x18]
mov byte [esp + 0x33], dl
jmp 0x45d9d5
and dword [esp + 0x10], 0xefffffff
mov eax, dword [esp + 0x44]
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongA]
dec eax
cmp eax, 0x17
ja case.0x45d9e9.20
jmp dword [eax*4 + 0x45f57c]
mov eax, dword [0x4aa218]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x98]
push 0
push eax
mov eax, dword [esp + 0x9c]
push esi
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
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.static
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
jmp case.0x45d9e9.20
mov eax, dword [0x4aa218]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x98]
push 0
push eax
mov eax, dword [esp + 0x9c]
push esi
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
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.0x45d9e9.20
mov ecx, dword [esp + 0x94]
cmp ecx, 0x80000000
jne 0x45daac
xor ecx, ecx
mov dword [esp + 0x94], ecx
mov eax, dword [esp + 0x98]
cmp eax, 0x80000000
jne 0x45dac3
xor eax, eax
mov dword [esp + 0x98], eax
mov edx, dword [0x4aa218]
push 0
push edx
mov edx, dword [edi + 4]
push esi
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x6b0]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push str.static
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45d9e9.20
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x694]
push edx
mov edx, dword [esp + 0xe0]
push eax
push ecx
mov esi, ebp
call fcn.00462790
test eax, eax
je case.0x45d9e9.20
mov byte [esp + 0x19], 1
jmp case.0x45d9e9.20
mov edx, dword [0x4aa218]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
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 str.button
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
jmp case.0x45d9e9.20
mov edx, dword [0x4aa218]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
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 str.button
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45d9e9.20
test byte [esp + 0x10], 1
je case.0x45d9e9.20
mov eax, dword [edi + 0x1c]
cmp eax, dword [edi + 0x10]
jae 0x45dc35
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x18]
mov ecx, dword [eax + edx*4]
push 1
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
and eax, 0xfffe
push eax
mov eax, dword [edi + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x18]
mov ecx, dword [eax + edx*4]
push 0xf4
push ecx
call esi
jmp 0x45dc3b
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 4]
push 0
mov dword [edi + 0x1c], eax
add eax, 3
push eax
push 0x401
push edx
call esi
movzx eax, word [esp + 0x10]
mov ecx, dword [ebp]
push 1
push eax
push 0xf4
push ecx
call esi
jmp case.0x45d9e9.20
mov edx, dword [0x4aa218]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
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 str.button
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45d9e9.20
mov ecx, dword [esp + 0xd8]
test ecx, ecx
je case.0x45d9e9.20
push 0
push ecx
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x45d9e9.20
cmp dword [esp + 0xd0], 0
je 0x45dcf8
cmp byte [ebp + 4], 8
jne 0x45dcf8
and dword [esp + 0x10], 0xffffffbf
mov edx, dword [0x4aa218]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x98]
mov ebx, dword [esp + 0x10]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push ebx
push 0x498839
push str.Combobox
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45d9e9.20
mov edx, dword [edi + 0x50]
movzx ecx, byte [esp + 0x18]
imul edx, edx, 0x54
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ecx
mov ecx, dword [0x4ac1d4]
mov edx, dword [edx + ecx + 0x50]
push edx
push 0x30
push eax
call esi
cmp byte [esp + 0x1a], 0
mov byte [esp + 0x17], 1
je 0x45de12
mov eax, dword [ebp]
push 0
push 0
push 0x154
push eax
call esi
mov dword [esp + 0x3c], eax
test bl, 1
je 0x45dd9f
mov esi, 4
test bl, 2
je 0x45dda4
mov esi, 2
mov ecx, dword [0x4ac22c]
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push ecx
push 8
call ebx
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x98]
add eax, esi
lea eax, [eax + edx*2]
cmp ecx, eax
jge 0x45ddd6
mov ecx, eax
mov dword [esp + 0x98], ecx
jmp 0x45de19
fldz
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jp 0x45de19
mov eax, dword [0x4ac22c]
push 0x60
push eax
push 8
call ebx
fild dword [esp + 0x3c]
mov ebx, eax
fmul dword [esp + 0x9c]
call fcn.00493030
lea ecx, [esi + eax]
add ecx, ebx
mov dword [esp + 0x98], ecx
jmp 0x45de19
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
push 1
push ecx
mov ecx, dword [esp + 0x9c]
push ecx
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0x19], 1
jmp case.0x45d9e9.20
mov edx, dword [0x4aa218]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push 0x498839
push str.Listbox
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45d9e9.20
mov ecx, dword [esp + 0x1a8]
test ecx, ecx
je 0x45debb
lea edx, [esp + 0xe0]
push edx
push ecx
push 0x192
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi + 0x50]
movzx eax, byte [esp + 0x18]
imul ecx, ecx, 0x54
mov edx, dword [0x4ac1d4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
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 + 0x27], 1
call esi
mov ebx, eax
mov eax, dword [0x4ac22c]
push 0x60
push eax
push 8
mov dword [esp + 0x48], ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
lea esi, [ebx + eax]
mov ebx, dword [esp + 0x10]
and ebx, 0x100000
je 0x45df23
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov ecx, dword [esp + 0x98]
cmp ecx, esi
jge 0x45df32
mov ecx, esi
jmp 0x45df84
fldz
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jp 0x45df8b
mov ecx, dword [0x4ac22c]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
fild dword [esp + 0x3c]
mov esi, eax
fmul dword [esp + 0x9c]
call fcn.00493030
lea ecx, [esi + eax]
mov dword [esp + 0x98], ecx
test ebx, ebx
je 0x45df8b
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x98]
add ecx, eax
mov dword [esp + 0x98], ecx
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
push 1
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0x19], 1
jmp case.0x45d9e9.20
mov eax, dword [esp + 0x80]
cmp eax, 4
je 0x45dfd3
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffffc
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x98]
cmp eax, 0x80000000
jne 0x45dfe6
mov eax, 0xc8
mov edx, dword [0x4aa218]
mov ecx, dword [edi + 4]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push ecx
mov ecx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push 0x498839
push str.SysListView32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
mov dword [ebp], esi
test esi, esi
je case.0x45d9e9.20
push 0x3f8
call fcn.00484829
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x45e05b
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45d9e9.20
push 0x3f8
mov dword [edi + 0x48], ebp
mov ecx, dword [ebp + 0x10]
push 0
push ecx
call fcn.0048db40
mov edx, dword [ebp + 0x10]
mov dword [edx], 0xffffffff
mov eax, dword [ebp + 0x10]
mov cl, byte [esp + 0x209]
mov byte [eax + 5], cl
mov eax, dword [esp + 0x64]
add esp, 0xc
test eax, eax
je 0x45e093
or byte [eax + 5], 0x80
cmp dword [esp + 0x80], 4
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x45e0b2
mov edx, dword [ebp]
push 0
push 4
push 0x108e
push edx
call ebx
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x45e0c8
push eax
mov eax, dword [ebp]
push 0
push 0x1036
push eax
call ebx
lea eax, [esp + 0x6c]
mov edi, ebp
call fcn.004665c0
cmp dword [esp + 0x98], 0x80000000
jne 0x45e571
mov esi, dword [esp + 0x688]
mov edx, dword [esi + 0x50]
movzx ecx, byte [esp + 0x18]
imul edx, edx, 0x54
mov eax, dword [0x4ac1d4]
push ecx
mov ecx, dword [edx + eax + 0x50]
mov edx, dword [ebp]
push ecx
push 0x30
push edx
call ebx
mov eax, dword [esp + 0x80]
dec eax
mov byte [esp + 0x17], 1
je 0x45e271
sub eax, 3
je 0x45e243
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x45e159
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4ac1d4]
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 + 0x80], 0
jne 0x45e207
mov edx, dword [ebp]
push 0
push 0
push 0x1033
push edx
call ebx
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
test eax, eax
jns 0x45e197
fadd dword [0x4a09e0]
fld dword [esp + 0x9c]
push 0xc
fsub qword [0x4a09a0]
fnstcw word [esp + 0x1e]
movzx eax, word [esp + 0x1e]
fmulp st(1)
or eax, 0xc00
mov dword [esp + 0x24], eax
fldcw word [esp + 0x24]
fistp qword [esp + 0x68]
mov eax, dword [esp + 0x68]
shr eax, 0x10
mov dword [esp + 0x24], eax
fldcw word [esp + 0x1e]
fild dword [esp + 0x24]
fstp qword [esp + 0x68]
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [esp + 0x9c]
fadd qword [esp + 0x64]
call fcn.00493030
mov ecx, dword [esp + 0x228]
lea eax, [eax + ecx + 0x10]
jmp 0x45e2af
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x228]
mov dword [esp + 0x34], eax
cmp eax, ecx
jg 0x45e222
mov dword [esp + 0x34], ecx
fild dword [esp + 0x34]
fld dword [esp + 0x9c]
fld st(0)
fmulp st(2)
fsub qword [0x4a09a0]
faddp st(1)
call fcn.00493030
add eax, 0xb
jmp 0x45e2af
mov edx, dword [ebp]
push 0
push 0
push 0x1033
push edx
call ebx
shr eax, 0x10
sub eax, 3
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [esp + 0x9c]
call fcn.00493030
add eax, 7
jmp 0x45e2af
fld dword [esp + 0x9c]
mov ecx, dword [ebp]
fnstcw word [esp + 0x1a]
push 0xffffffffffffffff
movzx eax, word [esp + 0x1e]
or eax, 0xc00
mov dword [esp + 0x24], eax
fldcw word [esp + 0x24]
fistp qword [esp + 0x68]
mov eax, dword [esp + 0x68]
dec eax
push eax
push 0x1040
fldcw word [esp + 0x26]
push ecx
call ebx
shr eax, 0x10
add eax, 4
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x8c]
push 1
push eax
push edx
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x9c]
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edi, esi
jmp case.0x45d9e9.20
mov eax, dword [esp + 0x98]
cmp eax, 0x80000000
jne 0x45e2f5
mov eax, 0xc8
mov ecx, dword [0x4aa218]
mov edx, dword [edi + 4]
push 0
push ecx
mov ecx, dword [esp + 0x98]
push esi
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push 0x498839
push str.SysTreeView32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45e571
cmp dword [esp + 0xd8], 0
mov edx, dword [esp + 0x688]
mov dword [edx + 0x4c], ebp
je 0x45e367
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp]
or eax, 0x100
push eax
push 0xfffffffffffffff0
push ecx
call ebx
lea edi, [esp + 0x6c]
mov esi, ebp
call fcn.00466670
mov eax, dword [esp + 0x84]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x45e391
mov edx, dword [ebp]
push eax
push 0
push 0x1109
push edx
call edi
cmp dword [esp + 0x98], 0x80000000
jne 0x45e571
mov esi, dword [esp + 0x688]
mov ecx, dword [esi + 0x50]
movzx eax, byte [esp + 0x18]
imul ecx, ecx, 0x54
mov edx, dword [0x4ac1d4]
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 + 0x27], 1
call edi
mov dword [esp + 0x98], eax
cmp eax, 2
jge 0x45e401
mov eax, dword [esi + 0x50]
mov ecx, dword [0x4ac1d4]
imul eax, eax, 0x54
mov edx, dword [eax + ecx + 0x44]
add edx, edx
mov dword [esp + 0x98], edx
fild dword [esp + 0x98]
fmul dword [esp + 0x9c]
call fcn.00493030
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push 1
add eax, 4
push eax
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x9c]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov edi, esi
jmp case.0x45d9e9.20
mov ecx, dword [esp + 0x10]
test cl, 4
jne 0x45e477
cmp dword [esp + 0xd0], 0
jge 0x45e465
and ecx, 0xffefff7f
jmp 0x45e473
mov edx, dword [esp + 0x70]
not edx
and edx, 0x80
or ecx, edx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x694]
cmp byte [eax], 0
je 0x45e48f
test cl, 4
je 0x45e48f
mov edi, eax
call fcn.004724f0
mov edi, eax
test edi, edi
jne 0x45e49c
mov eax, dword [esp + 0x694]
mov ecx, dword [0x4aa218]
mov edx, dword [esp + 0x688]
mov ebx, dword [esp + 0x10]
push 0
push ecx
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0xa0]
push esi
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0x38]
push ecx
push ebx
push eax
push str.edit
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45e55b
test bl, 0x20
je 0x45e514
mov cl, byte [esp + 0x1f8]
test cl, cl
je 0x45e514
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
movsx ecx, cl
push ecx
push 0xcc
push eax
call esi
jmp 0x45e51a
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0xd0]
test eax, eax
jns 0x45e52e
xor eax, eax
mov dword [esp + 0xd0], eax
mov edx, dword [ebp]
push 0
push eax
push 0xc5
push edx
call esi
mov eax, dword [esp + 0x1a8]
test eax, eax
je 0x45e55b
mov edx, dword [ebp]
lea ecx, [esp + 0xe0]
push ecx
push eax
push 0xcb
push edx
call esi
test edi, edi
je 0x45e571
cmp edi, dword [esp + 0x694]
je 0x45e571
push edi
call fcn.00484688
add esp, 4
mov edi, dword [esp + 0x688]
mov esi, dword [esp + 0x24]
test esi, esi
je 0x45e59b
mov eax, dword [esp + 0x40]
test eax, eax
je 0x45e590
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 0x45f0a5
push 0x498839
push str.Cant_create_control.
mov ecx, 0x4ac280
call fcn.0042d650
jmp 0x45f402
mov ebx, dword [esp + 0x694]
cmp byte [ebx], 0
mov byte [esp + 0x1a], 0
je 0x45e618
push str.LongDate
push ebx
call fcn.00484671
add esp, 8
test eax, eax
jne 0x45e5f1
mov eax, dword [esp + 0x10]
and eax, 0xfffffff6
or eax, 4
mov dword [esp + 0x10], eax
jmp 0x45e618
push str.Time
push ebx
call fcn.00484671
add esp, 8
test eax, eax
jne 0x45e613
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffffb
or ecx, 9
mov dword [esp + 0x10], ecx
jmp 0x45e618
mov byte [esp + 0x1a], 1
mov eax, 2
cmp dword [esp + 0xa0], eax
jne 0x45e62a
or dword [esp + 0x10], eax
mov edx, dword [0x4aa218]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push 0x498839
push str.SysDateTimePick32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45d9e9.20
cmp byte [esp + 0x1a], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x45e695
push ebx
push 0
push 0x1005
push eax
call esi
mov eax, dword [esp + 0x1f0]
test eax, eax
je 0x45e6b4
mov edx, dword [ebp]
lea ecx, [esp + 0x1cc]
push ecx
push eax
push 0x1004
push edx
call esi
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x45e6db
xor edx, edx
cmp eax, 1
mov eax, dword [ebp]
setne dl
lea ecx, [esp + 0x1ac]
push ecx
push edx
push 0x1002
push eax
call esi
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je case.0x45d9e9.20
mov ecx, dword [ebp]
push eax
push 1
push 0x1006
push ecx
call esi
jmp case.0x45d9e9.20
cmp dword [esp + 0x1ec], 0
jne 0x45e72f
mov ecx, dword [esp + 0x694]
cmp byte [ecx], 0
je 0x45e72f
lea eax, [esp + 0x1ac]
call fcn.004712d0
mov dword [esp + 0x1ec], eax
cmp eax, 3
jne 0x45e72f
or dword [esp + 0x10], 2
mov ecx, dword [esp + 0x98]
cmp ecx, 0x80000000
jne 0x45e743
mov ecx, 0x64
mov eax, dword [esp + 0x94]
test eax, eax
jns 0x45e753
mov eax, 0x64
mov edx, dword [0x4aa218]
push 0
push edx
mov edx, dword [edi + 4]
push esi
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push 0x498839
push str.SysMonthCal32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45d9e9.20
mov ebx, dword [esp + 0x10]
and ebx, 2
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x45e7b6
push 0
push 0x16e
push 0x1004
push eax
call esi
mov eax, dword [esp + 0x1f0]
test eax, eax
je 0x45e7d5
mov edx, dword [ebp]
lea ecx, [esp + 0x1cc]
push ecx
push eax
push 0x1012
push edx
call esi
mov eax, dword [esp + 0x1ec]
test eax, eax
je 0x45e84b
test ebx, ebx
je 0x45e836
cmp eax, 1
jne 0x45e821
mov eax, dword [esp + 0x1ac]
mov ecx, dword [esp + 0x1b0]
mov edx, dword [esp + 0x1b4]
mov dword [esp + 0x1bc], eax
mov eax, dword [esp + 0x1b8]
mov dword [esp + 0x1c0], ecx
mov dword [esp + 0x1c4], edx
mov dword [esp + 0x1c8], eax
mov edx, dword [ebp]
lea ecx, [esp + 0x1ac]
push ecx
push 0
push 0x1006
push edx
jmp 0x45e849
mov ecx, dword [ebp]
lea eax, [esp + 0x1ac]
push eax
push 0
push 0x1002
push ecx
call esi
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je 0x45e863
mov edx, dword [ebp]
push eax
push 1
push 0x100a
push edx
call esi
mov ecx, dword [edi + 0x50]
movzx eax, byte [esp + 0x18]
imul ecx, ecx, 0x54
mov edx, dword [0x4ac1d4]
push eax
mov eax, dword [ecx + edx + 0x50]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call esi
mov eax, SysReAllocString
mov byte [esp + 0x17], 1
cmp dword [esp + 0x94], eax
je 0x45e8a2
cmp dword [esp + 0x98], eax
jne case.0x45d9e9.20
mov eax, dword [ebp]
lea edx, [esp + 0x48]
push edx
push 0
push 0x1009
push eax
call esi
test eax, eax
je case.0x45d9e9.20
cmp dword [esp + 0x94], 0
jge 0x45e91c
test byte [esp + 0x10], 0x10
je 0x45e8d3
mov eax, dword [esp + 0x50]
jmp 0x45e8f0
mov ecx, dword [ebp]
push 0
push 0
push 0x1015
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jge 0x45e8f0
mov eax, ecx
mov ecx, dword [esp + 0x94]
cmp ecx, 0x80000000
jne 0x45e908
mov dword [esp + 0x94], eax
jmp 0x45e91c
add eax, 6
imul eax, ecx
mov edx, 0xfffffffa
sub edx, eax
mov dword [esp + 0x94], edx
mov ecx, dword [esp + 0x98]
cmp ecx, 0x80000000
jne 0x45ea14
fldz
mov ecx, dword [esp + 0x54]
fld dword [esp + 0x9c]
mov dword [esp + 0x98], ecx
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45ea12
fld1
fucompp
fnstsw ax
test ah, 0x44
jnp 0x45ea14
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x45e995
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4ac1d4]
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 0x45e9c4
mov edx, dword [esp + 0x98]
lea eax, [edx + esi + 4]
mov dword [esp + 0x98], eax
fild dword [esp + 0x98]
fld dword [esp + 0x9c]
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.00493030
add esi, 0xfffffffe
mov dword [esp + 0x98], eax
fild dword [esp + 0x98]
mov dword [esp + 0x20], esi
fild dword [esp + 0x20]
fxch st(2)
fsub qword [0x4a09a0]
fmulp st(2)
fsubrp st(1)
call fcn.00493030
mov ecx, eax
mov dword [esp + 0x98], ecx
jmp 0x45ea14
fstp st(0)
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
push 1
push ecx
mov ecx, dword [esp + 0x9c]
push ecx
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp case.0x45d9e9.20
mov edx, dword [0x4aa218]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push 0x498839
push str.msctls_hotkey32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45d9e9.20
mov eax, dword [esp + 0x694]
cmp byte [eax], 0
je 0x45eab7
push 0
call fcn.004660c0
mov edx, dword [ebp]
movzx ecx, ax
push ecx
push 0x401
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0xd0]
test eax, eax
jle case.0x45d9e9.20
push 6
push eax
mov eax, dword [ebp]
push 0x403
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x45d9e9.20
test byte [esp + 0x10], 0x10
je 0x45ecb1
cmp dword [edi + 8], 0
jne 0x45eb04
mov eax, dword [esp + 0x58]
test eax, eax
je 0x45ecb1
test byte [eax + 5], 0x80
je 0x45ecb1
and dword [esp + 0x10], 0xffffffef
mov bl, 1
mov ecx, dword [0x4aa218]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x98]
push 0
push ecx
mov ecx, dword [esp + 0x9c]
push esi
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push 0x498839
push str.msctls_updown32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45d9e9.20
mov esi, dword [esp + 0x60]
test bl, bl
je 0x45eb77
mov ecx, dword [esi]
push 0
push ecx
push 0x469
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [edi + 0x10], 0
je 0x45ed01
test byte [esp + 0x10], 0x10
jne 0x45eb90
test bl, bl
je 0x45ed01
mov eax, dword [ebp]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x48]
push edx
push eax
call ebx
mov edx, dword [edi + 4]
push 2
lea ecx, [esp + 0x4c]
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
sub edx, eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x90], ecx
sub eax, ecx
lea ecx, [esp + 0x208]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], 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 0x45ec8f
test bl, 4
je 0x45ec52
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x8c]
add dword [esp + 0x50], eax
push 1
push edx
add ecx, eax
push eax
mov eax, dword [esp + 0x9c]
push eax
push ecx
mov dword [esp + 0xa0], 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 + 0x94]
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 0x45ecb8
mov eax, dword [esp + 0x208]
mov ecx, dword [esp + 0x50]
sub ecx, eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], ecx
jmp 0x45ecca
xor bl, bl
jmp 0x45eb0b
mov edx, dword [esp + 0x210]
sub edx, dword [esp + 0x48]
mov dword [esp + 0x94], edx
cmp byte [esp + 0x1f9], 0
jne 0x45ed1e
cmp byte [esi + 4], 9
jne 0x45ed0b
mov byte [esp + 0x1f9], 1
test bl, 0x40
je 0x45ecf4
mov dword [esp + 0xa8], 0x7fff
jmp 0x45ed1e
mov dword [esp + 0xa4], 0x7fff
jmp 0x45ed1e
cmp byte [esp + 0x1f9], 0
jne 0x45ed1e
mov byte [esp + 0x1f9], 1
mov dword [esp + 0xa8], 0x64
lea ecx, [esp + 0x6c]
mov eax, ebp
call fcn.00466400
mov esi, dword [esp + 0x694]
call fcn.0040ce40
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.0x45d9e9.20
mov eax, dword [0x4aa218]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x98]
push 0
push eax
mov eax, dword [esp + 0x9c]
push esi
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push 0x498839
push str.msctls_trackbar32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45d9e9.20
lea eax, [esp + 0x6c]
mov esi, ebp
call fcn.004664e0
mov esi, dword [esp + 0x694]
cmp byte [esi], 0
je case.0x45d9e9.20
call fcn.0040ce40
test byte [ebp + 5], 0x80
je 0x45eddd
push eax
mov edi, ebp
call fcn.004664a0
mov edx, dword [ebp]
push eax
push 1
push 0x405
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x45e571
mov eax, dword [0x4aa218]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x98]
push 0
push eax
mov eax, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push esi
push 0x498839
push str.msctls_progress32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45d9e9.20
push esi
push edi
lea eax, [esp + 0x74]
mov ecx, ebp
call fcn.004666c0
mov esi, dword [esp + 0x694]
cmp byte [esi], 0
je 0x45ee76
push 0
call fcn.0040ce40
mov ecx, dword [ebp]
push eax
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [esp + 0x32], 0
jmp case.0x45d9e9.20
mov edx, dword [0x4aa218]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push 0x498839
push str.SysTabControl32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45d9e9.20
mov al, byte [edi + 0xb8]
mov byte [edi + 0xb9], al
inc al
push 0x465c30
mov byte [edi + 0xba], 0
mov byte [edi + 0xb8], al
mov ecx, dword [ebp]
push 0xfffffffffffffffc
push ecx
call ebx
mov dword [0x4aa23c], eax
jmp case.0x45d9e9.20
cmp byte [0x4ad2da], 0
jne 0x45ef4a
push 0x49f8c4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x45ef4a
push str.AtlAxWinInit
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45ef3a
call eax
test eax, eax
setne byte [0x4ad2da]
cmp byte [0x4ad2da], 0
jne 0x45ef4a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [0x4aa218]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
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 str.AtlAxWin
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45d9e9.20
push eax
call fcn.00455ab0
add esp, 4
test eax, eax
jne 0x45efc3
mov edx, dword [ebp]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45d9e9.20
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x45efd6
mov edi, eax
call fcn.00474880
jmp 0x45e571
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp case.0x45d9e9.20
mov ax, word [esp + 0x1fe]
test ax, ax
jne 0x45f009
push 0x498839
push str.A_window_class_is_required.
mov ecx, 0x4ac280
call fcn.0042d650
jmp 0x45f402
mov ecx, dword [0x4aa218]
mov edx, dword [edi + 4]
push 0
push ecx
mov ecx, dword [esp + 0xa0]
push esi
push edx
mov edx, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
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.0x45d9e9.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.0x45d9e9.20
mov ecx, dword [esp + 0xcc]
mov dword [edi + 8], eax
cmp ecx, 0xffffffff
je case.0x45d9e9.20
push ecx
push 0
push 0x2001
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x45d9e9.20
mov al, byte [esp + 0x31]
inc dword [edi + 0x10]
mov byte [edi + 0xbf], al
mov eax, dword [esp + 0x88]
test eax, eax
je 0x45f0c6
mov ecx, dword [ebp]
push eax
call fcn.00473ce0
cmp byte [ebp + 4], 6
jne 0x45f0ea
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x45f0e4
push eax
mov eax, dword [edi + 0x10]
dec eax
push ebp
mov ecx, edi
call fcn.00466350
mov byte [edi + 0x44], 1
jmp 0x45f0ee
mov byte [edi + 0x44], 0
test dword [esp + 0x70], 0x10000000
je 0x45f0fc
or byte [ebp + 5], 8
test dword [esp + 0x6c], 0x8000000
je 0x45f10a
or byte [ebp + 5], 0x10
cmp byte [esp + 0x32], 0
jne 0x45f135
cmp dword [ebp + 0x10], 0xff000000
je 0x45f129
mov al, byte [ebp + 4]
cmp al, 5
je 0x45f135
cmp al, 6
je 0x45f135
cmp al, 3
je 0x45f135
cmp byte [ebp + 4], 3
jne 0x45f141
test byte [ebp + 5], 0x40
je 0x45f141
mov ecx, dword [ebp]
push ecx
call fcn.00473a20
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x45f172
cmp byte [esp + 0x2b], 0
je 0x45f172
mov eax, dword [edi + 0x50]
movzx edx, byte [esp + 0x18]
imul eax, eax, 0x54
mov ecx, dword [0x4ac1d4]
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 + 0x1f4], 4
jne 0x45f18c
mov ecx, dword [ebp]
push 0
push 0
push 0xb
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x694]
cmp byte [eax], 0
je 0x45f1a8
mov edx, dword [esp + 0xa0]
push edx
push edi
mov esi, ebp
call fcn.00462520
cmp byte [ebp + 4], 0x13
jne 0x45f25e
fldz
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jp 0x45f25e
mov ecx, dword [ebp]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov al, byte [esp + 0x10]
test al, 2
je 0x45f3de
test al, al
js 0x45f3de
mov edx, dword [esp + 0x10]
mov eax, dword [ebp]
and edx, 0xfffffffd
push edx
push 0xfffffffffffffff0
push eax
mov bl, 1
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [ebp]
lea ecx, [esp + 0x48]
push ecx
push 1
push 0x1328
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test bl, bl
je 0x45f22a
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp]
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x8c]
push 1
push eax
push edx
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x9c]
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [esp + 0x19], 0
je 0x45f2cd
mov ecx, dword [ebp]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
sub eax, dword [esp + 0x4c]
sub ecx, dword [esp + 0x48]
cmp byte [esp + 0x68c], 9
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ecx
jne 0x45f2cd
test dword [esp + 0x10], 0x100000
je 0x45f2cd
mov eax, dword [esp + 0xd4]
test eax, eax
jns 0x45f2bb
lea eax, [ecx + ecx*2]
mov dword [esp + 0xd4], eax
mov edx, dword [ebp]
push 0
push eax
push 0x194
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [esp + 0x58]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
test ebx, ebx
je 0x45f32e
cmp byte [esp + 0x33], 0
je 0x45f315
mov ecx, dword [ebp]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [edi + 4]
push 2
lea edx, [esp + 0x4c]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [edi + 4]
push 0
lea ecx, [esp + 0x4c]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
test byte [ebx + 5], 0x80
je 0x45f32e
mov eax, dword [ebp]
mov ecx, dword [ebx]
push 0x13
push 0
push 0
push 0
push 0
push eax
push ecx
call esi
mov eax, dword [edi + 8]
test eax, eax
je 0x45f344
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
cmp byte [esp + 0x68c], 0x18
je 0x45f3fd
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x98]
mov esi, dword [esp + 0x90]
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 0x45f398
mov dword [edi + 0x90], eax
cmp ecx, dword [edi + 0x94]
jle 0x45f3a6
mov dword [edi + 0x94], ecx
cmp byte [esp + 0x1fb], 0
jne 0x45f3e5
mov ebx, dword [edi + 0x10]
cmp ebx, 1
je 0x45f3e5
cmp ebx, 2
jne 0x45f3c6
mov ebx, dword [edi + 0x18]
cmp byte [ebx + 4], 0x18
je 0x45f3e5
cmp eax, dword [edi + 0xa0]
jle 0x45f3d4
mov dword [edi + 0xa0], eax
cmp ecx, dword [edi + 0xa4]
jle 0x45f3fd
jmp 0x45f3f7
xor bl, bl
jmp 0x45f1ff
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