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

Disassembly:
cmp cl, 0xc
jne 0x455aed
add eax, 8
test dword [esp + 0x10], 0x100000
mov dword [esp + 0x8c], eax
je 0x455b13
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x8c], eax
jmp 0x455b13
cmp cl, 4
jne 0x455b13
mov edx, dword [esi + 0x48]
mov ecx, dword [0x4c2f44]
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 0x455b25
cmp ebx, eax
jle case.0x455907.2
add ebx, dword [esp + 0x28]
cmp byte [esp + 0xa54], 4
mov byte [esp + 0x2f], 1
mov dword [esp + 0x88], ebx
jne case.0x455907.2
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [esi + 0x48]
mov ecx, dword [0x4c2f44]
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.0x455bac.4
mov ecx, dword [esi + 0x48]
mov edx, dword [0x4c2f44]
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.0x455bac.4
movzx edx, byte [edx + 0x457788]
jmp dword [edx*4 + 0x457768]
mov dword [esp + 0x88], eax
jmp case.0x455bac.4
add eax, eax
mov dword [esp + 0x88], eax
jmp case.0x455bac.4
test byte [esp + 0x10], 0x40
je 0x455bd7
mov dword [esp + 0x88], eax
jmp case.0x455bac.4
add ecx, ecx
mov dword [esp + 0x88], ecx
jmp case.0x455bac.4
mov ecx, dword [esp + 0x10]
test cl, 2
je case.0x455bac.7
mov eax, dword [esp + 0xac]
push ecx
call str.YYYYYYTTTTTTTYYYYYYYYY
mov dword [esp + 0x88], eax
jmp case.0x455bac.4
test byte [esp + 0x10], 4
je case.0x455bac.7
lea edx, [ecx + ecx]
jmp 0x455c1e
mov ecx, dword [esi + 0x78]
lea edx, [eax + ecx*2]
jmp 0x455c1e
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 0x455d30
test byte [esp + 0x10], 4
jne 0x455d30
fld1
fcomp dword [esp + 0x90]
fnstsw ax
test ah, 0x41
jne 0x455d30
test edi, edi
jne 0x455c87
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x48]
mov edx, dword [0x4c2f44]
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 0x455cc3
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub ebx, eax
mov dword [esp + 0x28], ebx
test ebx, ebx
jle 0x455d27
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 [0x4b7848]
fstp dword [esp + 0x90]
fld dword [0x4b78e8]
fcomp dword [esp + 0x90]
fnstsw ax
test ah, 5
jp 0x455d30
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 0x455d30
and eax, 0x201040
or dword [esp + 0x10], eax
jmp 0x455d30
fld1
fstp dword [esp + 0x90]
cmp byte [esp + 0x1f1], 0
mov eax, dword [esi]
mov ebx, dword [esi + 0xc]
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 0x455d6c
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0x17], 1
test eax, eax
je 0x455d71
mov byte [esp + 0x17], 0
cmp byte [ebp + 6], 0xff
mov byte [esp + 0x2d], 0
jae 0x455dc2
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x455dba
mov edx, dword [edi]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x455dba
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 0x455dba
mov dl, byte [esp + 0x17]
mov byte [esp + 0x2d], dl
jmp 0x455dc2
and dword [esp + 0x10], 0xefffffff
mov eax, dword [esp + 0x38]
mov edi, dword [sym.imp.USER32.dll_MapWindowPoints]
dec eax
cmp eax, 0x14
ja case.0x455dd6.20
jmp dword [eax*4 + 0x45779c]
mov eax, dword [0x4c0d14]
mov ecx, dword [esi]
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.0x455dd6.20
mov ecx, dword [esp + 0x88]
cmp ecx, 0x80000000
jne 0x455e46
xor ecx, ecx
mov dword [esp + 0x88], ecx
mov eax, dword [esp + 0x8c]
cmp eax, 0x80000000
jne 0x455e5d
xor eax, eax
mov dword [esp + 0x8c], eax
mov edx, dword [0x4c0d14]
push 0
push edx
mov edx, dword [esi]
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.0x455dd6.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 0x4bd7c6
add esp, 0x18
mov dword [ebp + 0x10], eax
test eax, eax
je case.0x455dd6.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 ecx, dword [0x4c0d14]
mov edx, dword [esi]
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 0x4a68a4
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x455dd6.20
mov ecx, dword [0x4c0d14]
mov edx, dword [esi]
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 0x4a68a4
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x455dd6.20
mov ebx, dword [esp + 0x10]
test bl, 1
je case.0x455dd6.20
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0xc]
jae 0x45602f
mov edx, dword [esi + 0x14]
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 + 0x14]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
and eax, 0xfffe
push eax
mov eax, dword [esi + 0x18]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4]
push 0xf4
push eax
call edi
jmp 0x456035
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
push 0
mov dword [esi + 0x18], 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.0x455dd6.20
mov ecx, dword [0x4c0d14]
mov edx, dword [esi]
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 0x4a68a4
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x455dd6.20
mov ecx, dword [esp + 0xcc]
test ecx, ecx
je case.0x455dd6.20
push 0
push ecx
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x455dd6.20
cmp dword [esp + 0xc4], 0
je 0x4560ee
cmp byte [ebp + 4], 8
jne 0x4560ee
and dword [esp + 0x10], 0xffffffbf
mov ecx, dword [0x4c0d14]
mov edx, dword [esi]
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 0x4a5c64
push str.Combobox
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x455dd6.20
test byte [edi + 0xf], dh
add byte [eax], al
mov ecx, dword [0x4c0d14]
mov edx, dword [esi]
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 0x4a5c64
push str.Listbox
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x455dd6.20
mov ecx, dword [esp + 0x19c]
test ecx, ecx
je 0x456289
lea edx, [esp + 0xd4]
push edx
push ecx
push 0x192
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x48]
movzx eax, byte [esp + 0x17]
imul ecx, ecx, 0x94
mov edx, dword [0x4c2f44]
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
adc byte [eax], al
mov eax, dword [esp + 0x74]
cmp eax, 4
je 0x45636c
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 0x45637f
mov eax, 0xc8
mov edx, dword [0x4c0d14]
mov ecx, dword [esi]
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 0x4a5c64
push str.SysListView32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
mov dword [ebp], ebx
test ebx, ebx
je case.0x455dd6.20
push 0x3f8
call 0x4d7636
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x4563f3
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x455dd6.20
push 0x3f8
mov dword [esi + 0x4c], ebp
mov ecx, dword [ebp + 0x10]
push 0
push ecx
call 0x4e12c2
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 0x45642b
or byte [eax + 5], 0x80
cmp dword [esp + 0x74], 4
jne 0x456445
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 0x45645f
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 0x4b3576
cmp dword [esp + 0x8c], 0x80000000
jne case.0x455dd6.20
mov edx, dword [esi + 0x48]
movzx ecx, byte [esp + 0x17]
imul edx, edx, 0x94
mov eax, dword [0x4c2f44]
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 0x45660c
sub eax, 3
je 0x4565de
mov ebx, dword [esp + 0x30]
test ebx, ebx
jne 0x4564f7
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x48]
mov edx, dword [0x4c2f44]
imul ecx, ecx, 0x94
mov ebx, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push ebx
mov dword [esp + 0x38], ebx
and al, 0x38
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 0x4ebb53
add eax, 7
jmp 0x45664a
fld dword [esp + 0x90]
mov ecx, dword [ebp]
fnstcw word [esp + 0x18]
push 0xffffffffffffffff
mov eax, dword [esp + 0x8c]
cmp eax, 0x80000000
jne 0x45668e
mov eax, 0xc8
mov ecx, dword [0x4c0d14]
mov edx, dword [esi]
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 0x4a5c64
push str.SysTreeView32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x455dd6.20
cmp dword [esp + 0xcc], 0
mov dword [esi + 0x50], ebp
je 0x4566fd
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
test cl, 4
jne 0x456814
cmp dword [esp + 0xc4], 0
jge 0x456803
and ecx, 0xffefff7f
jmp 0x456810
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 0x456838
test cl, 4
je 0x456838
mov edi, eax
call 0x4bd859
mov edi, eax
mov eax, dword [esp + 0xa5c]
jmp 0x45683a
mov edi, eax
test edi, edi
je 0x456840
mov eax, edi
mov ecx, dword [0x4c0d14]
mov edx, dword [esi]
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 0x4568fb
test byte [esp + 0x10], 0x20
je 0x4568b4
mov cx, word [esp + 0x1ec]
test cx, cx
je 0x4568b4
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
movzx ecx, cx
push ecx
push 0xcc
push eax
call ebx
jmp 0x4568ba
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xc4]
test eax, eax
jns 0x4568ce
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 0x4568fb
mov edx, dword [ebp]
lea ecx, [esp + 0xd4]
push ecx
push eax
push 0xcb
push edx
call ebx
test edi, edi
je case.0x455dd6.20
cmp edi, dword [esp + 0xa5c]
je case.0x455dd6.20
push edi
call 0x4d90d7
add esp, 4
jmp case.0x455dd6.20
mov eax, dword [esp + 0xa5c]
cmp word [eax], 0
mov byte [esp + 0x18], 0
je 0x45697b
mov edi, eax
push str.LongDate
push edi
call 0x4d7b12
add esp, 8
test eax, eax
jne 0x456954
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffff6
or ecx, 4
mov dword [esp + 0x10], ecx
jmp 0x45697b
push str.Time
push edi
call 0x4d7b34
add esp, 8
test eax, eax
jne 0x456976
mov edx, dword [esp + 0x10]
and edx, 0xfffffffb
or edx, 9
mov dword [esp + 0x10], edx
jmp 0x45697b
mov byte [esp + 0x18], 1
mov eax, 2
cmp dword [esp + 0x94], eax
jne 0x45698d
or dword [esp + 0x10], eax
mov eax, dword [0x4c0d14]
mov ecx, dword [esi]
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 0x4a5c64
push str.SysDateTimePick32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x455dd6.20
cmp byte [esp + 0x18], 0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x4569fd
mov edx, dword [esp + 0xa5c]
push edx
push 0
push 0x1032
push eax
call edi
mov eax, dword [esp + 0x1e4]
test eax, eax
je 0x456a1c
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 0x456a43
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.0x455dd6.20
mov ecx, dword [ebp]
push eax
push 1
push 0x1006
push ecx
call edi
jmp case.0x455dd6.20
cmp dword [esp + 0x1e0], 0
jne 0x456a9a
mov edx, dword [esp + 0xa5c]
cmp word [edx], 0
je 0x456a9a
lea eax, [esp + 0x1a0]
mov ecx, edx
call 0x4bc835
mov dword [esp + 0x1e0], eax
cmp eax, 3
jne 0x456a9a
or dword [esp + 0x10], 2
mov ecx, dword [esp + 0x8c]
cmp ecx, 0x80000000
jne 0x456aae
mov ecx, 0x64
mov eax, dword [esp + 0x88]
test eax, eax
jns 0x456abe
mov eax, 0x64
mov edx, dword [0x4c0d14]
push 0
push edx
mov edx, dword [esi]
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 0x4a5c64
push str.SysMonthCal32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x4570b0
mov edi, dword [esp + 0x10]
and edi, 2
je 0x456b1e
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 0x456b43
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 0x456bb9
test edi, edi
je 0x456ba4
cmp eax, 1
jne 0x456b8f
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 0x456bb7
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 0x456bd1
mov edx, dword [ebp]
push eax
push 1
push 0x100a
push edx
call ebx
mov ecx, dword [esi + 0x48]
movzx eax, byte [esp + 0x17]
imul ecx, ecx, 0x94
mov edx, dword [0x4c2f44]
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 0x456c16
cmp dword [esp + 0x8c], edi
jne case.0x455dd6.20
mov eax, dword [ebp]
lea edx, [esp + 0x3c]
push edx
push 0
push 0x1009
push eax
call ebx
test eax, eax
je 0x4570b0
cmp dword [esp + 0x88], 0
jge 0x456c88
test byte [esp + 0x10], 0x10
je 0x456c47
mov eax, dword [esp + 0x44]
jmp 0x456c60
mov ecx, dword [ebp]
push 0
push 0
push 0x1015
push ecx
call ebx
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jge 0x456c60
mov eax, ecx
mov ecx, dword [esp + 0x88]
cmp ecx, edi
jne 0x456c74
mov dword [esp + 0x88], eax
jmp 0x456c88
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 0x456d81
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 0x456d7f
fld1
fucompp
fnstsw ax
test ah, 0x44
jnp 0x456d81
mov edi, dword [esp + 0x30]
test edi, edi
jne 0x456d02
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x48]
mov edx, dword [0x4c2f44]
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 0x456d31
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 0x4ec296
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 [0x4b7848]
fmulp st(2)
fsubrp st(1)
call 0x4ec2c0
mov ecx, eax
mov dword [esp + 0x8c], ecx
jmp 0x456d81
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.0x455dd6.20
mov edx, dword [0x4c0d14]
mov eax, dword [esi]
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 0x4a5c64
push str.msctls_hotkey32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x4570b0
mov eax, dword [esp + 0xa5c]
cmp word [eax], 0
je 0x456e24
push 0
call 0x4b3a0d
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 0x4570b0
push 6
push eax
mov eax, dword [ebp]
push 0x403
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x455dd6.20
test byte [esp + 0x10], 0x10
je 0x457008
cmp dword [esi + 4], 0
jne 0x456e71
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x457008
test byte [eax + 5], 0x80
je 0x457008
and dword [esp + 0x10], 0xffffffef
mov byte [esp + 0x18], 1
mov ecx, dword [0x4c0d14]
mov edx, dword [esi]
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 0x4a5c64
push str.msctls_updown32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
xchg esp, eax
dec ecx
add byte [ecx - 0x3f7affbb], cl
mov byte [esp + 0x18], 0
jmp 0x456e7b
mov ecx, dword [0x4c0d14]
mov edx, dword [esi]
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 0x4a5c64
push str.msctls_trackbar32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x4570b0
lea eax, [esp + 0x60]
mov esi, ebp
call 0x4b418d
mov eax, dword [esp + 0xa5c]
cmp word [eax], 0
je 0x4570b0
mov esi, eax
call fcn.00462e85
test byte [ebp + 5], 0x80
je 0x457187
push eax
mov edi, ebp
call 0x4b4173
mov ecx, dword [ebp]
push eax
push 1
push 0x405
push ecx
jmp 0x4570aa
mov edx, dword [0x4c0d14]
mov eax, dword [esi]
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 0x4a5c64
push str.msctls_progress32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x4570b0
mov ecx, dword [esp + 0x10]
push ecx
push esi
lea eax, [esp + 0x68]
mov ecx, ebp
call 0x4b4407
mov edx, dword [esp + 0xa5c]
cmp word [edx], 0
je 0x457228
push 0
mov esi, edx
call 0x462f1d
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.0x455dd6.20
mov ecx, dword [0x4c0d14]
mov edx, dword [esi]
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 0x4a5c64
push str.SysTabControl32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x4570b0
mov al, byte [esi + 0x54]
mov byte [esi + 0x55], al
inc al
push fcn.0045d580
mov byte [esi + 0x56], 0
mov byte [esi + 0x54], al
mov eax, dword [ebp]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x4c0d38], eax
jmp case.0x455dd6.20
mov ecx, dword [esi]
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.0x455dd6.20
mov ecx, dword [esp + 0xc0]
mov dword [esi + 4], eax
cmp ecx, 0xffffffff
je case.0x455dd6.20
push ecx
push 0
push 0x2001
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x455dd6.20