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

Disassembly:
sub esp, 0xa3c
push ebx
mov ebx, dword [esp + 0xa44]
mov ecx, dword [ebx + 0x10]
push ebp
push esi
push edi
cmp ecx, 0x2af8
jb 0x45b8dd
push 0x4a59a4
push str.Too_many_controls.
mov ecx, 0x4c4000
call fcn.0042f0c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa3c
ret 0x10
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jb 0x45b90a
mov ecx, dword [ebx + 0x18]
lea eax, [eax + eax*4 + 0x1388]
add eax, eax
add eax, eax
push eax
push ecx
call fcn.004895b7
add esp, 8
test eax, eax
je 0x45b8bc
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 + 0xa54]
cmp al, 0x14
jne 0x45b940
or byte [ebp + 5], 0x80
mov byte [esp + 0xa54], 0x13
jmp 0x45b944
cmp al, 0x13
jne 0x45b981
mov al, 0xff
cmp byte [ebx + 0xb8], al
jne 0x45b96f
push 0x4a59a4
push str.Too_many_tab_controls.
mov ecx, 0x4c4000
call fcn.0042f0c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa3c
ret 0x10
mov byte [ebp + 6], al
mov cl, byte [ebx + 0xb8]
mov al, byte [esp + 0xa54]
jmp 0x45b9c1
cmp al, 0x16
jne 0x45b9b2
cmp dword [ebx + 8], 0
je 0x45b9ac
push 0x4a59a4
push str.Too_many_status_bars.
mov ecx, 0x4c4000
call fcn.0042f0c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa3c
ret 0x10
mov byte [ebp + 6], 0xff
jmp 0x45b9c4
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 0x45ba2b
mov esi, dword [0x4c3f64]
cmp dword [ebx + 0x78], edi
jne 0x45b9f8
mov edx, dword [ebx + 0x50]
imul edx, edx, 0x94
fild dword [edx + esi + 0x84]
fmul qword [0x4b8980]
call fcn.00496940
mov dword [ebx + 0x78], eax
cmp dword [ebx + 0x7c], edi
jne 0x45ba1b
mov eax, dword [ebx + 0x50]
imul eax, eax, 0x94
fild dword [eax + esi + 0x84]
fmul qword [0x4b89d0]
call fcn.00496940
mov dword [ebx + 0x7c], eax
mov ecx, dword [ebx + 0x78]
mov al, byte [esp + 0xa54]
mov dword [ebx + 0x80], ecx
mov edi, ebp
lea esi, [esp + 0x60]
mov byte [ebp + 4], al
call fcn.004610b0
mov al, byte [esp + 0xa54]
or dword [esp + 0x60], 0x10000000
mov dl, byte [ebx + 0x45]
mov byte [esp + 0x1f1], dl
cmp al, 6
jne 0x45ba6e
or dword [esp + 0x60], 0x4000
cmp byte [ebx + 0x44], 0
jne 0x45ba8c
or dword [esp + 0x60], 0x20000
jmp 0x45ba8c
cmp byte [ebx + 0x44], 0
je 0x45ba7c
or dword [esp + 0x60], 0x20000
cmp al, 2
je 0x45baa9
cmp al, 0x10
je 0x45baa9
cmp al, 0x11
je 0x45baa9
cmp al, 0x12
je 0x45baa9
cmp byte [ebp + 4], 0xa
mov byte [esp + 0x2e], 1
je 0x45ba9d
mov ecx, dword [ebx + 0x54]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebx + 0x54]
mov dword [esp + 0xbc], edx
jmp 0x45bab9
mov byte [esp + 0x2e], 0
cmp al, 0x12
jne 0x45bab9
mov dword [ebp + 0x10], 0xff000000
movzx eax, al
mov dword [esp + 0x38], eax
add eax, 0xfffffffc
mov ecx, 0x10000
cmp eax, 0x12
ja case.0x45bad1.6
jmp dword [eax*4 + 0x45e21c]
or dword [esp + 0x60], 0x210000
jmp case.0x45bad1.6
or dword [esp + 0x60], 0x210042
jmp case.0x45bad1.6
or dword [esp + 0x60], 0x210080
or dword [esp + 0x68], 0x200
jmp case.0x45bad1.6
or dword [esp + 0x70], 0x30
or dword [esp + 0x60], 0x10008
or dword [esp + 0x68], 0x200
mov dword [esp + 0x74], 1
jmp case.0x45bad1.6
or dword [esp + 0x60], 0x10027
or dword [esp + 0x68], 0x200
jmp case.0x45bad1.6
or dword [esp + 0x60], ecx
or dword [esp + 0x68], 0x200
jmp case.0x45bad1.6
or dword [esp + 0x60], 0x36
jmp case.0x45bad1.6
or dword [esp + 0x60], 0x1000c
jmp case.0x45bad1.6
or dword [esp + 0x60], ecx
jmp case.0x45bad1.6
or dword [esp + 0x60], 1
jmp case.0x45bad1.6
or dword [esp + 0x60], 0x10200
mov byte [esp + 0x1f1], 0
jmp case.0x45bad1.6
or dword [esp + 0x60], 0x4000000
jmp case.0x45bad1.6
test dword [ebx + 0x3c], 0x40000
je 0x45bb91
or dword [esp + 0x60], 0x100
or dword [esp + 0x60], 0x800
mov ecx, dword [esp + 0xa58]
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x68]
push eax
push ecx
push ebx
call fcn.0045ed60
test eax, eax
jne 0x45bbc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa3c
ret 0x10
mov cl, byte [esp + 0xa54]
mov eax, dword [esp + 0xbc]
cmp cl, 0xa
je 0x45bbd6
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
mov eax, dword [esp + 0xc0]
setne dl
mov byte [esp + 0x1ef], dl
cmp eax, 0xff000000
jne 0x45bc00
mov dword [esp + 0xc0], 0xffffffff
jmp 0x45bc21
cmp eax, 0xffffffff
jne 0x45bc21
mov ebx, dword [ebx + 0x5c]
cmp ebx, 0xff000000
je 0x45bc21
cmp cl, 0x12
je 0x45bc21
cmp cl, 0x16
je 0x45bc21
mov dword [esp + 0xc0], ebx
cmp dword [esp + 0x88], 0x80000000
mov esi, dword [esp + 0x64]
jne 0x45bc6e
cmp dword [esp + 0x8c], 0x80000000
jne 0x45bc6e
fld dword [0x4b89c8]
fcomp dword [esp + 0x90]
fnstsw ax
test ah, 5
jnp 0x45bc6e
mov edi, dword [esp + 0xa5c]
mov ebx, 0x4b733c
mov eax, edi
call fcn.00408f70
test eax, eax
jne 0x45bc6e
xor ecx, ecx
jmp 0x45bc7f
mov edi, dword [esp + 0xa5c]
mov ecx, esi
not ecx
and ecx, 0x2000
mov eax, dword [esp + 0x6c]
not eax
and eax, dword [esp + 0x68]
mov ebx, esi
not ebx
and ebx, dword [esp + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
or ebx, 0x40000000
add eax, 0xfffffffd
mov dword [esp + 0x10], ebx
cmp eax, 0x10
ja case.0x45bcb6.10
movzx eax, byte [eax + 0x45e290]
jmp dword [eax*4 + 0x45e268]
and ebx, 0xfffffff7
or ebx, 7
jmp 0x45bdd1
test bl, 1
je 0x45bcde
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x10], ebx
or ebx, ecx
jmp 0x45bdd1
and ebx, 0xfffffff0
or ebx, ecx
jmp 0x45bdd1
mov edx, ebx
and edx, 6
cmp dl, 6
jne 0x45bd05
and ebx, 0xfffffff6
or ebx, 6
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x45bcb6.10
and ebx, 0xfffffff3
or ebx, 3
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x45bcb6.10
and ebx, 0xfffffff9
or ebx, 9
mov eax, ebx
test eax, 0x20000
je 0x45bd34
test esi, 0x10000
jne 0x45bd34
or eax, 0x10000
or eax, ecx
mov dword [esp + 0x10], eax
jmp case.0x45bcb6.10
or ebx, 3
jmp 0x45bdd1
test bl, 1
je 0x45bd54
and ebx, 0xfffffff1
or ebx, 1
jmp 0x45bdd1
and ebx, 0xfffffff2
or ebx, 2
jmp 0x45bdd1
fld dword [0x4b89c8]
fcomp dword [esp + 0x90]
fnstsw ax
test ah, 5
jnp 0x45bd83
push 0xa
push edi
call fcn.004890d1
mov esi, dword [esp + 0x6c]
add esp, 8
test eax, eax
je 0x45bd90
mov eax, esi
not eax
and eax, 4
or ebx, eax
mov dword [esp + 0x10], ebx
test bl, 4
je case.0x45bcb6.10
not esi
and esi, 0x201040
or ebx, esi
jmp 0x45bdd1
mov ecx, dword [esp + 0xa50]
or ebx, 0x4000000
cmp dword [ecx + 0x60], 0
je 0x45bdba
test byte [ebp + 5], 0x20
je 0x45bdc3
cmp dword [ebp + 0x10], 0xff000000
je 0x45bdcb
or ebx, 0x2000
jmp 0x45bdd1
and ebx, 0xffffdfff
mov dword [esp + 0x10], ebx
cmp byte [esp + 0xa54], 4
jne 0x45bf36
cmp dword [ebp + 0xc], 0
jne 0x45bf36
test byte [ebp + 5], 1
jne 0x45bf36
mov esi, dword [esp + 0xa50]
mov eax, dword [esi]
cmp word [eax], 0x31
jne 0x45be19
cmp word [eax + 2], 0
jne 0x45be19
xor edx, edx
mov word [esp + 0x248], dx
jmp 0x45be31
lea edx, [esp + 0x248]
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x45be22
push edi
push str.Button_s
mov eax, 0x400
lea ecx, [esp + 0x250]
call fcn.0046f2a0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a59a4
lea eax, [esp + 0x264]
push 0x4b7358
push eax
xor eax, eax
call fcn.0046fa00
add esp, 0x24
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a59a4
lea ecx, [esp + 0x25c]
push 0x4a4fdc
push ecx
xor eax, eax
call fcn.0046fa00
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a59a4
lea edx, [esp + 0x25c]
push 0x4a2888
push edx
xor eax, eax
call fcn.0046fa00
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a59a4
lea eax, [esp + 0x25c]
push 0x4a2bb8
push eax
xor eax, eax
call fcn.0046fa00
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a59a4
lea ecx, [esp + 0x25c]
push 0x4a57d4
push ecx
xor eax, eax
call fcn.0046fa00
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a59a4
lea edx, [esp + 0x25c]
push 0x4b735c
push edx
xor eax, eax
call fcn.0046fa00
add esp, 0x1c
lea edi, [esp + 0x248]
mov eax, 0x4c4000
call fcn.004199d0
mov dword [ebp + 0xc], eax
jmp 0x45bf3d
mov esi, dword [esp + 0xa50]
mov bl, byte [ebp + 6]
mov ecx, esi
call fcn.004652b0
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x4c], eax
test ecx, ecx
je 0x45bf62
mov edx, dword [esi + 0x18]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4 - 0x14]
mov dword [esp + 0x1c], ecx
jmp 0x45bf6d
lea edx, [esp + 0x1f8]
mov dword [esp + 0x1c], edx
mov ecx, SysReAllocString
cmp dword [esp + 0x80], ecx
jne 0x45c033
cmp dword [esp + 0x84], ecx
jne 0x45c033
test eax, eax
je 0x45bfca
mov al, byte [ebp + 7]
mov ecx, esi
call fcn.00465430
test eax, eax
jne 0x45bfca
mov ebx, dword [esp + 0xa50]
mov esi, dword [esp + 0x4c]
push ebx
lea edi, [esp + 0x54]
call fcn.00465460
mov eax, dword [ebx + 0x78]
add eax, dword [esp + 0x50]
mov dword [esp + 0x80], eax
mov eax, dword [ebx + 0x7c]
add eax, dword [esp + 0x54]
jmp 0x45bfe6
mov eax, dword [esi + 0x8c]
add eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x80]
add eax, dword [esi + 0x7c]
mov dword [esp + 0x80], ecx
cmp byte [esp + 0xa54], 1
mov dword [esp + 0x84], eax
jne 0x45c033
mov edx, dword [esp + 0xa50]
cmp dword [edx + 0x10], 0
je 0x45c049
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 4], 1
jne 0x45c049
mov dl, byte [ecx + 6]
cmp dl, byte [ebp + 6]
jne 0x45c049
mov cl, byte [ecx + 7]
cmp cl, byte [ebp + 7]
jne 0x45c049
mov cl, byte [esp + 0xa54]
add eax, 8
mov dword [esp + 0x84], eax
xor dl, dl
jmp 0x45c056
mov cl, byte [esp + 0xa54]
cmp cl, 0xe
je 0x45c054
cmp cl, 0xa
je 0x45c054
cmp cl, 0xb
je 0x45c054
mov cl, byte [esp + 0xa54]
xor dl, dl
jmp 0x45c056
mov dl, 1
fld1
test dl, dl
sete bl
cmp dword [esp + 0x8c], 0x80000000
mov byte [esp + 0x18], bl
jne 0x45c1e2
fcom dword [esp + 0x90]
fnstsw ax
test ah, 0x41
jne 0x45c1e2
mov eax, dword [esp + 0x38]
add eax, 0xfffffffd
cmp eax, 0x10
ja case.0x45c094.4
jmp dword [eax*4 + 0x45e2a4]
mov eax, dword [esp + 0x10]
fstp st(0)
fld dword [0x4b89c4]
fstp dword [esp + 0x90]
test al, 1
je 0x45c0ba
test al, 2
je 0x45c203
cmp byte [0x4c4e43], 0
je 0x45c203
test eax, 0x400
jne 0x45c203
xor bl, bl
mov byte [esp + 0x18], bl
jmp 0x45c203
fstp st(0)
fld dword [0x4b89c4]
fstp dword [esp + 0x90]
jmp 0x45c203
fstp st(0)
fld dword [0x4b89c0]
fstp dword [esp + 0x90]
jmp 0x45c203
fstp st(0)
fld dword [0x4b89bc]
fstp dword [esp + 0x90]
jmp 0x45c203
mov eax, dword [esp + 0xa5c]
cmp word [eax], 0
jne case.0x45c094.4
test byte [esp + 0x10], 4
mov esi, dword [esp + 0xa50]
je 0x45c1c8
fstp st(0)
fld dword [0x4b89c4]
fstp dword [esp + 0x90]
jmp 0x45c20a
test byte [esp + 0x10], 0x40
fstp st(0)
mov esi, dword [esp + 0xa50]
je 0x45c1c2
mov ecx, dword [esi + 0x50]
mov eax, dword [0x4c3f64]
imul ecx, ecx, 0x94
mov eax, dword [ecx + eax + 0x84]
add eax, eax
mov dword [esp + 0x8c], eax
jmp 0x45c20a
mov eax, dword [esp + 0x10]
fstp st(0)
test al, 2
je 0x45c19c
fld dword [0x4b89c0]
fstp dword [esp + 0x90]
jmp 0x45c203
push eax
mov eax, dword [esp + 0xb0]
call fcn.00464b20
mov dword [esp + 0x8c], eax
jmp 0x45c203
test byte [esp + 0x10], 4
fstp st(0)
mov esi, dword [esp + 0xa50]
je 0x45c160
fld dword [0x4b89c0]
fstp dword [esp + 0x90]
jmp 0x45c20a
fstp st(0)
fld dword [0x4b89b8]
fstp dword [esp + 0x90]
jmp 0x45c203
fstp st(0)
cmp cl, 7
je 0x45c1ee
cmp cl, 8
jne 0x45c203
cmp byte [0x4c4e43], 0
je 0x45c203
or dword [esp + 0x10], 0x400
jmp 0x45c203
fstp st(0)
mov esi, dword [esp + 0xa50]
fldz
xor edi, edi
fld dword [esp + 0x90]
mov dword [esp + 0x30], edi
fcom st(1)
mov dword [esp + 0x34], edi
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45c376
mov al, byte [esp + 0xa54]
cmp al, 3
je 0x45c23f
cmp al, 6
jbe 0x45c24e
cmp al, 8
ja 0x45c24e
fadd qword [0x4b8928]
fstp dword [esp + 0x90]
jmp 0x45c250
fstp st(0)
test bl, bl
je 0x45c365
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esi + 0x50]
imul edx, edx, 0x94
mov edi, eax
mov eax, dword [0x4c3f64]
mov ecx, dword [edx + eax + 0x90]
push ecx
push edi
mov dword [esp + 0x38], edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea edx, [esp + 0x20c]
push edx
push edi
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
fld dword [esp + 0x90]
fld st(0)
fld qword [0x4b8938]
fadd st(1), st(0)
fxch st(1)
call fcn.00496940
fild dword [esp + 0x20c]
mov ebx, eax
lea eax, [ebx - 1]
imul eax, dword [esp + 0x21c]
fmulp st(2)
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
faddp st(2)
faddp st(1)
call fcn.00496940
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffffd
cmp eax, 0x10
ja case.0x45c2f5.5
movzx ecx, byte [eax + 0x45e2fc]
jmp dword [ecx*4 + 0x45e2e8]
add dword [esp + 0x8c], 8
test dword [esp + 0x10], 0x100000
je case.0x45c2f5.5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x8c], eax
jmp case.0x45c2f5.5
mov edx, dword [esi + 0x50]
mov eax, dword [0x4c3f64]
imul edx, edx, 0x94
mov ecx, dword [edx + eax + 0x84]
mov edx, dword [esp + 0x8c]
lea eax, [edx + ecx + 2]
mov dword [esp + 0x8c], eax
jmp case.0x45c2f5.5
mov ecx, dword [esi + 0x7c]
imul ecx, ebx
add dword [esp + 0x8c], ecx
jmp case.0x45c2f5.5
inc ebx
imul ebx, dword [esi + 0x7c]
add dword [esp + 0x8c], ebx
jmp case.0x45c2f5.5
test dl, dl
jne case.0x45c2f5.5
mov dword [esp + 0x8c], 0x1e
jmp case.0x45c2f5.5
fstp st(0)
mov eax, SysReAllocString
mov byte [esp + 0x2f], 0
cmp dword [esp + 0x8c], eax
je 0x45c398
cmp dword [esp + 0x88], eax
jne case.0x45c661.4
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0x28], 0
mov ebx, 0x400
cmp eax, 0xb
ja case.0x45c3ba.2
movzx edx, byte [eax + 0x45e31c]
jmp dword [edx*4 + 0x45e310]
mov eax, dword [esp + 0xa5c]
cmp word [eax], 0
je case.0x45c3ba.2
test edi, edi
jne 0x45c407
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esi + 0x50]
imul edx, edx, 0x94
mov edi, eax
mov eax, dword [0x4c3f64]
mov ecx, dword [edx + eax + 0x90]
push ecx
push edi
mov dword [esp + 0x38], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x34], eax
lea edx, [esp + 0x20c]
push edx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [esp + 0x220]
add eax, 4
test dword [esp + 0x10], 0x200000
mov dword [esp + 0x28], eax
je 0x45c43a
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x28], eax
mov ebx, 0x2c40
test edi, edi
jne 0x45c474
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esi + 0x50]
imul edx, edx, 0x94
mov edi, eax
mov eax, dword [0x4c3f64]
mov ecx, dword [edx + eax + 0x90]
push ecx
push edi
mov dword [esp + 0x38], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x34], eax
mov al, byte [esp + 0xa54]
cmp al, 1
jne 0x45c491
or ebx, 0x40
test byte [esp + 0x10], 0x80
je 0x45c4c3
or ebx, 0x800
jmp 0x45c4c3
cmp al, 5
je 0x45c499
cmp al, 6
jne 0x45c4c3
lea edx, [esp + 0x20c]
push edx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, dword [esp + 0x220]
mov ecx, dword [esp + 0x28]
lea edx, [ecx + eax + 2]
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x88]
cmp eax, 0x80000000
je 0x45c4d4
or ebx, 0x10
xor ecx, ecx
mov dword [esp + 0x1f8], ecx
mov dword [esp + 0x1fc], ecx
cmp eax, 0x80000000
jne 0x45c4f4
mov dword [esp + 0x200], ecx
jmp 0x45c4ff
sub eax, dword [esp + 0x28]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x8c]
mov edx, eax
sub edx, 0x80000000
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esp + 0xa5c]
mov dword [esp + 0x204], edx
cmp word [eax], cx
jne 0x45c52c
mov eax, 0x4b7360
push ebx
lea ecx, [esp + 0x1fc]
push ecx
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ebx, dword [esp + 0x200]
mov ecx, dword [esp + 0x8c]
sub ebx, dword [esp + 0x1f8]
cmp ecx, 0x80000000
je 0x45c56a
cmp eax, ecx
jle 0x45c5c8
cmp byte [esp + 0xa54], 0xc
je 0x45c5c8
mov cl, byte [esp + 0xa54]
mov dword [esp + 0x8c], eax
cmp cl, 0xc
jne 0x45c5a2
add eax, 8
test dword [esp + 0x10], 0x100000
mov dword [esp + 0x8c], eax
je 0x45c5c8
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x8c], eax
jmp 0x45c5c8
cmp cl, 4
jne 0x45c5c8
mov edx, dword [esi + 0x50]
mov ecx, dword [0x4c3f64]
imul edx, edx, 0x94
mov edx, dword [edx + ecx + 0x84]
lea eax, [edx + eax + 2]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x88]
cmp eax, 0x80000000
je 0x45c5da
cmp ebx, eax
jle case.0x45c3ba.2
add ebx, dword [esp + 0x28]
cmp byte [esp + 0xa54], 4
mov byte [esp + 0x2f], 1
mov dword [esp + 0x88], ebx
jne case.0x45c3ba.2
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [esi + 0x50]
mov ecx, dword [0x4c3f64]
imul edx, edx, 0x94
mov edx, dword [edx + ecx + 0x84]
lea eax, [edx + eax*2]
add dword [esp + 0x88], eax
cmp dword [esp + 0x88], 0x80000000
jne case.0x45c661.4
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c3f64]
imul ecx, ecx, 0x94
mov ecx, dword [ecx + edx + 0x84]
mov edx, dword [esp + 0x38]
mov eax, ecx
shl eax, 4
add edx, 0xfffffffd
sub eax, ecx
cmp edx, 0x10
ja case.0x45c661.4
movzx edx, byte [edx + 0x45e348]
jmp dword [edx*4 + 0x45e328]
mov dword [esp + 0x88], eax
jmp case.0x45c661.4
add eax, eax
mov dword [esp + 0x88], eax
jmp case.0x45c661.4
test byte [esp + 0x10], 0x40
je 0x45c68c
mov dword [esp + 0x88], eax
jmp case.0x45c661.4
add ecx, ecx
mov dword [esp + 0x88], ecx
jmp case.0x45c661.4
mov ecx, dword [esp + 0x10]
test cl, 2
je case.0x45c661.7
mov eax, dword [esp + 0xac]
push ecx
call fcn.00464b20
mov dword [esp + 0x88], eax
jmp case.0x45c661.4
test byte [esp + 0x10], 4
je case.0x45c661.7
lea edx, [ecx + ecx]
jmp 0x45c6d3
mov ecx, dword [esi + 0x78]
lea edx, [eax + ecx*2]
jmp 0x45c6d3
mov ecx, dword [esi + 0x78]
lea ecx, [ecx + ecx*2]
lea edx, [ecx + eax*2]
mov dword [esp + 0x88], edx
cmp byte [esp + 0xa54], 0xc
jne 0x45c7e6
test byte [esp + 0x10], 4
jne 0x45c7e6
fld1
fcomp dword [esp + 0x90]
fnstsw ax
test ah, 0x41
jne 0x45c7e6
test edi, edi
jne 0x45c73d
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c3f64]
imul ecx, ecx, 0x94
mov edi, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push edi
mov dword [esp + 0x38], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x20c]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov ebx, dword [esp + 0x8c]
sub ebx, dword [esp + 0x20c]
sub ebx, 8
test dword [esp + 0x10], 0x100000
mov dword [esp + 0x28], ebx
je 0x45c779
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub ebx, eax
mov dword [esp + 0x28], ebx
test ebx, ebx
jle 0x45c7dd
mov edx, dword [esp + 0x21c]
fild dword [esp + 0x28]
add edx, dword [esp + 0x20c]
mov dword [esp + 0x28], edx
fidiv dword [esp + 0x28]
fadd qword [0x4b8928]
fstp dword [esp + 0x90]
fld dword [0x4b89c8]
fcomp dword [esp + 0x90]
fnstsw ax
test ah, 5
jp 0x45c7e6
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x10]
not eax
mov edx, eax
and edx, 4
or ecx, edx
mov dword [esp + 0x10], ecx
test cl, 4
je 0x45c7e6
and eax, 0x201040
or dword [esp + 0x10], eax
jmp 0x45c7e6
fld1
fstp dword [esp + 0x90]
cmp byte [esp + 0x1f1], 0
mov eax, dword [esi + 4]
mov ebx, dword [esi + 0x10]
sete byte [esp + 0x2c]
push eax
mov byte [esp + 0x27], 0
add ebx, 3
mov byte [esp + 0x1f], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45c824
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0x17], 1
test eax, eax
je 0x45c829
mov byte [esp + 0x17], 0
cmp byte [ebp + 6], 0xff
mov byte [esp + 0x2d], 0
jae 0x45c87a
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x45c872
mov edx, dword [edi]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x45c872
mov eax, dword [edi]
push 0
push 0
push 0x130b
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, byte [ebp + 7]
cmp eax, ecx
jne 0x45c872
mov dl, byte [esp + 0x17]
mov byte [esp + 0x2d], dl
jmp 0x45c87a
and dword [esp + 0x10], 0xefffffff
mov eax, dword [esp + 0x38]
mov edi, dword [sym.imp.USER32.dll_MapWindowPoints]
dec eax
cmp eax, 0x15
ja case.0x45c88e.20
jmp dword [eax*4 + 0x45e35c]
mov eax, dword [0x4c1ea0]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x8c]
push 0
push eax
mov eax, dword [esp + 0x90]
push ebx
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0xa78]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push str.static
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45c88e.20
mov ecx, dword [esp + 0x88]
cmp ecx, 0x80000000
jne 0x45c8ff
xor ecx, ecx
mov dword [esp + 0x88], ecx
mov eax, dword [esp + 0x8c]
cmp eax, 0x80000000
jne 0x45c916
xor eax, eax
mov dword [esp + 0x8c], eax
mov edx, dword [0x4c1ea0]
push 0
push edx
mov edx, dword [esi + 4]
push ebx
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0xa78]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push str.static
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45c88e.20
mov dl, byte [ebp + 5]
mov ecx, dword [esp + 0xd0]
shr dl, 1
and dl, 1
movzx eax, dl
push eax
mov eax, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0xa68]
push eax
push ecx
push edx
call fcn.004708b0
add esp, 0x18
mov dword [ebp + 0x10], eax
test eax, eax
je case.0x45c88e.20
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebp]
mov eax, ebx
neg eax
sbb eax, eax
and eax, 0xfffffff5
add eax, 0xe
or eax, dword [esp + 0x10]
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp]
push edx
push ebx
push 0x172
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test ebx, ebx
jne 0x45c9e9
and byte [ebp + 5], 0x7f
mov byte [esp + 0x23], 1
jmp case.0x45c88e.20
or byte [ebp + 5], 0x80
mov byte [esp + 0x23], 1
jmp case.0x45c88e.20
mov ecx, dword [0x4c1ea0]
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x8c]
push 0
push ecx
mov ecx, dword [esp + 0x90]
push ebx
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0xa78]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push 0x4b7364
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45c88e.20
mov ecx, dword [0x4c1ea0]
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x8c]
push 0
push ecx
mov ecx, dword [esp + 0x90]
push ebx
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0xa78]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push 0x4b7364
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45c88e.20
mov ebx, dword [esp + 0x10]
test bl, 1
je case.0x45c88e.20
mov eax, dword [esi + 0x1c]
cmp eax, dword [esi + 0x10]
jae 0x45caeb
mov edx, dword [esi + 0x18]
push 1
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esi + 0x18]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
and eax, 0xfffe
push eax
mov eax, dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4]
push 0xf4
push eax
call edi
jmp 0x45caf1
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 4]
push 0
mov dword [esi + 0x1c], eax
add eax, 3
push eax
push 0x401
push ecx
call edi
mov eax, dword [ebp]
push 1
movzx edx, bx
push edx
push 0xf4
push eax
call edi
jmp case.0x45c88e.20
mov ecx, dword [0x4c1ea0]
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x8c]
push 0
push ecx
mov ecx, dword [esp + 0x90]
push ebx
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0xa78]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push 0x4b7364
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45c88e.20
mov ecx, dword [esp + 0xcc]
test ecx, ecx
je case.0x45c88e.20
push 0
push ecx
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x45c88e.20
cmp dword [esp + 0xc4], 0
je 0x45cbac
cmp byte [ebp + 4], 8
jne 0x45cbac
and dword [esp + 0x10], 0xffffffbf
mov ecx, dword [0x4c1ea0]
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x8c]
push 0
push ecx
mov ecx, dword [esp + 0x90]
push ebx
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push 0x4a59a4
push str.Combobox
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45c88e.20
mov edx, dword [esi + 0x50]
movzx ecx, byte [esp + 0x17]
imul edx, edx, 0x94
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov ecx, dword [0x4c3f64]
mov edx, dword [edx + ecx + 0x90]
push edx
push 0x30
push eax
call edi
cmp byte [esp + 0x18], 0
mov byte [esp + 0x1b], 1
je 0x45cca0
mov eax, dword [ebp]
push 0
push 0
push 0x154
push eax
call edi
mov cl, byte [esp + 0x10]
mov dword [esp + 0x1c], eax
test cl, 1
je 0x45cc59
mov ebx, 4
test cl, 2
je 0x45cc5e
mov ebx, 2
lea eax, [ebx + eax*2 + 8]
cmp dword [esp + 0x8c], eax
jge 0x45cc74
mov dword [esp + 0x8c], eax
jmp 0x45cca0
fldz
fld dword [esp + 0x90]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45cc9e
fimul dword [esp + 0x1c]
call fcn.00496940
lea ecx, [eax + ebx + 8]
mov dword [esp + 0x8c], ecx
jmp 0x45cca0
fstp st(0)
mov edx, dword [esp + 0x8c]
push 1
push edx
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0x23], 1
jmp case.0x45c88e.20
mov ecx, dword [0x4c1ea0]
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x8c]
push 0
push ecx
mov ecx, dword [esp + 0x90]
push ebx
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push 0x4a59a4
push str.Listbox
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45c88e.20
mov ecx, dword [esp + 0x19c]
test ecx, ecx
je 0x45cd49
lea edx, [esp + 0xd4]
push edx
push ecx
push 0x192
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x50]
movzx eax, byte [esp + 0x17]
imul ecx, ecx, 0x94
mov edx, dword [0x4c3f64]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [ecx + edx + 0x90]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call edi
mov edx, dword [ebp]
push 0
push 0
push 0x1a1
push edx
mov byte [esp + 0x2b], 1
call edi
mov ebx, dword [esp + 0x10]
and ebx, 0x100000
mov dword [esp + 0x1c], eax
lea edi, [eax + 8]
je 0x45cda5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add edi, eax
mov ecx, dword [esp + 0x8c]
cmp ecx, edi
jge 0x45cdc1
mov ecx, edi
push 1
mov dword [esp + 0x90], ecx
push ecx
jmp 0x45ccaa
fldz
fld dword [esp + 0x90]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45ce0c
fimul dword [esp + 0x1c]
call fcn.00496940
lea ecx, [eax + 8]
mov dword [esp + 0x8c], ecx
test ebx, ebx
je 0x45ce0e
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x8c]
add ecx, eax
push 1
mov dword [esp + 0x90], ecx
push ecx
jmp 0x45ccaa
fstp st(0)
push 1
push ecx
jmp 0x45ccaa
mov eax, dword [esp + 0x74]
cmp eax, 4
je 0x45ce2c
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffffc
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x8c]
cmp eax, 0x80000000
jne 0x45ce3f
mov eax, 0xc8
mov edx, dword [0x4c1ea0]
mov ecx, dword [esi + 4]
push 0
push edx
mov edx, dword [esp + 0x90]
push ebx
push ecx
mov ecx, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push 0x4a59a4
push str.SysListView32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
mov dword [ebp], ebx
test ebx, ebx
je case.0x45c88e.20
push 0x3f8
call fcn.00488394
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x45ceb4
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45c88e.20
push 0x3f8
mov dword [esi + 0x48], ebp
mov ecx, dword [ebp + 0x10]
push 0
push ecx
call fcn.00490ef0
mov edx, dword [ebp + 0x10]
mov dword [edx], 0xffffffff
mov eax, dword [ebp + 0x10]
mov cl, byte [esp + 0x1fe]
mov byte [eax + 5], cl
mov eax, dword [esp + 0x58]
add esp, 0xc
test eax, eax
je 0x45ceec
or byte [eax + 5], 0x80
cmp dword [esp + 0x74], 4
jne 0x45cf06
mov edx, dword [ebp]
push 0
push 4
push 0x108e
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x70]
test eax, eax
je 0x45cf20
push eax
mov eax, dword [ebp]
push 0
push 0x1036
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x60]
mov edi, ebp
call fcn.00464c70
cmp dword [esp + 0x8c], 0x80000000
jne case.0x45c88e.20
mov edx, dword [esi + 0x50]
movzx ecx, byte [esp + 0x17]
imul edx, edx, 0x94
mov eax, dword [0x4c3f64]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov ecx, dword [edx + eax + 0x90]
mov edx, dword [ebp]
push ecx
push 0x30
push edx
call edi
mov eax, dword [esp + 0x74]
dec eax
mov byte [esp + 0x1b], 1
je 0x45d0ce
sub eax, 3
je 0x45d0a0
mov ebx, dword [esp + 0x30]
test ebx, ebx
jne 0x45cfb9
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c3f64]
imul ecx, ecx, 0x94
mov ebx, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x20c]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
cmp dword [esp + 0x74], 0
jne 0x45d064
mov edx, dword [ebp]
push 0
push 0
push 0x1033
push edx
call edi
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
test eax, eax
jns 0x45cff4
fadd dword [0x4b8960]
fld dword [esp + 0x90]
push 0xc
fsub qword [0x4b8928]
fnstcw word [esp + 0x1c]
movzx eax, word [esp + 0x1c]
fmulp st(1)
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x54]
mov eax, dword [esp + 0x54]
shr eax, 0x10
mov dword [esp + 0x20], eax
fldcw word [esp + 0x1c]
fild dword [esp + 0x20]
fstp qword [esp + 0x54]
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul dword [esp + 0x90]
fadd qword [esp + 0x50]
call fcn.00496940
mov ecx, dword [esp + 0x20c]
lea eax, [eax + ecx + 0x10]
jmp 0x45d10c
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x20c]
mov dword [esp + 0x1c], eax
cmp eax, ecx
jg 0x45d07f
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fld dword [esp + 0x90]
fld st(0)
fmulp st(2)
fsub qword [0x4b8928]
faddp st(1)
call fcn.00496940
add eax, 0xb
jmp 0x45d10c
mov edx, dword [ebp]
push 0
push 0
push 0x1033
push edx
call edi
shr eax, 0x10
sub eax, 3
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul dword [esp + 0x90]
call fcn.00496940
add eax, 7
jmp 0x45d10c
fld dword [esp + 0x90]
mov ecx, dword [ebp]
fnstcw word [esp + 0x18]
push 0xffffffffffffffff
movzx eax, word [esp + 0x1c]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x54]
mov eax, dword [esp + 0x54]
dec eax
push eax
push 0x1040
fldcw word [esp + 0x24]
push ecx
call edi
shr eax, 0x10
add eax, 4
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
push 1
push eax
push edx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x90]
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp case.0x45c88e.20
mov eax, dword [esp + 0x8c]
cmp eax, 0x80000000
jne 0x45d150
mov eax, 0xc8
mov ecx, dword [0x4c1ea0]
mov edx, dword [esi + 4]
push 0
push ecx
mov ecx, dword [esp + 0x8c]
push ebx
push edx
mov edx, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push 0x4a59a4
push str.SysTreeView32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45c88e.20
cmp dword [esp + 0xcc], 0
mov dword [esi + 0x4c], ebp
je 0x45d1c0
mov edx, dword [esp + 0x10]
mov eax, dword [ebp]
or edx, 0x100
push edx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea edi, [esp + 0x60]
mov esi, ebp
call fcn.00464d20
mov eax, dword [esp + 0x78]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x45d1e7
mov ecx, dword [ebp]
push eax
push 0
push 0x1109
push ecx
call esi
cmp dword [esp + 0x8c], 0x80000000
jne 0x45db7b
mov edi, dword [esp + 0xa50]
mov eax, dword [edi + 0x50]
movzx edx, byte [esp + 0x17]
imul eax, eax, 0x94
mov ecx, dword [0x4c3f64]
push edx
mov edx, dword [eax + ecx + 0x90]
mov eax, dword [ebp]
push edx
push 0x30
push eax
call esi
mov ecx, dword [ebp]
push 0
push 0
push 0x111c
push ecx
mov byte [esp + 0x2b], 1
call esi
mov dword [esp + 0x8c], eax
cmp eax, 2
jge 0x45d262
mov edx, dword [edi + 0x50]
mov eax, dword [0x4c3f64]
imul edx, edx, 0x94
mov ecx, dword [edx + eax + 0x84]
add ecx, ecx
mov dword [esp + 0x8c], ecx
fild dword [esp + 0x8c]
fmul dword [esp + 0x90]
call fcn.00496940
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
push 1
add eax, 4
push eax
push edx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x90]
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, edi
jmp case.0x45c88e.20
mov ecx, dword [esp + 0x10]
test cl, 4
jne 0x45d2d7
cmp dword [esp + 0xc4], 0
jge 0x45d2c6
and ecx, 0xffefff7f
jmp 0x45d2d3
mov eax, dword [esp + 0x64]
not eax
and eax, 0x80
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0xa5c]
cmp word [eax], 0
je 0x45d2fb
test cl, 4
je 0x45d2fb
mov edi, eax
call fcn.0046ff50
mov edi, eax
mov eax, dword [esp + 0xa5c]
jmp 0x45d2fd
mov edi, eax
test edi, edi
je 0x45d303
mov eax, edi
mov ecx, dword [0x4c1ea0]
mov edx, dword [esi + 4]
push 0
push ecx
mov ecx, dword [esp + 0x94]
push ebx
push edx
mov edx, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x44]
push ecx
push eax
push str.edit
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x45d3bf
test byte [esp + 0x10], 0x20
je 0x45d378
mov cx, word [esp + 0x1ec]
test cx, cx
je 0x45d378
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
movzx ecx, cx
push ecx
push 0xcc
push eax
call ebx
jmp 0x45d37e
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xc4]
test eax, eax
jns 0x45d392
xor eax, eax
mov dword [esp + 0xc4], eax
mov edx, dword [ebp]
push 0
push eax
push 0xc5
push edx
call ebx
mov eax, dword [esp + 0x19c]
test eax, eax
je 0x45d3bf
mov edx, dword [ebp]
lea ecx, [esp + 0xd4]
push ecx
push eax
push 0xcb
push edx
call ebx
test edi, edi
je case.0x45c88e.20
cmp edi, dword [esp + 0xa5c]
je case.0x45c88e.20
push edi
call fcn.0048995f
add esp, 4
jmp case.0x45c88e.20
mov eax, dword [esp + 0xa5c]
cmp word [eax], 0
mov byte [esp + 0x18], 0
je 0x45d43f
mov edi, eax
push str.LongDate
push edi
call fcn.00488309
add esp, 8
test eax, eax
jne 0x45d418
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffff6
or ecx, 4
mov dword [esp + 0x10], ecx
jmp 0x45d43f
push str.Time
push edi
call fcn.00488309
add esp, 8
test eax, eax
jne 0x45d43a
mov edx, dword [esp + 0x10]
and edx, 0xfffffffb
or edx, 9
mov dword [esp + 0x10], edx
jmp 0x45d43f
mov byte [esp + 0x18], 1
mov eax, 2
cmp dword [esp + 0x94], eax
jne 0x45d451
or dword [esp + 0x10], eax
mov eax, dword [0x4c1ea0]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x8c]
push 0
push eax
mov eax, dword [esp + 0x90]
push ebx
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push 0x4a59a4
push str.SysDateTimePick32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45c88e.20
cmp byte [esp + 0x18], 0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x45d4c2
mov edx, dword [esp + 0xa5c]
push edx
push 0
push 0x1032
push eax
call edi
mov eax, dword [esp + 0x1e4]
test eax, eax
je 0x45d4e1
mov edx, dword [ebp]
lea ecx, [esp + 0x1c0]
push ecx
push eax
push 0x1004
push edx
call edi
mov eax, dword [esp + 0x94]
test eax, eax
je 0x45d508
xor edx, edx
cmp eax, 1
mov eax, dword [ebp]
setne dl
lea ecx, [esp + 0x1a0]
push ecx
push edx
push 0x1002
push eax
call edi
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je case.0x45c88e.20
mov ecx, dword [ebp]
push eax
push 1
push 0x1006
push ecx
call edi
jmp case.0x45c88e.20
cmp dword [esp + 0x1e0], 0
jne 0x45d55f
mov edx, dword [esp + 0xa5c]
cmp word [edx], 0
je 0x45d55f
lea eax, [esp + 0x1a0]
mov ecx, edx
call fcn.0046ecd0
mov dword [esp + 0x1e0], eax
cmp eax, 3
jne 0x45d55f
or dword [esp + 0x10], 2
mov ecx, dword [esp + 0x8c]
cmp ecx, 0x80000000
jne 0x45d573
mov ecx, 0x64
mov eax, dword [esp + 0x88]
test eax, eax
jns 0x45d583
mov eax, 0x64
mov edx, dword [0x4c1ea0]
push 0
push edx
mov edx, dword [esi + 4]
push ebx
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push 0x4a59a4
push str.SysMonthCal32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x45db7b
mov edi, dword [esp + 0x10]
and edi, 2
je 0x45d5e4
push 0
push 0x16e
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x1e4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x45d609
mov edx, dword [ebp]
lea ecx, [esp + 0x1c0]
push ecx
push eax
push 0x1012
push edx
call ebx
mov eax, dword [esp + 0x1e0]
test eax, eax
je 0x45d67f
test edi, edi
je 0x45d66a
cmp eax, 1
jne 0x45d655
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
mov edx, dword [esp + 0x1a8]
mov dword [esp + 0x1b0], eax
mov eax, dword [esp + 0x1ac]
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], edx
mov dword [esp + 0x1bc], eax
mov edx, dword [ebp]
lea ecx, [esp + 0x1a0]
push ecx
push 0
push 0x1006
push edx
jmp 0x45d67d
mov ecx, dword [ebp]
lea eax, [esp + 0x1a0]
push eax
push 0
push 0x1002
push ecx
call ebx
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je 0x45d697
mov edx, dword [ebp]
push eax
push 1
push 0x100a
push edx
call ebx
mov ecx, dword [esi + 0x50]
movzx eax, byte [esp + 0x17]
imul ecx, ecx, 0x94
mov edx, dword [0x4c3f64]
push eax
mov eax, dword [ecx + edx + 0x90]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call ebx
mov edi, SysReAllocString
mov byte [esp + 0x1b], 1
cmp dword [esp + 0x88], edi
je 0x45d6dc
cmp dword [esp + 0x8c], edi
jne case.0x45c88e.20
mov eax, dword [ebp]
lea edx, [esp + 0x3c]
push edx
push 0
push 0x1009
push eax
call ebx
test eax, eax
je 0x45db7b
cmp dword [esp + 0x88], 0
jge 0x45d74e
test byte [esp + 0x10], 0x10
je 0x45d70d
mov eax, dword [esp + 0x44]
jmp 0x45d726
mov ecx, dword [ebp]
push 0
push 0
push 0x1015
push ecx
call ebx
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jge 0x45d726
mov eax, ecx
mov ecx, dword [esp + 0x88]
cmp ecx, edi
jne 0x45d73a
mov dword [esp + 0x88], eax
jmp 0x45d74e
add eax, 6
imul eax, ecx
mov edx, 0xfffffffa
sub edx, eax
mov dword [esp + 0x88], edx
mov ecx, dword [esp + 0x8c]
cmp ecx, edi
jne 0x45d848
fldz
mov ecx, dword [esp + 0x48]
fld dword [esp + 0x90]
mov dword [esp + 0x8c], ecx
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45d846
fld1
fucompp
fnstsw ax
test ah, 0x44
jnp 0x45d848
mov edi, dword [esp + 0x30]
test edi, edi
jne 0x45d7c9
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c3f64]
imul ecx, ecx, 0x94
mov edi, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push edi
mov dword [esp + 0x38], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x20c]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test byte [esp + 0x10], 0x10
mov edi, dword [esp + 0x20c]
je 0x45d7f8
mov edx, dword [esp + 0x8c]
lea eax, [edx + edi + 4]
mov dword [esp + 0x8c], eax
fild dword [esp + 0x8c]
fld dword [esp + 0x90]
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.00496940
add edi, 0xfffffffe
mov dword [esp + 0x8c], eax
fild dword [esp + 0x8c]
mov dword [esp + 0x1c], edi
fild dword [esp + 0x1c]
fxch st(2)
fsub qword [0x4b8928]
fmulp st(2)
fsubrp st(1)
call fcn.00496940
mov ecx, eax
mov dword [esp + 0x8c], ecx
jmp 0x45d848
fstp st(0)
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
push 1
push ecx
mov ecx, dword [esp + 0x90]
push ecx
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp case.0x45c88e.20
mov edx, dword [0x4c1ea0]
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x8c]
push 0
push edx
mov edx, dword [esp + 0x90]
push ebx
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push 0x4a59a4
push str.msctls_hotkey32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x45db7b
mov eax, dword [esp + 0xa5c]
cmp word [eax], 0
je 0x45d8ec
push 0
call fcn.004647e0
mov edx, dword [ebp]
movzx ecx, ax
push ecx
push 0x401
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xc4]
test eax, eax
jle 0x45db7b
push 6
push eax
mov eax, dword [ebp]
push 0x403
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x45c88e.20
test byte [esp + 0x10], 0x10
je 0x45dad3
cmp dword [esi + 8], 0
jne 0x45d939
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x45dad3
test byte [eax + 5], 0x80
je 0x45dad3
and dword [esp + 0x10], 0xffffffef
mov byte [esp + 0x18], 1
mov ecx, dword [0x4c1ea0]
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x8c]
push 0
push ecx
mov ecx, dword [esp + 0x90]
push ebx
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push 0x4a59a4
push str.msctls_updown32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x45db7b
cmp byte [esp + 0x18], 0
mov ebx, dword [esp + 0x1c]
je 0x45d9b2
mov ecx, dword [ebx]
push 0
push ecx
push 0x469
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x10], 0
je 0x45db23
test byte [esp + 0x10], 0x10
jne 0x45d9ce
cmp byte [esp + 0x18], 0
je 0x45db23
mov eax, dword [ebp]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 4]
push 2
lea ecx, [esp + 0x40]
push ecx
push edx
push 0
call edi
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
sub edx, eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x84], ecx
sub eax, ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov edx, dword [ebx]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 4]
push 2
lea eax, [esp + 0x54]
push eax
push ecx
push 0
call edi
cmp byte [esi + 0xbf], 0
je 0x45dab0
test byte [esp + 0x10], 4
je 0x45da82
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x80]
add dword [esp + 0x44], eax
push 1
push edx
add ecx, eax
push eax
mov eax, dword [esp + 0x90]
push eax
push ecx
mov dword [esp + 0x94], ecx
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
add eax, dword [esp + 0x88]
push 1
sub edx, ecx
push edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x60], eax
sub eax, edx
push eax
mov eax, dword [ebx]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov cl, byte [esp + 0x10]
test cl, 4
je 0x45dadd
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
sub edx, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], edx
jmp 0x45daec
mov byte [esp + 0x18], 0
jmp 0x45d943
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x88], eax
cmp byte [esp + 0x1ee], 0
jne 0x45db40
cmp byte [ebx + 4], 9
jne 0x45db2d
mov byte [esp + 0x1ee], 1
test cl, 0x40
je 0x45db16
mov dword [esp + 0x9c], 0x7fff
jmp 0x45db40
mov dword [esp + 0x98], 0x7fff
jmp 0x45db40
cmp byte [esp + 0x1ee], 0
jne 0x45db40
mov byte [esp + 0x1ee], 1
mov dword [esp + 0x9c], 0x64
lea ecx, [esp + 0x60]
mov eax, ebp
call fcn.00464ad0
mov esi, dword [esp + 0xa5c]
call fcn.0040c970
mov cl, byte [ebp + 5]
and cl, 0x80
movzx edx, cl
neg edx
push eax
mov eax, dword [ebp]
sbb edx, edx
and edx, 0xa
push 0
add edx, 0x467
push edx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0xa50]
mov edi, dword [esp + 0x30]
test edi, edi
je 0x45dba5
mov eax, dword [esp + 0x34]
test eax, eax
je 0x45db9a
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 4]
push edi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp], 0
jne 0x45deb1
push 0x4a59a4
push str.Cant_create_control.
mov ecx, 0x4c4000
call fcn.0042f0c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa3c
ret 0x10
mov ecx, dword [0x4c1ea0]
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x8c]
push 0
push ecx
mov ecx, dword [esp + 0x90]
push ebx
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push 0x4a59a4
push str.msctls_trackbar32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x45db7b
lea eax, [esp + 0x60]
mov esi, ebp
call fcn.00464b90
mov eax, dword [esp + 0xa5c]
cmp word [eax], 0
je 0x45db7b
mov esi, eax
call fcn.0040c970
test byte [ebp + 5], 0x80
je 0x45dc54
push eax
mov edi, ebp
call fcn.00464b50
mov ecx, dword [ebp]
push eax
push 1
push 0x405
push ecx
jmp 0x45db75
mov edx, dword [0x4c1ea0]
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x8c]
push 0
push edx
mov edx, dword [esp + 0x90]
push ebx
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push 0x4a59a4
push str.msctls_progress32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x45db7b
mov ecx, dword [esp + 0x10]
push ecx
push esi
lea eax, [esp + 0x68]
mov ecx, ebp
call fcn.00464d70
mov edx, dword [esp + 0xa5c]
cmp word [edx], 0
je 0x45dcf6
push 0
mov esi, edx
call fcn.0040c970
push eax
mov eax, dword [ebp]
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0xa50]
mov byte [esp + 0x2c], 0
jmp case.0x45c88e.20
mov ecx, dword [0x4c1ea0]
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x8c]
push 0
push ecx
mov ecx, dword [esp + 0x90]
push ebx
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push 0x4a59a4
push str.SysTabControl32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x45db7b
mov al, byte [esi + 0xb8]
mov byte [esi + 0xb9], al
inc al
push 0x464570
mov byte [esi + 0xba], 0
mov byte [esi + 0xb8], al
mov eax, dword [ebp]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x4c1ec4], eax
jmp case.0x45c88e.20
cmp byte [0x4c56cd], 0
jne 0x45ddce
push 0x4b6e40
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x45ddce
push str.AtlAxWinInit
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45ddbe
call eax
test eax, eax
setne byte [0x4c56cd]
cmp byte [0x4c56cd], 0
jne 0x45ddce
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [0x4c1ea0]
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x8c]
push 0
push ecx
mov ecx, dword [esp + 0x90]
push ebx
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0xa78]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push str.AtlAxWin
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x45db7b
push eax
call fcn.00455840
add esp, 4
test eax, eax
jne 0x45de47
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45c88e.20
mov ecx, dword [ebp + 8]
push eax
test ecx, ecx
je 0x45de5b
mov eax, ecx
call fcn.004127e0
jmp case.0x45c88e.20
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
jmp case.0x45c88e.20
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0xa5c]
mov eax, dword [esp + 0x10]
push ebx
push ecx
push edx
push eax
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowW]
mov dword [ebp], eax
test eax, eax
je case.0x45c88e.20
mov ecx, dword [esp + 0xc0]
mov dword [esi + 8], eax
cmp ecx, 0xffffffff
je case.0x45c88e.20
push ecx
push 0
push 0x2001
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x45c88e.20
mov eax, dword [esp + 0x7c]
inc dword [esi + 0x10]
mov dl, byte [esp + 0x2f]
mov byte [esi + 0xbf], dl
test eax, eax
je 0x45ded0
mov ecx, dword [ebp]
push ecx
push eax
call fcn.004715d0
cmp byte [ebp + 4], 6
jne 0x45def4
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x45deee
push eax
mov eax, dword [esi + 0x10]
dec eax
push ebp
mov ecx, esi
call fcn.00464a20
mov byte [esi + 0x44], 1
jmp 0x45def8
mov byte [esi + 0x44], 0
test dword [esp + 0x64], 0x10000000
je 0x45df06
or byte [ebp + 5], 8
test dword [esp + 0x60], 0x8000000
je 0x45df14
or byte [ebp + 5], 0x10
cmp byte [esp + 0x2c], 0
jne 0x45df3f
cmp dword [ebp + 0x10], 0xff000000
je 0x45df33
mov al, byte [ebp + 4]
cmp al, 5
je 0x45df3f
cmp al, 6
je 0x45df3f
cmp al, 3
je 0x45df3f
cmp byte [ebp + 4], 3
jne 0x45df4b
test byte [ebp + 5], 0x40
je 0x45df4b
mov edx, dword [ebp]
push edx
call fcn.00471340
add esp, 4
cmp byte [esp + 0x1b], 0
jne 0x45df82
cmp byte [esp + 0x2e], 0
je 0x45df82
mov ecx, dword [esi + 0x50]
movzx eax, byte [esp + 0x17]
imul ecx, ecx, 0x94
mov edx, dword [0x4c3f64]
push eax
mov eax, dword [ecx + edx + 0x90]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x1e8], 4
jne 0x45df9c
mov edx, dword [ebp]
push 0
push 0
push 0xb
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xa5c]
cmp word [eax], 0
je 0x45dfb9
mov ecx, dword [esp + 0x94]
push ecx
push esi
mov edi, ebp
call fcn.00461110
cmp byte [ebp + 4], 0x13
jne 0x45e06b
fldz
fcomp dword [esp + 0x90]
fnstsw ax
test ah, 5
jp 0x45e06b
mov eax, dword [ebp]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x10]
test al, 2
je 0x45e1eb
test al, al
js 0x45e1eb
mov ecx, dword [ebp]
and eax, 0xfffffffd
push eax
push 0xfffffffffffffff0
push ecx
mov bl, 1
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp]
lea edx, [esp + 0x3c]
push edx
push 1
push 0x1328
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test bl, bl
je 0x45e037
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp]
push ecx
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
push 1
push eax
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x90]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [esp + 0x23], 0
je 0x45e0da
mov edx, dword [ebp]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
sub eax, dword [esp + 0x40]
sub ecx, dword [esp + 0x3c]
cmp byte [esp + 0xa54], 9
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], ecx
jne 0x45e0da
test dword [esp + 0x10], 0x100000
je 0x45e0da
mov eax, dword [esp + 0xc8]
test eax, eax
jns 0x45e0c8
lea eax, [ecx + ecx*2]
mov dword [esp + 0xc8], eax
push 0
push eax
mov eax, dword [ebp]
push 0x194
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [esp + 0x4c]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
test ebx, ebx
je 0x45e13b
cmp byte [esp + 0x2d], 0
je 0x45e122
mov edx, dword [ebp]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 4]
push 2
lea eax, [esp + 0x40]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi + 4]
push 0
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
test byte [ebx + 5], 0x80
je 0x45e13b
mov ecx, dword [ebp]
mov edx, dword [ebx]
push 0x13
push 0
push 0
push 0
push 0
push ecx
push edx
call edi
mov eax, dword [esi + 8]
test eax, eax
je 0x45e151
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call edi
cmp byte [esp + 0xa54], 0x16
je 0x45e20a
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x8c]
mov edi, dword [esp + 0x84]
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], ecx
add eax, edx
add ecx, edi
mov dword [esi + 0x80], edx
mov dword [esi + 0x84], edi
cmp eax, dword [esi + 0x90]
jle 0x45e1a5
mov dword [esi + 0x90], eax
cmp ecx, dword [esi + 0x94]
jle 0x45e1b3
mov dword [esi + 0x94], ecx
cmp byte [esp + 0x1f0], 0
jne 0x45e1f2
mov ebx, dword [esi + 0x10]
cmp ebx, 1
je 0x45e1f2
cmp ebx, 2
jne 0x45e1d3
mov ebx, dword [esi + 0x18]
cmp byte [ebx + 4], 0x16
je 0x45e1f2
cmp eax, dword [esi + 0xa0]
jle 0x45e1e1
mov dword [esi + 0xa0], eax
cmp ecx, dword [esi + 0xa4]
jle 0x45e20a
jmp 0x45e204
xor bl, bl
jmp 0x45e00c
mov dword [esi + 0x98], edx
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], ecx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xa3c
ret 0x10