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

Disassembly:
sub esp, 0x64c
push ebx
mov ebx, dword [esp + 0x654]
mov ecx, dword [ebx + 0x10]
push ebp
push esi
push edi
cmp ecx, 0x2af8
jb 0x458c3d
push 0x4927e9
push str.Too_many_controls.
mov ecx, 0x4a4ca0
call fcn.0042cfa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64c
ret 0x10
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jb 0x458c6a
mov ecx, dword [ebx + 0x18]
lea eax, [eax + eax*4 + 0x1388]
add eax, eax
add eax, eax
push eax
push ecx
call fcn.0047ffb7
add esp, 8
test eax, eax
je 0x458c1c
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 + 0x664]
cmp al, 0x14
jne 0x458ca0
or byte [ebp + 5], 0x80
mov byte [esp + 0x664], 0x13
jmp 0x458ca4
cmp al, 0x13
jne 0x458ce1
mov al, 0xff
cmp byte [ebx + 0xb8], al
jne 0x458ccf
push 0x4927e9
push str.Too_many_tab_controls.
mov ecx, 0x4a4ca0
call fcn.0042cfa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64c
ret 0x10
mov byte [ebp + 6], al
mov cl, byte [ebx + 0xb8]
mov al, byte [esp + 0x664]
jmp 0x458d21
cmp al, 0x17
jne 0x458d12
cmp dword [ebx + 8], 0
je 0x458d0c
push 0x4927e9
push str.Too_many_status_bars.
mov ecx, 0x4a4ca0
call fcn.0042cfa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64c
ret 0x10
mov byte [ebp + 6], 0xff
jmp 0x458d24
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 edi, SysReAllocString
jne 0x458d7f
mov esi, dword [0x4a4bec]
cmp dword [ebx + 0x78], edi
jne 0x458d52
mov edx, dword [ebx + 0x50]
imul edx, edx, 0x54
fild dword [edx + esi + 0x44]
fmul qword [0x49a2d0]
call fcn.0048d110
mov dword [ebx + 0x78], eax
cmp dword [ebx + 0x7c], edi
jne 0x458d6f
mov eax, dword [ebx + 0x50]
imul eax, eax, 0x54
fild dword [eax + esi + 0x44]
fmul qword [0x49a300]
call fcn.0048d110
mov dword [ebx + 0x7c], eax
mov ecx, dword [ebx + 0x78]
mov al, byte [esp + 0x664]
mov dword [ebx + 0x80], ecx
mov edi, ebp
lea esi, [esp + 0x70]
mov byte [ebp + 4], al
call fcn.0045e480
mov al, byte [esp + 0x664]
or dword [esp + 0x70], 0x10000000
mov dl, byte [ebx + 0x45]
mov byte [esp + 0x200], dl
cmp al, 6
jne 0x458dc2
or dword [esp + 0x70], 0x4000
cmp byte [ebx + 0x44], 0
jne 0x458de0
or dword [esp + 0x70], 0x20000
jmp 0x458de0
cmp byte [ebx + 0x44], 0
je 0x458dd0
or dword [esp + 0x70], 0x20000
cmp al, 2
je 0x458dfd
cmp al, 0x10
je 0x458dfd
cmp al, 0x11
je 0x458dfd
cmp al, 0x12
je 0x458dfd
cmp byte [ebp + 4], 0xa
mov byte [esp + 0x33], 1
je 0x458df1
mov ecx, dword [ebx + 0x54]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebx + 0x54]
mov dword [esp + 0xcc], edx
jmp 0x458e0d
mov byte [esp + 0x33], 0
cmp al, 0x12
jne 0x458e0d
mov dword [ebp + 0x10], 0xff000000
movzx eax, al
mov dword [esp + 0x40], eax
add eax, 0xfffffffc
mov ecx, 0x10000
cmp eax, 0x13
ja case.0x458e25.6
jmp dword [eax*4 + 0x45b6b8]
or dword [esp + 0x70], 0x210000
jmp case.0x458e25.6
or dword [esp + 0x70], 0x210042
jmp case.0x458e25.6
or dword [esp + 0x70], 0x210080
or dword [esp + 0x78], 0x200
jmp case.0x458e25.6
or dword [esp + 0x80], 0x30
or dword [esp + 0x70], 0x10008
or dword [esp + 0x78], 0x200
mov dword [esp + 0x84], 1
jmp case.0x458e25.6
or dword [esp + 0x70], 0x10027
or dword [esp + 0x78], 0x200
jmp case.0x458e25.6
or dword [esp + 0x70], ecx
or dword [esp + 0x78], 0x200
jmp case.0x458e25.6
or dword [esp + 0x70], ecx
jmp case.0x458e25.6
or dword [esp + 0x70], 0x36
jmp case.0x458e25.6
or dword [esp + 0x70], 0x1000c
jmp case.0x458e25.6
or dword [esp + 0x70], 1
jmp case.0x458e25.6
or dword [esp + 0x70], 0x10200
mov byte [esp + 0x200], 0
jmp case.0x458e25.6
or dword [esp + 0x70], 0x4000000
jmp case.0x458e25.6
test dword [ebx + 0x3c], 0x40000
je 0x458eeb
or dword [esp + 0x70], 0x100
or dword [esp + 0x70], 0x800
mov ecx, dword [esp + 0x668]
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x78]
push eax
push ebx
call fcn.0045c1a0
test eax, eax
jne 0x458f19
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64c
ret 0x10
mov cl, byte [esp + 0x664]
mov eax, dword [esp + 0xcc]
cmp cl, 0xa
je 0x458f2f
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
mov eax, dword [esp + 0xd0]
setne dl
mov byte [esp + 0x1fe], dl
cmp eax, 0xff000000
jne 0x458f59
mov dword [esp + 0xd0], 0xffffffff
jmp 0x458f7a
cmp eax, 0xffffffff
jne 0x458f7a
mov ebx, dword [ebx + 0x5c]
cmp ebx, 0xff000000
je 0x458f7a
cmp cl, 0x12
je 0x458f7a
cmp cl, 0x17
je 0x458f7a
mov dword [esp + 0xd0], ebx
mov esi, dword [esp + 0x74]
mov eax, SysReAllocString
cmp dword [esp + 0x98], eax
jne 0x458fc2
cmp dword [esp + 0x9c], eax
jne 0x458fc2
fld dword [0x49a2f8]
fcomp dword [esp + 0xa0]
fnstsw ax
test ah, 5
jnp 0x458fc2
mov eax, dword [esp + 0x66c]
mov edi, 0x499678
call fcn.00408ea0
test eax, eax
jne 0x458fc2
xor ecx, ecx
jmp 0x458fcc
mov ecx, esi
not ecx
and ecx, 0x2000
mov eax, dword [esp + 0x7c]
not eax
and eax, dword [esp + 0x78]
mov ebx, esi
not ebx
and ebx, dword [esp + 0x70]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x40]
or ebx, 0x40000000
add eax, 0xfffffffd
mov dword [esp + 0x10], ebx
cmp eax, 0x10
ja case.0x459003.10
movzx eax, byte [eax + 0x45b730]
jmp dword [eax*4 + 0x45b708]
and ebx, 0xfffffff7
or ebx, 7
jmp 0x459128
test bl, 1
je 0x45902b
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x10], ebx
or ebx, ecx
jmp 0x459128
and ebx, 0xfffffff0
or ebx, ecx
jmp 0x459128
mov edx, ebx
and edx, 6
cmp dl, 6
jne 0x459052
and ebx, 0xfffffff6
or ebx, 6
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x459003.10
and ebx, 0xfffffff3
or ebx, 3
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x459003.10
and ebx, 0xfffffff9
or ebx, 9
mov eax, ebx
test eax, 0x20000
je 0x459081
test esi, 0x10000
jne 0x459081
or eax, 0x10000
or eax, ecx
mov dword [esp + 0x10], eax
jmp case.0x459003.10
or ebx, 3
jmp 0x459128
test bl, 1
je 0x4590a4
and ebx, 0xfffffff1
or ebx, 1
jmp 0x459128
and ebx, 0xfffffff2
or ebx, 2
jmp 0x459128
fld dword [0x49a2f8]
fcomp dword [esp + 0xa0]
fnstsw ax
test ah, 5
jnp 0x4590da
mov eax, dword [esp + 0x66c]
push 0xa
push eax
call fcn.0047fa01
mov esi, dword [esp + 0x7c]
add esp, 8
test eax, eax
je 0x4590e7
mov ecx, esi
not ecx
and ecx, 4
or ebx, ecx
mov dword [esp + 0x10], ebx
test bl, 4
je case.0x459003.10
not esi
and esi, 0x201040
or ebx, esi
jmp 0x459128
mov edx, dword [esp + 0x660]
or ebx, 0x4000000
cmp dword [edx + 0x60], 0
je 0x459111
test byte [ebp + 5], 0x20
je 0x45911a
cmp dword [ebp + 0x10], 0xff000000
je 0x459122
or ebx, 0x2000
jmp 0x459128
and ebx, 0xffffdfff
mov dword [esp + 0x10], ebx
cmp byte [esp + 0x664], 4
jne 0x459283
cmp dword [ebp + 0xc], 0
jne 0x459283
test byte [ebp + 5], 1
jne 0x459283
mov eax, dword [esp + 0x660]
mov eax, dword [eax]
cmp byte [eax], 0x31
jne 0x45916c
cmp byte [eax + 1], 0
jne 0x45916c
mov byte [esp + 0x258], 0
jmp 0x45917f
lea edx, [esp + 0x258]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x459175
mov ecx, dword [esp + 0x66c]
push ecx
push str.Button_s
mov eax, 0x400
lea ecx, [esp + 0x260]
call fcn.0046c3a0
push 0
push 0xffffffffffffffff
push 1
push 0x4927e9
lea edx, [esp + 0x270]
push 0x499688
push edx
xor eax, eax
or ecx, 0xffffffff
call fcn.0046cad0
push 0
push 0xffffffffffffffff
push 1
push 0x4927e9
lea eax, [esp + 0x288]
push 0x497b28
push eax
xor eax, eax
or ecx, 0xffffffff
call fcn.0046cad0
push 0
push 0xffffffffffffffff
push 1
push 0x4927e9
lea ecx, [esp + 0x2a0]
push 0x492814
push ecx
xor eax, eax
or ecx, 0xffffffff
call fcn.0046cad0
add esp, 0x50
push 0
push 0xffffffffffffffff
push 1
push 0x4927e9
lea edx, [esp + 0x268]
push 0x4965ec
push edx
xor eax, eax
or ecx, 0xffffffff
call fcn.0046cad0
push 0
push 0xffffffffffffffff
push 1
push 0x4927e9
lea eax, [esp + 0x280]
push 0x497fbc
push eax
xor eax, eax
or ecx, 0xffffffff
call fcn.0046cad0
push 0
push 0xffffffffffffffff
push 1
push 0x4927e9
lea ecx, [esp + 0x298]
push 0x49968c
push ecx
xor eax, eax
or ecx, 0xffffffff
call fcn.0046cad0
add esp, 0x48
lea edi, [esp + 0x258]
mov eax, 0x4a4ca0
call fcn.00419220
mov dword [ebp + 0xc], eax
mov edi, dword [esp + 0x660]
mov bl, byte [ebp + 6]
mov ecx, edi
call fcn.004626b0
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x58], eax
test ecx, ecx
je 0x4592af
lea edx, [ecx + ecx*4]
mov ecx, dword [edi + 0x18]
lea edx, [ecx + edx*4 - 0x14]
mov dword [esp + 0x2c], edx
jmp 0x4592ba
lea ecx, [esp + 0x20c]
mov dword [esp + 0x2c], ecx
mov ecx, SysReAllocString
cmp dword [esp + 0x90], ecx
jne 0x459380
cmp dword [esp + 0x94], ecx
jne 0x459380
test eax, eax
je 0x459312
mov al, byte [ebp + 7]
mov ecx, edi
call fcn.00462810
test eax, eax
jne 0x459312
mov esi, dword [esp + 0x58]
mov ebx, edi
push ebx
lea edi, [esp + 0x64]
call fcn.00462840
mov edx, dword [ebx + 0x78]
add edx, dword [esp + 0x60]
mov eax, dword [ebx + 0x7c]
add eax, dword [esp + 0x64]
mov dword [esp + 0x90], edx
jmp 0x459330
mov eax, dword [edi + 0x80]
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0x8c]
add eax, dword [edi + 0x84]
mov ebx, edi
add eax, dword [edi + 0x7c]
mov cl, byte [esp + 0x664]
mov dword [esp + 0x94], eax
cmp cl, 1
je 0x459348
cmp cl, 0x16
jne 0x459379
cmp dword [ebx + 0x10], 0
je 0x459379
mov edx, dword [esp + 0x2c]
mov cl, byte [edx + 4]
cmp cl, 1
je 0x45935f
cmp cl, 0x16
jne 0x459379
mov cl, byte [edx + 6]
cmp cl, byte [ebp + 6]
jne 0x459379
mov dl, byte [edx + 7]
cmp dl, byte [ebp + 7]
jne 0x459379
add eax, 8
mov dword [esp + 0x94], eax
mov edi, dword [esp + 0x660]
mov cl, byte [esp + 0x664]
cmp cl, 0xe
je 0x45939a
cmp cl, 0xa
je 0x45939a
cmp cl, 0xb
je 0x45939a
xor dl, dl
jmp 0x45939c
mov dl, 1
fld1
test dl, dl
sete bl
cmp dword [esp + 0x9c], 0x80000000
mov byte [esp + 0x1e], bl
jne 0x4594f5
fcom dword [esp + 0xa0]
fnstsw ax
test ah, 0x41
jne 0x4594f5
mov eax, dword [esp + 0x40]
add eax, 0xfffffffd
cmp eax, 0x10
ja case.0x4593da.4
jmp dword [eax*4 + 0x45b744]
mov eax, dword [esp + 0x10]
fstp st(0)
fld dword [0x49a2f4]
fstp dword [esp + 0xa0]
test al, 1
je 0x459400
test al, 2
je 0x459516
cmp byte [0x4a547b], 0
je 0x459516
test eax, 0x400
jne 0x459516
xor bl, bl
mov byte [esp + 0x1e], bl
jmp 0x459516
fstp st(0)
fld dword [0x49a2f0]
fstp dword [esp + 0xa0]
jmp 0x459516
fstp st(0)
fld dword [0x49a2ec]
fstp dword [esp + 0xa0]
jmp 0x459516
mov eax, dword [esp + 0x66c]
cmp byte [eax], 0
jne case.0x4593da.4
test byte [esp + 0x10], 4
je case.0x4593da.13
fstp st(0)
fld dword [0x49a2f4]
fstp dword [esp + 0xa0]
jmp 0x459516
test byte [esp + 0x10], 0x40
fstp st(0)
je 0x459425
mov ecx, dword [edi + 0x50]
mov eax, dword [0x4a4bec]
imul ecx, ecx, 0x54
mov eax, dword [ecx + eax + 0x44]
add eax, eax
mov dword [esp + 0x9c], eax
jmp 0x459516
mov eax, dword [esp + 0x10]
fstp st(0)
test al, 2
je 0x4594b6
fld dword [0x49a2f0]
fstp dword [esp + 0xa0]
jmp 0x459516
push eax
mov eax, dword [esp + 0xc0]
call fcn.00461f20
mov dword [esp + 0x9c], eax
jmp 0x459516
test byte [esp + 0x10], 4
fstp st(0)
je 0x459483
fld dword [0x49a2f0]
fstp dword [esp + 0xa0]
jmp 0x459516
fstp st(0)
fld dword [0x49a2e8]
fstp dword [esp + 0xa0]
jmp 0x459516
fstp st(0)
cmp cl, 7
je 0x459501
cmp cl, 8
jne 0x459516
cmp byte [0x4a547b], 0
je 0x459516
or dword [esp + 0x10], 0x400
jmp 0x459516
fstp st(0)
fldz
xor esi, esi
fld dword [esp + 0xa0]
mov dword [esp + 0x28], esi
fcom st(1)
mov dword [esp + 0x3c], esi
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x459682
mov al, byte [esp + 0x664]
cmp al, 3
je 0x45954b
cmp al, 6
jbe 0x45955a
cmp al, 8
ja 0x45955a
fadd qword [0x49a270]
fstp dword [esp + 0xa0]
jmp 0x45955c
fstp st(0)
test bl, bl
je 0x459671
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [edi + 0x50]
imul edx, edx, 0x54
mov esi, eax
mov eax, dword [0x4a4bec]
mov ecx, dword [edx + eax + 0x50]
push ecx
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea edx, [esp + 0x220]
push edx
push esi
mov dword [esp + 0x44], eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
fld dword [esp + 0xa0]
fld st(0)
fld qword [0x49a290]
fadd st(1), st(0)
fxch st(1)
call fcn.0048d110
fild dword [esp + 0x220]
mov esi, eax
lea eax, [esi - 1]
imul eax, dword [esp + 0x230]
fmulp st(2)
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
faddp st(2)
faddp st(1)
call fcn.0048d110
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffffd
mov dword [esp + 0x9c], eax
cmp ecx, 0x10
ja case.0x4595f7.5
movzx ecx, byte [ecx + 0x45b79c]
jmp dword [ecx*4 + 0x45b788]
add eax, 8
test dword [esp + 0x10], 0x100000
mov dword [esp + 0x9c], eax
je case.0x4595f7.5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x9c], eax
mov esi, dword [esp + 0x28]
jmp 0x459684
mov edx, dword [edi + 0x50]
mov ecx, dword [0x4a4bec]
imul edx, edx, 0x54
mov edx, dword [edx + ecx + 0x44]
mov esi, dword [esp + 0x28]
lea eax, [eax + edx + 2]
mov dword [esp + 0x9c], eax
jmp 0x459684
mov ecx, dword [edi + 0x7c]
imul ecx, esi
mov esi, dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0x9c], eax
jmp 0x459684
inc esi
imul esi, dword [edi + 0x7c]
add eax, esi
mov dword [esp + 0x9c], eax
mov esi, dword [esp + 0x28]
jmp 0x459684
test dl, dl
jne 0x459684
mov dword [esp + 0x9c], 0x1e
jmp 0x459684
fstp st(0)
mov eax, SysReAllocString
mov byte [esp + 0x3b], 0
cmp dword [esp + 0x9c], eax
je 0x4596a4
cmp dword [esp + 0x98], eax
jne case.0x459ac4.4
mov eax, dword [esp + 0x40]
xor ebx, ebx
dec eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x34], 0x400
cmp eax, 0x15
ja case.0x4596c7.2
movzx edx, byte [eax + 0x45b7bc]
jmp dword [edx*4 + 0x45b7b0]
mov eax, dword [esp + 0x66c]
cmp byte [eax], bl
je case.0x4596c7.2
test esi, esi
jne 0x45970c
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [edi + 0x50]
imul edx, edx, 0x54
mov esi, eax
mov eax, dword [0x4a4bec]
mov ecx, dword [edx + eax + 0x50]
push ecx
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x220]
push edx
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov ebx, dword [esp + 0x234]
add ebx, 4
test dword [esp + 0x10], 0x200000
mov dword [esp + 0x5c], ebx
je 0x459741
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add ebx, eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x34], 0x2c40
test esi, esi
jne 0x459779
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4a4bec]
imul ecx, ecx, 0x54
mov esi, eax
mov eax, dword [ecx + edx + 0x50]
push eax
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0x664]
cmp al, 1
jne 0x45979a
or dword [esp + 0x34], 0x40
test byte [esp + 0x10], 0x80
je 0x4597cf
or dword [esp + 0x34], 0x800
jmp 0x4597cf
cmp al, 5
je 0x4597a2
cmp al, 6
jne 0x4597cf
lea ecx, [esp + 0x220]
push ecx
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, dword [esp + 0x234]
lea ebx, [ebx + eax + 2]
mov al, byte [esp + 0x664]
mov dword [esp + 0x5c], ebx
mov ecx, dword [esp + 0x98]
cmp ecx, 0x80000000
je 0x4597e3
or dword [esp + 0x34], 0x10
xor edx, edx
mov dword [esp + 0x20c], edx
mov dword [esp + 0x210], edx
cmp ecx, 0x80000000
jne 0x459804
mov dword [esp + 0x214], edx
jmp 0x45980d
sub ecx, ebx
mov dword [esp + 0x214], ecx
mov ecx, dword [esp + 0x9c]
mov edx, ecx
sub edx, 0x80000000
neg edx
sbb edx, edx
and edx, ecx
mov dword [esp + 0x218], edx
cmp al, 0x16
jne 0x45998e
test byte [esp + 0x10], 4
je 0x459840
or dword [esp + 0x34], 0x800
mov eax, dword [esp + 0x66c]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x459850
sub eax, edx
inc eax
push eax
call fcn.0047fb59
mov ecx, eax
mov eax, dword [esp + 0x670]
add esp, 4
cmp byte [eax], 0
mov dword [esp + 0x18], ecx
mov ebx, eax
mov dword [esp + 0x54], ecx
je 0x45994d
nop
cmp byte [ebx], 0x3c
jne 0x459936
mov al, byte [ebx + 1]
call fcn.00408e70
cmp al, 0x41
jne 0x459936
lea esi, [ebx + 2]
lea esp, [esp]
mov al, byte [esi]
cmp al, 0x20
je 0x4598aa
cmp al, 9
jne 0x4598ad
inc esi
jmp 0x4598a0
cmp byte [esi], 0x3e
je 0x459903
movzx eax, byte [esi]
test eax, 0xffffff80
jne 0x4598d1
push 0x107
push eax
call fcn.0047ff4e
add esp, 8
test eax, eax
je 0x4598d1
inc esi
jmp 0x4598b2
cmp byte [esi], 0x3d
jne 0x459936
cmp byte [esi + 1], 0x22
jne 0x459936
push 0x22
add esi, 2
push esi
call fcn.0047fa01
add esp, 8
test eax, eax
je 0x459936
lea esi, [eax + 1]
mov al, byte [esi]
cmp al, 0x20
je 0x4598fb
cmp al, 9
jne 0x4598fe
inc esi
jmp 0x4598f1
cmp byte [esi], 0x3e
jne 0x4598b2
inc esi
je 0x459936
push str.__a_
mov eax, esi
call fcn.0046c6e0
add esp, 4
test eax, eax
je 0x459936
mov ecx, esi
cmp esi, eax
jae 0x459931
mov esi, dword [esp + 0x54]
mov dl, byte [ecx]
mov byte [esi], dl
inc ecx
inc esi
cmp ecx, eax
jb 0x459923
mov dword [esp + 0x54], esi
lea ebx, [eax + 3]
jmp 0x459943
mov eax, dword [esp + 0x54]
mov cl, byte [ebx]
mov byte [eax], cl
inc eax
mov dword [esp + 0x54], eax
inc ebx
cmp byte [ebx], 0
jne 0x459880
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x18]
mov byte [edx], 0
cmp byte [eax], 0
jne 0x459962
mov eax, 0x499698
mov ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x210]
push edx
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_DrawTextA]
mov ecx, dword [esp + 0x18]
push ecx
mov esi, eax
call fcn.0047fe8b
add esp, 4
jmp 0x4599b8
mov eax, dword [esp + 0x66c]
cmp byte [eax], 0
jne 0x45999f
mov eax, 0x499698
mov edx, dword [esp + 0x34]
push edx
lea ecx, [esp + 0x210]
push ecx
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
mov esi, eax
mov ebx, dword [esp + 0x214]
mov eax, dword [esp + 0x9c]
sub ebx, dword [esp + 0x20c]
cmp eax, 0x80000000
je 0x4599e2
cmp esi, eax
jle 0x459a37
cmp byte [esp + 0x664], 0xc
je 0x459a37
mov al, byte [esp + 0x664]
mov dword [esp + 0x9c], esi
cmp al, 0xc
jne 0x459a19
add esi, 8
test dword [esp + 0x10], 0x100000
mov dword [esp + 0x9c], esi
je 0x459a37
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x9c], eax
jmp 0x459a37
cmp al, 4
jne 0x459a37
mov edx, dword [edi + 0x50]
mov eax, dword [0x4a4bec]
imul edx, edx, 0x54
mov ecx, dword [edx + eax + 0x44]
lea edx, [ecx + esi + 2]
mov dword [esp + 0x9c], edx
mov eax, dword [esp + 0x98]
cmp eax, 0x80000000
je 0x459a49
cmp ebx, eax
jle case.0x4596c7.2
add ebx, dword [esp + 0x5c]
cmp byte [esp + 0x664], 4
mov byte [esp + 0x3b], 1
mov dword [esp + 0x98], ebx
jne case.0x4596c7.2
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4a4bec]
imul ecx, ecx, 0x54
mov ecx, dword [ecx + edx + 0x44]
lea edx, [ecx + eax*2]
add dword [esp + 0x98], edx
cmp dword [esp + 0x98], 0x80000000
jne case.0x459ac4.4
mov eax, dword [edi + 0x50]
mov ecx, dword [0x4a4bec]
imul eax, eax, 0x54
mov ecx, dword [eax + ecx + 0x44]
mov edx, dword [esp + 0x40]
mov eax, ecx
shl eax, 4
add edx, 0xfffffffd
sub eax, ecx
cmp edx, 0x10
ja case.0x459ac4.4
movzx edx, byte [edx + 0x45b7f4]
jmp dword [edx*4 + 0x45b7d4]
mov dword [esp + 0x98], eax
jmp case.0x459ac4.4
add eax, eax
mov dword [esp + 0x98], eax
jmp case.0x459ac4.4
test byte [esp + 0x10], 0x40
je 0x459aef
mov dword [esp + 0x98], eax
jmp case.0x459ac4.4
add ecx, ecx
mov dword [esp + 0x98], ecx
jmp case.0x459ac4.4
mov ecx, dword [esp + 0x10]
test cl, 2
je case.0x459ac4.7
mov eax, dword [esp + 0xbc]
push ecx
call fcn.00461f20
mov dword [esp + 0x98], eax
jmp case.0x459ac4.4
test byte [esp + 0x10], 4
je case.0x459ac4.7
lea edx, [ecx + ecx]
jmp 0x459b36
mov ecx, dword [edi + 0x78]
lea edx, [eax + ecx*2]
jmp 0x459b36
mov ecx, dword [edi + 0x78]
lea ecx, [ecx + ecx*2]
lea edx, [ecx + eax*2]
mov dword [esp + 0x98], edx
cmp byte [esp + 0x664], 0xc
jne 0x459c48
test byte [esp + 0x10], 4
jne 0x459c48
fld1
fcomp dword [esp + 0xa0]
fnstsw ax
test ah, 0x41
jne 0x459c48
cmp dword [esp + 0x28], 0
jne 0x459b9b
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4a4bec]
imul ecx, ecx, 0x54
mov ecx, dword [ecx + edx + 0x50]
push ecx
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x220]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov esi, dword [esp + 0x9c]
sub esi, dword [esp + 0x220]
mov ebx, dword [esp + 0x10]
sub esi, 8
mov dword [esp + 0x18], esi
test ebx, 0x100000
je 0x459bdd
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub esi, eax
mov dword [esp + 0x18], esi
test esi, esi
jle 0x459c3f
mov ecx, dword [esp + 0x230]
fild dword [esp + 0x18]
add ecx, dword [esp + 0x220]
mov dword [esp + 0x18], ecx
fidiv dword [esp + 0x18]
fadd qword [0x49a270]
fstp dword [esp + 0xa0]
fld dword [0x49a2f8]
fcomp dword [esp + 0xa0]
fnstsw ax
test ah, 5
jp 0x459c48
mov eax, dword [esp + 0x74]
not eax
mov ecx, eax
and ecx, 4
or ebx, ecx
mov dword [esp + 0x10], ebx
test bl, 4
je 0x459c48
and eax, 0x201040
or ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x459c48
fld1
fstp dword [esp + 0xa0]
cmp byte [esp + 0x200], 0
mov edx, dword [edi + 4]
mov esi, dword [edi + 0x10]
sete byte [esp + 0x39]
push edx
mov byte [esp + 0x2b], 0
add esi, 3
mov byte [esp + 0x21], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x459c86
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0x17], 1
test eax, eax
je 0x459c8b
mov byte [esp + 0x17], 0
cmp byte [ebp + 6], 0xff
mov byte [esp + 0x3a], 0
jae 0x459cdc
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x459cd4
mov ecx, dword [ebx]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x459cd4
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 0x459cd4
mov dl, byte [esp + 0x17]
mov byte [esp + 0x3a], dl
jmp 0x459cdc
and dword [esp + 0x10], 0xefffffff
mov eax, dword [esp + 0x40]
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongA]
dec eax
cmp eax, 0x16
ja case.0x459cf0.20
jmp dword [eax*4 + 0x45b808]
mov eax, dword [0x4a2c28]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x9c]
push 0
push eax
mov eax, dword [esp + 0xa0]
push esi
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x688]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push str.static
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
jmp case.0x459cf0.20
mov eax, dword [0x4a2c28]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x9c]
push 0
push eax
mov eax, dword [esp + 0xa0]
push esi
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x688]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push str.SysLink
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
jmp case.0x459cf0.20
mov ecx, dword [esp + 0x98]
cmp ecx, 0x80000000
jne 0x459db3
xor ecx, ecx
mov dword [esp + 0x98], ecx
mov eax, dword [esp + 0x9c]
cmp eax, 0x80000000
jne 0x459dca
xor eax, eax
mov dword [esp + 0x9c], eax
mov edx, dword [0x4a2c28]
push 0
push edx
mov edx, dword [edi + 4]
push esi
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0x688]
push ecx
mov ecx, dword [esp + 0x40]
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.0x459cf0.20
mov dl, byte [ebp + 5]
mov ecx, dword [esp + 0xe0]
shr dl, 1
and dl, 1
movzx eax, dl
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x678]
push eax
push ecx
push edx
call fcn.0046d8e0
add esp, 0x18
mov dword [ebp + 0x10], eax
test eax, eax
je case.0x459cf0.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 0x459e99
and byte [ebp + 5], 0x7f
mov byte [esp + 0x27], 1
jmp case.0x459cf0.20
or byte [ebp + 5], 0x80
mov byte [esp + 0x27], 1
jmp case.0x459cf0.20
mov ecx, dword [0x4a2c28]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x9c]
push 0
push ecx
mov ecx, dword [esp + 0xa0]
push esi
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x688]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push str.button
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
jmp case.0x459cf0.20
mov ecx, dword [0x4a2c28]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x9c]
push 0
push ecx
mov ecx, dword [esp + 0xa0]
push esi
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x688]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push str.button
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x459cf0.20
test byte [esp + 0x10], 1
je case.0x459cf0.20
mov eax, dword [edi + 0x1c]
cmp eax, dword [edi + 0x10]
jae 0x459f99
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 0x459f9f
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.0x459cf0.20
mov ecx, dword [0x4a2c28]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x9c]
push 0
push ecx
mov ecx, dword [esp + 0xa0]
push esi
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x688]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push str.button
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x459cf0.20
mov ecx, dword [esp + 0xdc]
test ecx, ecx
je case.0x459cf0.20
push 0
push ecx
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x459cf0.20
cmp dword [esp + 0xd4], 0
je 0x45a05c
cmp byte [ebp + 4], 8
jne 0x45a05c
and dword [esp + 0x10], 0xffffffbf
mov ecx, dword [0x4a2c28]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0x10]
push 0
push ecx
mov ecx, dword [esp + 0xa0]
push esi
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ebx
push 0x4927e9
push str.Combobox
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x459cf0.20
mov ecx, dword [edi + 0x50]
movzx edx, byte [esp + 0x17]
imul ecx, ecx, 0x54
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edx
mov edx, dword [0x4a4bec]
mov ecx, dword [ecx + edx + 0x50]
push ecx
push 0x30
push eax
call esi
cmp byte [esp + 0x1e], 0
mov byte [esp + 0x1d], 1
je 0x45a146
mov edx, dword [ebp]
push 0
push 0
push 0x154
push edx
call esi
mov dword [esp + 0x2c], eax
test bl, 1
je 0x45a0ff
mov esi, 4
test bl, 2
je 0x45a104
mov esi, 2
lea eax, [esi + eax*2 + 8]
cmp dword [esp + 0x9c], eax
jge 0x45a11a
mov dword [esp + 0x9c], eax
jmp 0x45a146
fldz
fld dword [esp + 0xa0]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45a144
fimul dword [esp + 0x2c]
call fcn.0048d110
lea eax, [eax + esi + 8]
mov dword [esp + 0x9c], eax
jmp 0x45a146
fstp st(0)
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
push 1
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0x27], 1
jmp case.0x459cf0.20
mov eax, dword [0x4a2c28]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x9c]
push 0
push eax
mov eax, dword [esp + 0xa0]
push esi
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push 0x4927e9
push str.Listbox
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x459cf0.20
mov ecx, dword [esp + 0x1ac]
test ecx, ecx
je 0x45a1ee
lea edx, [esp + 0xe4]
push edx
push ecx
push 0x192
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi + 0x50]
movzx eax, byte [esp + 0x17]
imul ecx, ecx, 0x54
mov edx, dword [0x4a4bec]
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 + 0x2d], 1
call esi
mov esi, dword [esp + 0x10]
and esi, 0x100000
mov dword [esp + 0x2c], eax
lea ebx, [eax + 8]
je 0x45a244
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add ebx, eax
mov ecx, dword [esp + 0x9c]
cmp ecx, ebx
jge 0x45a25a
mov ecx, ebx
mov dword [esp + 0x9c], ecx
jmp 0x45a2a1
fldz
fld dword [esp + 0xa0]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45a29f
fimul dword [esp + 0x2c]
call fcn.0048d110
lea ecx, [eax + 8]
mov dword [esp + 0x9c], ecx
test esi, esi
je 0x45a2a1
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x9c]
add ecx, eax
mov dword [esp + 0x9c], ecx
jmp 0x45a2a1
fstp st(0)
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x90]
push 1
push ecx
mov ecx, dword [esp + 0x9c]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0x27], 1
jmp case.0x459cf0.20
mov eax, dword [esp + 0x84]
cmp eax, 4
je 0x45a2e9
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffffc
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x9c]
cmp eax, 0x80000000
jne 0x45a2fc
mov eax, 0xc8
mov edx, dword [0x4a2c28]
mov ecx, dword [edi + 4]
push 0
push edx
mov edx, dword [esp + 0xa0]
push esi
push ecx
mov ecx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x4927e9
push str.SysListView32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
mov dword [ebp], esi
test esi, esi
je case.0x459cf0.20
push 0x3f8
call fcn.0047ebe9
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x45a371
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x459cf0.20
push 0x3f8
mov dword [edi + 0x48], ebp
mov ecx, dword [ebp + 0x10]
push 0
push ecx
call fcn.00487c20
mov edx, dword [ebp + 0x10]
mov dword [edx], 0xffffffff
mov eax, dword [ebp + 0x10]
mov cl, byte [esp + 0x20d]
mov byte [eax + 5], cl
mov eax, dword [esp + 0x64]
add esp, 0xc
test eax, eax
je 0x45a3a9
or byte [eax + 5], 0x80
cmp dword [esp + 0x84], 4
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x45a3c8
mov edx, dword [ebp]
push 0
push 4
push 0x108e
push edx
call ebx
mov eax, dword [esp + 0x80]
test eax, eax
je 0x45a3e1
push eax
mov eax, dword [ebp]
push 0
push 0x1036
push eax
call ebx
lea eax, [esp + 0x70]
mov edi, ebp
call fcn.00462070
cmp dword [esp + 0x9c], 0x80000000
jne 0x45b018
mov esi, dword [esp + 0x660]
mov edx, dword [esi + 0x50]
movzx ecx, byte [esp + 0x17]
imul edx, edx, 0x54
mov eax, dword [0x4a4bec]
push ecx
mov ecx, dword [edx + eax + 0x50]
mov edx, dword [ebp]
push ecx
push 0x30
push edx
call ebx
mov eax, dword [esp + 0x84]
dec eax
mov byte [esp + 0x1d], 1
je 0x45a58a
sub eax, 3
je 0x45a55c
mov edi, dword [esp + 0x28]
test edi, edi
jne 0x45a472
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4a4bec]
imul ecx, ecx, 0x54
mov edi, eax
mov eax, dword [ecx + edx + 0x50]
push eax
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x220]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
cmp dword [esp + 0x84], 0
jne 0x45a520
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 0x45a4b0
fadd dword [0x49a2b8]
fld dword [esp + 0xa0]
push 0xc
fsub qword [0x49a270]
fnstcw word [esp + 0x22]
movzx eax, word [esp + 0x22]
fmulp st(1)
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x64]
mov eax, dword [esp + 0x64]
shr eax, 0x10
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x22]
fild dword [esp + 0x1c]
fstp qword [esp + 0x64]
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [esp + 0xa0]
fadd qword [esp + 0x60]
call fcn.0048d110
mov ecx, dword [esp + 0x220]
lea eax, [eax + ecx + 0x10]
jmp 0x45a5c8
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x220]
mov dword [esp + 0x18], eax
cmp eax, ecx
jg 0x45a53b
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fld dword [esp + 0xa0]
fld st(0)
fmulp st(2)
fsub qword [0x49a270]
faddp st(1)
call fcn.0048d110
add eax, 0xb
jmp 0x45a5c8
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 + 0xa0]
call fcn.0048d110
add eax, 7
jmp 0x45a5c8
fld dword [esp + 0xa0]
mov ecx, dword [ebp]
fnstcw word [esp + 0x1e]
push 0xffffffffffffffff
movzx eax, word [esp + 0x22]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x64]
mov eax, dword [esp + 0x64]
dec eax
push eax
push 0x1040
fldcw word [esp + 0x2a]
push ecx
call ebx
shr eax, 0x10
add eax, 4
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x90]
push 1
push eax
push edx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa0]
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edi, esi
jmp case.0x459cf0.20
mov eax, dword [esp + 0x9c]
cmp eax, 0x80000000
jne 0x45a60e
mov eax, 0xc8
mov ecx, dword [0x4a2c28]
mov edx, dword [edi + 4]
push 0
push ecx
mov ecx, dword [esp + 0x9c]
push esi
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xac]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push 0x4927e9
push str.SysTreeView32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x459cf0.20
cmp dword [esp + 0xdc], 0
mov dword [edi + 0x4c], ebp
je 0x45a67a
mov edx, dword [esp + 0x10]
mov eax, dword [ebp]
or edx, 0x100
push edx
push 0xfffffffffffffff0
push eax
call ebx
lea edi, [esp + 0x70]
mov esi, ebp
call fcn.00462120
mov eax, dword [esp + 0x88]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x45a6a4
mov ecx, dword [ebp]
push eax
push 0
push 0x1109
push ecx
call edi
cmp dword [esp + 0x9c], 0x80000000
jne 0x45b018
mov esi, dword [esp + 0x660]
mov eax, dword [esi + 0x50]
movzx edx, byte [esp + 0x17]
imul eax, eax, 0x54
mov ecx, dword [0x4a4bec]
push edx
mov edx, dword [eax + ecx + 0x50]
mov eax, dword [ebp]
push edx
push 0x30
push eax
call edi
mov ecx, dword [ebp]
push 0
push 0
push 0x111c
push ecx
mov byte [esp + 0x2d], 1
call edi
mov dword [esp + 0x9c], eax
cmp eax, 2
jge 0x45a713
mov edx, dword [esi + 0x50]
mov eax, dword [0x4a4bec]
imul edx, edx, 0x54
mov ecx, dword [edx + eax + 0x44]
add ecx, ecx
mov dword [esp + 0x9c], ecx
fild dword [esp + 0x9c]
fmul dword [esp + 0xa0]
call fcn.0048d110
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x90]
push 1
add eax, 4
push eax
push edx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa0]
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edi, esi
jmp case.0x459cf0.20
mov eax, dword [esp + 0x10]
test al, 4
jne 0x45a787
cmp dword [esp + 0xd4], 0
jge 0x45a775
and eax, 0xffefff7f
jmp 0x45a783
mov ecx, dword [esp + 0x74]
not ecx
and ecx, 0x80
or eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x66c]
cmp byte [ecx], 0
je 0x45a7ab
test al, 4
je 0x45a7ab
mov edi, ecx
call fcn.0046cfd0
mov edi, dword [esp + 0x660]
mov dword [esp + 0x2c], eax
jmp 0x45a7b1
mov dword [esp + 0x2c], ecx
mov eax, ecx
test eax, eax
jne 0x45a7bc
mov eax, dword [esp + 0x66c]
mov edx, dword [0x4a2c28]
mov ecx, dword [edi + 4]
mov ebx, dword [esp + 0x10]
push 0
push edx
mov edx, dword [esp + 0xa4]
push esi
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0x3c]
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 0x45a874
test bl, 0x20
je 0x45a82d
mov cl, byte [esp + 0x1fc]
test cl, cl
je 0x45a82d
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
movsx ecx, cl
push ecx
push 0xcc
push eax
call esi
jmp 0x45a833
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0xd4]
test eax, eax
jns 0x45a847
xor eax, eax
mov dword [esp + 0xd4], eax
mov edx, dword [ebp]
push 0
push eax
push 0xc5
push edx
call esi
mov eax, dword [esp + 0x1ac]
test eax, eax
je 0x45a874
mov edx, dword [ebp]
lea ecx, [esp + 0xe4]
push ecx
push eax
push 0xcb
push edx
call esi
mov eax, dword [esp + 0x2c]
test eax, eax
je case.0x459cf0.20
cmp eax, dword [esp + 0x66c]
je case.0x459cf0.20
push eax
call fcn.0047ea48
add esp, 4
jmp case.0x459cf0.20
mov eax, dword [esp + 0x66c]
cmp byte [eax], 0
mov byte [esp + 0x1e], 0
je 0x45a8f7
mov ebx, eax
push str.LongDate
push ebx
call fcn.0047ea31
add esp, 8
test eax, eax
jne 0x45a8d0
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffff6
or ecx, 4
mov dword [esp + 0x10], ecx
jmp 0x45a8f7
push str.Time
push ebx
call fcn.0047ea31
add esp, 8
test eax, eax
jne 0x45a8f2
mov edx, dword [esp + 0x10]
and edx, 0xfffffffb
or edx, 9
mov dword [esp + 0x10], edx
jmp 0x45a8f7
mov byte [esp + 0x1e], 1
mov eax, 2
cmp dword [esp + 0xa4], eax
jne 0x45a909
or dword [esp + 0x10], eax
mov eax, dword [0x4a2c28]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x9c]
push 0
push eax
mov eax, dword [esp + 0xa0]
push esi
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push 0x4927e9
push str.SysDateTimePick32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x459cf0.20
cmp byte [esp + 0x1e], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x45a97a
mov edx, dword [esp + 0x66c]
push edx
push 0
push 0x1005
push eax
call esi
mov eax, dword [esp + 0x1f4]
test eax, eax
je 0x45a999
mov edx, dword [ebp]
lea ecx, [esp + 0x1d0]
push ecx
push eax
push 0x1004
push edx
call esi
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x45a9c0
xor edx, edx
cmp eax, 1
mov eax, dword [ebp]
setne dl
lea ecx, [esp + 0x1b0]
push ecx
push edx
push 0x1002
push eax
call esi
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je case.0x459cf0.20
mov ecx, dword [ebp]
push eax
push 1
push 0x1006
push ecx
call esi
jmp case.0x459cf0.20
cmp dword [esp + 0x1f0], 0
jne 0x45aa16
mov edx, dword [esp + 0x66c]
cmp byte [edx], 0
je 0x45aa16
lea eax, [esp + 0x1b0]
mov ecx, edx
call fcn.0046be00
mov dword [esp + 0x1f0], eax
cmp eax, 3
jne 0x45aa16
or dword [esp + 0x10], 2
mov ecx, dword [esp + 0x9c]
cmp ecx, 0x80000000
jne 0x45aa2a
mov ecx, 0x64
mov eax, dword [esp + 0x98]
test eax, eax
jns 0x45aa3a
mov eax, 0x64
mov edx, dword [0x4a2c28]
push 0
push edx
mov edx, dword [edi + 4]
push esi
mov esi, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xac]
push eax
push ecx
push esi
push 0x4927e9
push str.SysMonthCal32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45b018
and esi, 2
je 0x45aa97
push 0
push 0x16e
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x1f4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x45aabc
mov edx, dword [ebp]
lea ecx, [esp + 0x1d0]
push ecx
push eax
push 0x1012
push edx
call ebx
mov eax, dword [esp + 0x1f0]
test eax, eax
je 0x45ab32
test esi, esi
je 0x45ab1d
cmp eax, 1
jne 0x45ab08
mov eax, dword [esp + 0x1b0]
mov ecx, dword [esp + 0x1b4]
mov edx, dword [esp + 0x1b8]
mov dword [esp + 0x1c0], eax
mov eax, dword [esp + 0x1bc]
mov dword [esp + 0x1c4], ecx
mov dword [esp + 0x1c8], edx
mov dword [esp + 0x1cc], eax
mov edx, dword [ebp]
lea ecx, [esp + 0x1b0]
push ecx
push 0
push 0x1006
push edx
jmp 0x45ab30
mov ecx, dword [ebp]
lea eax, [esp + 0x1b0]
push eax
push 0
push 0x1002
push ecx
call ebx
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je 0x45ab4a
mov edx, dword [ebp]
push eax
push 1
push 0x100a
push edx
call ebx
mov ecx, dword [edi + 0x50]
movzx eax, byte [esp + 0x17]
imul ecx, ecx, 0x54
mov edx, dword [0x4a4bec]
push eax
mov eax, dword [ecx + edx + 0x50]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call ebx
mov esi, SysReAllocString
mov byte [esp + 0x1d], 1
cmp dword [esp + 0x98], esi
je 0x45ab89
cmp dword [esp + 0x9c], esi
jne case.0x459cf0.20
mov eax, dword [ebp]
lea edx, [esp + 0x44]
push edx
push 0
push 0x1009
push eax
call ebx
test eax, eax
je 0x45b018
cmp dword [esp + 0x98], 0
jge 0x45abfb
test byte [esp + 0x10], 0x10
je 0x45abba
mov eax, dword [esp + 0x4c]
jmp 0x45abd3
mov ecx, dword [ebp]
push 0
push 0
push 0x1015
push ecx
call ebx
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
jge 0x45abd3
mov eax, ecx
mov ecx, dword [esp + 0x98]
cmp ecx, esi
jne 0x45abe7
mov dword [esp + 0x98], eax
jmp 0x45abfb
add eax, 6
imul eax, ecx
mov edx, 0xfffffffa
sub edx, eax
mov dword [esp + 0x98], edx
mov ecx, dword [esp + 0x9c]
cmp ecx, esi
jne 0x45acef
fldz
mov ecx, dword [esp + 0x50]
fld dword [esp + 0xa0]
mov dword [esp + 0x9c], ecx
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45aced
fld1
fucompp
fnstsw ax
test ah, 0x44
jnp 0x45acef
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x45ac70
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4a4bec]
imul ecx, ecx, 0x54
mov esi, eax
mov eax, dword [ecx + edx + 0x50]
push eax
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x220]
push ecx
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
test byte [esp + 0x10], 0x10
mov esi, dword [esp + 0x220]
je 0x45ac9f
mov edx, dword [esp + 0x9c]
lea eax, [edx + esi + 4]
mov dword [esp + 0x9c], eax
fild dword [esp + 0x9c]
fld dword [esp + 0xa0]
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.0048d110
add esi, 0xfffffffe
mov dword [esp + 0x9c], eax
fild dword [esp + 0x9c]
mov dword [esp + 0x18], esi
fild dword [esp + 0x18]
fxch st(2)
fsub qword [0x49a270]
fmulp st(2)
fsubrp st(1)
call fcn.0048d110
mov ecx, eax
mov dword [esp + 0x9c], ecx
jmp 0x45acef
fstp st(0)
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
push 1
push ecx
mov ecx, dword [esp + 0xa0]
push ecx
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp case.0x459cf0.20
mov edx, dword [0x4a2c28]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x9c]
push 0
push edx
mov edx, dword [esp + 0xa0]
push esi
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x4927e9
push str.msctls_hotkey32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45b018
mov eax, dword [esp + 0x66c]
cmp byte [eax], 0
je 0x45ad92
push 0
call fcn.00461bf0
mov edx, dword [ebp]
movzx ecx, ax
push ecx
push 0x401
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0xd4]
test eax, eax
jle 0x45b018
push 6
push eax
mov eax, dword [ebp]
push 0x403
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x459cf0.20
test byte [esp + 0x10], 0x10
je 0x45af74
cmp dword [edi + 8], 0
jne 0x45addf
mov eax, dword [esp + 0x58]
test eax, eax
je 0x45af74
test byte [eax + 5], 0x80
je 0x45af74
and dword [esp + 0x10], 0xffffffef
mov bl, 1
mov ecx, dword [0x4a2c28]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x9c]
push 0
push ecx
mov ecx, dword [esp + 0xa0]
push esi
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push 0x4927e9
push str.msctls_updown32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45b018
mov esi, dword [esp + 0x2c]
test bl, bl
je 0x45ae52
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 0x45afc1
test byte [esp + 0x10], 0x10
jne 0x45ae6b
test bl, bl
je 0x45afc1
mov eax, dword [ebp]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x44]
push edx
push eax
call ebx
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 eax, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
sub edx, eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x94], ecx
sub eax, ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
mov edx, dword [esi]
push ecx
push edx
call ebx
mov ecx, dword [edi + 4]
push 2
lea eax, [esp + 0x64]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp byte [edi + 0xbf], 0
mov bl, byte [esp + 0x10]
je 0x45af55
test bl, 4
je 0x45af27
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x90]
add dword [esp + 0x4c], eax
push 1
push edx
add ecx, eax
push eax
mov eax, dword [esp + 0xa0]
push eax
push ecx
mov dword [esp + 0xa4], ecx
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
add eax, dword [esp + 0x98]
push 1
sub edx, ecx
push edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x70], 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 0x45af7b
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x4c]
sub ecx, eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], ecx
jmp 0x45af8a
xor bl, bl
jmp 0x45ade6
mov edx, dword [esp + 0x68]
sub edx, dword [esp + 0x44]
mov dword [esp + 0x98], edx
cmp byte [esp + 0x1fd], 0
jne 0x45afde
cmp byte [esi + 4], 9
jne 0x45afcb
mov byte [esp + 0x1fd], 1
test bl, 0x40
je 0x45afb4
mov dword [esp + 0xac], 0x7fff
jmp 0x45afde
mov dword [esp + 0xa8], 0x7fff
jmp 0x45afde
cmp byte [esp + 0x1fd], 0
jne 0x45afde
mov byte [esp + 0x1fd], 1
mov dword [esp + 0xac], 0x64
lea ecx, [esp + 0x70]
mov eax, ebp
call fcn.00461ed0
mov esi, dword [esp + 0x66c]
call fcn.0040c6a0
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]
mov edi, dword [esp + 0x660]
mov esi, dword [esp + 0x28]
test esi, esi
je 0x45b042
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x45b037
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [edi + 4]
push esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp], 0
jne 0x45b345
push 0x4927e9
push str.Cant_create_control.
mov ecx, 0x4a4ca0
call fcn.0042cfa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64c
ret 0x10
mov eax, dword [0x4a2c28]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x9c]
push 0
push eax
mov eax, dword [esp + 0xa0]
push esi
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push 0x4927e9
push str.msctls_trackbar32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45b018
lea eax, [esp + 0x70]
mov esi, ebp
call fcn.00461f90
mov edx, dword [esp + 0x66c]
cmp byte [edx], 0
je 0x45b018
mov esi, edx
call fcn.0040c6a0
test byte [ebp + 5], 0x80
je 0x45b0ef
push eax
mov edi, ebp
call fcn.00461f50
push eax
mov eax, dword [ebp]
push 1
push 0x405
push eax
jmp 0x45b012
mov ecx, dword [0x4a2c28]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x9c]
push 0
push ecx
mov ecx, dword [esp + 0xa0]
push esi
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push 0x4927e9
push str.msctls_progress32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45b018
mov eax, dword [esp + 0x10]
push eax
push edi
lea eax, [esp + 0x78]
mov ecx, ebp
call fcn.00462170
mov ecx, dword [esp + 0x66c]
cmp byte [ecx], 0
je 0x45b190
push 0
mov esi, ecx
call fcn.0040c6a0
mov edx, dword [ebp]
push eax
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x660]
mov byte [esp + 0x39], 0
jmp case.0x459cf0.20
mov eax, dword [0x4a2c28]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x9c]
push 0
push eax
mov eax, dword [esp + 0xa0]
push esi
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push 0x4927e9
push str.SysTabControl32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45b018
mov al, byte [edi + 0xb8]
mov byte [edi + 0xb9], al
inc al
push 0x461980
mov byte [edi + 0xba], 0
mov byte [edi + 0xb8], al
mov edx, dword [ebp]
push 0xfffffffffffffffc
push edx
call ebx
mov dword [0x4a2c4c], eax
jmp case.0x459cf0.20
cmp byte [0x4a5d1d], 0
jne 0x45b263
push 0x499374
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x45b263
push str.AtlAxWinInit
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45b253
call eax
test eax, eax
setne byte [0x4a5d1d]
cmp byte [0x4a5d1d], 0
jne 0x45b263
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x4a2c28]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x9c]
push 0
push eax
mov eax, dword [esp + 0xa0]
push esi
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x688]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push str.AtlAxWin
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45b018
push eax
call fcn.00452d30
add esp, 4
test eax, eax
jne 0x45b2db
mov eax, dword [ebp]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x459cf0.20
mov ecx, dword [ebp + 8]
push eax
test ecx, ecx
je 0x45b2ef
mov eax, ecx
call fcn.004123c0
jmp case.0x459cf0.20
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
jmp case.0x459cf0.20
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x66c]
mov edx, dword [esp + 0x10]
push esi
push eax
push ecx
push edx
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowA]
mov dword [ebp], eax
test eax, eax
je case.0x459cf0.20
mov ecx, dword [esp + 0xd0]
mov dword [edi + 8], eax
cmp ecx, 0xffffffff
je case.0x459cf0.20
push ecx
push 0
push 0x2001
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x459cf0.20
mov eax, dword [esp + 0x8c]
inc dword [edi + 0x10]
mov cl, byte [esp + 0x3b]
mov byte [edi + 0xbf], cl
test eax, eax
je 0x45b366
mov ecx, dword [ebp]
push eax
call fcn.0046e670
cmp byte [ebp + 4], 6
jne 0x45b38a
mov eax, dword [esp + 0xdc]
test eax, eax
je 0x45b384
push eax
mov eax, dword [edi + 0x10]
dec eax
push ebp
mov ecx, edi
call fcn.00461e20
mov byte [edi + 0x44], 1
jmp 0x45b38e
mov byte [edi + 0x44], 0
test dword [esp + 0x74], 0x10000000
je 0x45b39c
or byte [ebp + 5], 8
test dword [esp + 0x70], 0x8000000
je 0x45b3aa
or byte [ebp + 5], 0x10
cmp byte [esp + 0x39], 0
jne 0x45b3d5
cmp dword [ebp + 0x10], 0xff000000
je 0x45b3c9
mov al, byte [ebp + 4]
cmp al, 5
je 0x45b3d5
cmp al, 6
je 0x45b3d5
cmp al, 3
je 0x45b3d5
cmp byte [ebp + 4], 3
jne 0x45b3e1
test byte [ebp + 5], 0x40
je 0x45b3e1
mov edx, dword [ebp]
push edx
call fcn.0046e400
add esp, 4
cmp byte [esp + 0x1d], 0
jne 0x45b412
cmp byte [esp + 0x33], 0
je 0x45b412
mov ecx, dword [edi + 0x50]
movzx eax, byte [esp + 0x17]
imul ecx, ecx, 0x54
mov edx, dword [0x4a4bec]
push eax
mov eax, dword [ecx + edx + 0x50]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esp + 0x1f8], 4
jne 0x45b42c
mov edx, dword [ebp]
push 0
push 0
push 0xb
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x66c]
cmp byte [eax], 0
je 0x45b44f
mov ecx, dword [esp + 0xa4]
push ecx
push edi
mov edi, ebp
call fcn.0045e4e0
mov edi, dword [esp + 0x660]
cmp byte [ebp + 4], 0x13
jne 0x45b505
fldz
fcomp dword [esp + 0xa0]
fnstsw ax
test ah, 5
jp 0x45b505
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 0x45b685
test al, al
js 0x45b685
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 0x45b4d1
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 + 0x98]
mov edx, dword [esp + 0x94]
push 1
push eax
push ecx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x9c]
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [esp + 0x27], 0
je 0x45b574
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 + 0x664], 9
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], ecx
jne 0x45b574
test dword [esp + 0x10], 0x100000
je 0x45b574
mov eax, dword [esp + 0xd8]
test eax, eax
jns 0x45b562
lea eax, [ecx + ecx*2]
mov dword [esp + 0xd8], eax
mov ecx, dword [ebp]
push 0
push eax
push 0x194
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [esp + 0x58]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
test ebx, ebx
je 0x45b5d5
cmp byte [esp + 0x3a], 0
je 0x45b5bc
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 0x45b5d5
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 0x45b5eb
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
cmp byte [esp + 0x664], 0x17
je 0x45b6a4
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x9c]
mov esi, dword [esp + 0x94]
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 0x45b63f
mov dword [edi + 0x90], eax
cmp ecx, dword [edi + 0x94]
jle 0x45b64d
mov dword [edi + 0x94], ecx
cmp byte [esp + 0x1ff], 0
jne 0x45b68c
mov ebx, dword [edi + 0x10]
cmp ebx, 1
je 0x45b68c
cmp ebx, 2
jne 0x45b66d
mov ebx, dword [edi + 0x18]
cmp byte [ebx + 4], 0x17
je 0x45b68c
cmp eax, dword [edi + 0xa0]
jle 0x45b67b
mov dword [edi + 0xa0], eax
cmp ecx, dword [edi + 0xa4]
jle 0x45b6a4
jmp 0x45b69e
xor bl, bl
jmp 0x45b4a6
mov dword [edi + 0x98], edx
mov dword [edi + 0x9c], esi
mov dword [edi + 0xa0], eax
mov dword [edi + 0xa4], ecx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x64c
ret 0x10