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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1e8
push esi
mov esi, dword [ebp + 0x1c]
push edi
xor edi, edi
mov dword [esp + 0x14], ecx
cmp byte [ebp + 0x20], 0
mov dword [esp + 0x2c], esi
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
je 0x44f9c2
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
cmp word [esi], di
je 0x44fa6c
push 0x3a
push esi
call fcn.004cbd94
mov ecx, eax
add esp, 8
mov dword [esp + 0x3c], ecx
movzx eax, word [esi]
cmp eax, 0x20
je 0x44f8c2
cmp eax, 9
jne 0x44f8c7
add esi, 2
jmp 0x44f8b5
test ecx, ecx
je 0x44f976
mov eax, dword [esp + 0x2c]
mov edi, ecx
sub edi, eax
sar edi, 1
cmp edi, 0x20
jae 0x44f974
push edi
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.004d95fc
add esp, 0xc
lea ecx, [esp + 0xd0]
xor eax, eax
xor edx, edx
mov word [esp + edi*2 + 0xd0], ax
push eax
push 1
push eax
call fcn.004af560
add esp, 0xc
test eax, eax
je 0x44f974
mov eax, dword [esp + 0x3c]
add eax, 2
mov dword [esp + 0x4c], eax
mov edx, eax
movzx eax, word [edx]
mov ecx, eax
mov dword [esp + 0x3c], ecx
cmp eax, 0x20
je 0x44f937
cmp eax, 9
jne 0x44f93c
add edx, 2
jmp 0x44f924
lea ecx, [esp + 0xd0]
mov dword [esp + 0x2c], edx
mov esi, edx
call fcn.00419340
mov edi, eax
sub edi, 1
js 0x44f96b
cmp word [esp + 0x3c], 0
mov eax, esi
cmovne eax, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
cmp edi, 0xa
jl 0x44f976
push dword [esp + 0xc]
jmp 0x450c6f
xor edi, edi
push 0x5068e8
push esi
call fcn.004ce516
add esp, 8
test eax, eax
jne 0x44f99a
mov edx, dword [esp + 0x20]
mov byte [esp + 0x11], 1
mov dword [esp + 0x24], edx
jmp 0x44fa74
push str.Show
push esi
call fcn.004ce516
add esp, 8
test eax, eax
jne 0x44fa6c
mov edx, dword [esp + 0x20]
mov byte [esp + 0x12], 1
mov dword [esp + 0x24], edx
jmp 0x44fa74
mov esi, dword [ebp + 8]
push 0x3a
push esi
call fcn.004cbd94
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
je 0x44f9f2
mov ecx, esi
call fcn.00419340
lea edi, [eax - 1]
cmp edi, 9
ja 0x450c6e
mov esi, dword [esp + 0xc]
add esi, 2
movzx eax, word [esi]
cmp eax, 0x20
je 0x44f9ef
cmp eax, 9
je 0x44f9ef
push 0x5068e8
push esi
mov dword [esp + 0x14], esi
call fcn.004ce516
add esp, 8
test eax, eax
jne 0x44fa24
mov edx, dword [esp + 0x20]
mov byte [esp + 0x11], 1
mov dword [esp + 0x24], edx
jmp 0x44fa74
push str.Show
push esi
call fcn.004ce516
add esp, 8
test eax, eax
jne 0x44fa45
mov edx, dword [esp + 0x20]
mov byte [esp + 0x12], 1
mov dword [esp + 0x24], edx
jmp 0x44fa74
push 0
push 1
push 0
mov edx, 1
mov ecx, esi
call fcn.004af560
add esp, 0xc
test eax, eax
je 0x44fa6c
mov ecx, esi
call fcn.00419340
mov byte [esp + 0x13], 1
jmp 0x44fa70
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov dl, byte [ebp + 0x20]
mov eax, 0x51edc8
test dl, dl
mov ecx, 0x51f0c0
cmovne ecx, eax
imul edi, edi, 0x4c
add edi, ecx
mov dword [esp + 0x6c], edi
mov eax, dword [edi + 0x20]
test eax, eax
je 0x44faa7
push eax
call dword [sym.imp.USER32.dll_IsWindow]
mov dl, byte [ebp + 0x20]
test eax, eax
jne 0x44faa7
mov dword [edi + 0x20], eax
cmp byte [esp + 0x12], 0
je 0x44fae0
mov eax, dword [edi + 0x20]
test eax, eax
je 0x450c57
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x450c57
push 4
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
cmp byte [esp + 0x11], 0
jne 0x44fb90
cmp dword [edi + 0x20], 0
je 0x44fb90
mov eax, dword [esp + 0x2c]
cmp word [eax], 0
jne 0x44fb90
mov al, byte [esp + 0x13]
test al, al
jne 0x44fb15
mov esi, dword [esp + 0xc]
cmp word [esi], 0
jne 0x44fb94
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test dl, dl
jne 0x44fb41
test al, al
je 0x44fb41
mov ecx, dword [esp + 0x24]
cmp dword [edi + 8], ecx
je 0x44fb41
mov eax, dword [edi + 0x2c]
mov dword [edi + 8], ecx
test eax, eax
je 0x44fb41
push 0
push ecx
push 0x402
push eax
call esi
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x44fb59
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x44fb59
push eax
push 0
push 0xc
push ecx
call esi
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x44fb6c
push eax
push 0
push 0xc
push dword [edi + 0x34]
call esi
mov eax, dword [ebp + 0x14]
cmp word [eax], 0
je 0x450c57
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [esp + 0xc]
mov eax, dword [edi + 0x20]
test eax, eax
je 0x44fba2
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x38]
mov ecx, dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x60], ecx
test eax, eax
je 0x44fbba
push eax
call ecx
mov ecx, dword [esp + 0x60]
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x44fbc4
push eax
call ecx
mov eax, dword [edi + 0x40]
test eax, eax
je 0x44fbd0
push eax
call dword [esp + 0x64]
mov eax, dword [edi + 0x28]
test eax, eax
je 0x44fbea
cmp dword [edi + 0x24], 0
push eax
jne 0x44fbe4
call dword [esp + 0x64]
jmp 0x44fbea
call dword [sym.imp.USER32.dll_DestroyIcon]
push 0x4c
push 0
push edi
call fcn.004cc590
add esp, 0xc
cmp byte [esp + 0x11], 0
jne 0x450c57
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x68], ecx
cmp word [ecx], 0
jne 0x44fc2b
mov ecx, dword [0x521750]
mov dword [esp + 0x68], ecx
test ecx, ecx
je 0x44fc23
cmp word [ecx], 0
jne 0x44fc2b
mov dword [esp + 0x68], 0x4f03e8
mov dl, byte [ebp + 0x20]
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], eax
mov eax, dword [sym.imp.KERNEL32.dll_MulDiv]
mov byte [esp + 0x11], 1
mov byte [esp + 0x12], 1
mov byte [esp + 0x1a], 1
mov byte [esp + 0x1b], 0
mov dword [esp + 0x1c], 0x88c00000
mov dword [esp + 0x5c], 8
mov dword [esp + 0x58], connect
mov dword [esp + 0x54], connect
mov dword [esp + 0x3c], 0xff000000
mov dword [edi + 0x44], 0xff000000
mov dword [edi + 0x48], 0xff000000
mov dword [edi + 4], connect
mov dword [esp + 0x38], eax
test dl, dl
je 0x44fcaf
mov eax, connect
mov ecx, eax
jmp 0x44fcc8
push 0x60
push dword [0x520c54]
push 0x12c
call eax
mov dl, byte [ebp + 0x20]
mov ecx, eax
mov eax, 0x14
mov dword [edi], ecx
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x18], connect
cmp word [eax], 0
mov eax, dword [ebp + 0xc]
jne 0x44fcf0
cmp word [eax], 0
jne 0x44fcf0
test dl, dl
je 0x44fcf0
xor eax, eax
xor ecx, ecx
jmp 0x44fcfa
mov eax, 0xa
mov ecx, 5
mov dword [edi + 0x10], ecx
mov dword [edi + 0xc], eax
movzx eax, word [esi]
test ax, ax
je 0x4502c2
mov ecx, eax
nop
movzx esi, cx
test esi, 0xffffff80
jne 0x44fd2d
push 2
push esi
call fcn.004d4154
add esp, 8
test eax, eax
je 0x44fd2d
and esi, 0xffffffdf
add esi, 0xffffffbf
cmp esi, 0x19
ja case.0x44fd40.68
movzx eax, byte [esi + 0x450cc0]
jmp dword [eax*4 + 0x450c88]
and dword [esp + 0x5c], 0xfffffff7
jmp case.0x44fd40.68
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
and edx, 0xff3fffff
mov dword [esp + 0x1c], edx
movzx ecx, word [eax + 2]
cmp ecx, 0x31
jne 0x44fd7b
or edx, 0x800000
mov dword [esp + 0x1c], edx
jmp 0x4502ad
cmp ecx, 0x32
jne 0x4502ad
or edx, 0x400000
mov dword [esp + 0x1c], edx
jmp 0x4502ad
mov ecx, dword [esp + 0xc]
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
je case.0x44fd40.68
mov esi, edx
mov dword [esp + 0xc], ecx
test esi, 0xffffff80
jne 0x44fdc8
push 2
push esi
call fcn.004d4154
add esp, 8
test eax, eax
je 0x44fdc8
and esi, 0xffffffdf
cmp esi, 0x42
je 0x44fdf3
cmp esi, 0x54
je 0x44fdf3
cmp esi, 0x57
je 0x44fdf3
mov eax, dword [esp + 0xc]
cmp word [eax], 0x30
setne byte [esp + 0x1a]
cmp word [eax + 2], 0x30
setne byte [esp + 0x12]
jmp 0x44ff70
mov esi, dword [esp + 0xc]
push 0x1f
lea eax, [esi + 2]
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.004d95fc
xor eax, eax
add esp, 0xc
mov word [esp + 0x10e], ax
lea eax, [esp + 0xd0]
mov dword [esp + 0x30], eax
mov ax, word [esp + 0xd0]
test ax, ax
je 0x44fe7b
movzx esi, ax
mov ecx, 0x506dbc
mov edx, 0x20
nop dword [eax]
cmp si, dx
je 0x44fe6a
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x44fe40
mov eax, dword [esp + 0x30]
add eax, 2
mov dword [esp + 0x30], eax
movzx eax, word [eax]
mov esi, eax
test ax, ax
jne 0x44fe32
jmp 0x44fe77
mov eax, dword [esp + 0x30]
test eax, eax
je 0x44fe77
xor ecx, ecx
mov word [eax], cx
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0xd0]
call fcn.004b09b0
mov dword [esp + 0x28], eax
cmp eax, 0xffffffff
jne 0x44feef
lea ecx, [esp + 0xd0]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44fea0
sub ecx, edx
sar ecx, 1
cmp ecx, 6
jbe 0x44febe
xor eax, eax
mov word [esp + 0xdc], ax
push 0x10
lea eax, [esp + 0xd4]
push 0
push eax
call fcn.004cfd31
movzx edx, ax
add esp, 0xc
movzx ecx, al
shr edx, 8
shl ecx, 8
or edx, ecx
shr eax, 0x10
shl edx, 8
movzx eax, al
or edx, eax
mov dword [esp + 0x28], edx
movzx esi, word [esi]
test esi, 0xffffff80
jne 0x44ff0c
push 2
push esi
call fcn.004d4154
add esp, 8
test eax, eax
je 0x44ff0c
and esi, 0xffffffdf
cmp esi, 0x42
je 0x44ff37
cmp esi, 0x54
je 0x44ff2e
cmp esi, 0x57
jne 0x44ff3f
mov eax, dword [esp + 0x28]
push eax
mov dword [edi + 0x44], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [edi + 0x40], eax
jmp 0x44ff3f
mov eax, dword [esp + 0x28]
mov dword [edi + 0x48], eax
jmp 0x44ff3f
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0xd0]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44ff50
mov eax, dword [esp + 0xc]
sub ecx, edx
sar ecx, 1
lea eax, [eax + ecx*2]
mov dword [esp + 0xc], eax
jmp 0x44ff70
mov eax, dword [esp + 0xc]
lea ecx, [eax + 2]
movzx eax, word [ecx]
mov edx, eax
test ax, ax
je case.0x44fd40.68
mov esi, edx
mov dword [esp + 0xc], ecx
test esi, 0xffffff80
jne 0x44ffa1
push 2
push esi
call fcn.004d4154
add esp, 8
test eax, eax
je 0x44ffa1
and esi, 0xffffffdf
mov eax, dword [esp + 0xc]
cmp esi, 0x4d
je 0x44ffde
cmp esi, 0x53
jne 0x4502ad
add eax, 2
push eax
call fcn.004cfe02
mov edx, eax
add esp, 4
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], edx
test edx, edx
jns 0x4502ad
mov dword [esp + 0x44], 0
jmp 0x4502ad
add eax, 2
push eax
call fcn.004cfe02
mov edx, eax
add esp, 4
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], edx
test edx, edx
jns 0x4502ad
mov dword [esp + 0x64], 0
jmp 0x4502ad
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
and edx, 0xf7ffffff
mov ecx, edx
or ecx, 0x40000
movzx eax, word [eax + 2]
cmp eax, 0x31
cmovne ecx, edx
mov edx, ecx
or edx, 0xf0000
cmp eax, 0x32
cmovne edx, ecx
mov dword [esp + 0x1c], edx
jmp case.0x44fd40.68
mov eax, dword [esp + 0xc]
add eax, 2
push eax
call fcn.004cfe02
mov dword [esp + 0x28], eax
mov byte [esp + 0x17], 1
jmp 0x4502a6
mov eax, dword [esp + 0xc]
cmp word [eax + 2], 0
je 0x4502ad
add eax, 2
mov ecx, eax
mov dword [esp + 0xc], eax
call fcn.00419340
mov ecx, dword [esp + 0xc]
add ecx, 2
mov dword [esp + 0x4c], eax
push 0x2d
push ecx
call fcn.004cbd94
mov ecx, eax
add esp, 8
test ecx, ecx
je case.0x44fd40.68
cmp word [ecx + 2], 0
je 0x4502ad
lea eax, [ecx + 2]
mov ecx, eax
mov dword [esp + 0xc], eax
call fcn.00419340
mov dword [esp + 0x20], eax
jmp case.0x44fd40.68
mov byte [esp + 0x11], 0
jmp case.0x44fd40.68
mov ecx, dword [esp + 0xc]
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
je case.0x44fd40.68
mov esi, edx
mov dword [esp + 0xc], ecx
test esi, 0xffffff80
jne 0x4500f9
push 2
push esi
call fcn.004d4154
add esp, 8
test eax, eax
je 0x4500f9
and esi, 0xffffffdf
cmp esi, 0x4d
je 0x45015e
cmp esi, 0x53
je 0x45012f
push dword [esp + 0xc]
call fcn.004cfe02
add esp, 4
mov dword [edi], eax
cmp byte [ebp + 0x20], 0
jne case.0x44fd40.68
push 0x60
push dword [0x520c54]
push eax
call dword [esp + 0x44]
mov dword [edi], eax
jmp case.0x44fd40.68
mov eax, dword [esp + 0xc]
add eax, 2
push eax
call fcn.004cfe02
mov edx, eax
add esp, 4
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], edx
test edx, edx
jns 0x4502ad
mov dword [esp + 0x40], 0
jmp 0x4502ad
mov eax, dword [esp + 0xc]
add eax, 2
push eax
call fcn.004cfe02
mov edx, eax
add esp, 4
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], edx
test edx, edx
jns 0x4502ad
mov dword [esp + 0x34], 0
jmp 0x4502ad
push 4
push str.Hide
push dword [esp + 0x14]
call fcn.004cff45
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0xc]
jne 0x4501b5
mov byte [esp + 0x1b], 1
add eax, 6
jmp 0x4502ad
add eax, 2
push eax
call fcn.004cfe02
add esp, 4
mov dword [edi + 4], eax
cmp byte [ebp + 0x20], 0
jne case.0x44fd40.68
push 0x60
push dword [0x520c54]
push eax
call dword [esp + 0x44]
mov dword [edi + 4], eax
jmp case.0x44fd40.68
mov eax, dword [esp + 0xc]
add eax, 2
push eax
call fcn.004cfe02
mov dword [esp + 0x5c], eax
jmp 0x4502a6
mov eax, dword [esp + 0xc]
add eax, 2
push eax
call fcn.004cfe02
mov dword [esp + 0x58], eax
jmp 0x4502a6
mov ecx, dword [esp + 0xc]
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
je case.0x44fd40.68
mov esi, edx
mov dword [esp + 0xc], ecx
test esi, 0xffffff80
jne 0x450244
push 2
push esi
call fcn.004d4154
add esp, 8
test eax, eax
je 0x450244
and esi, 0xffffffdf
add esi, 0xffffffbe
cmp esi, 0x17
ja case.0x44fd40.68
movzx eax, byte [esi + 0x450cf0]
jmp dword [eax*4 + 0x450cdc]
mov eax, dword [esp + 0xc]
add eax, 2
push eax
call fcn.004cfe02
mov dword [edi + 0x1c], eax
jmp 0x4502a6
cmp byte [ebp + 0x20], 0
mov eax, dword [esp + 0xc]
je 0x4502ad
add eax, 2
push eax
call fcn.004cfe02
mov dword [edi + 0x18], eax
jmp 0x4502a6
mov eax, dword [esp + 0xc]
add eax, 2
push eax
call fcn.004cfe02
mov dword [edi + 0xc], eax
jmp 0x4502a6
mov eax, dword [esp + 0xc]
add eax, 2
push eax
call fcn.004cfe02
mov dword [edi + 0x10], eax
add esp, 4
mov eax, dword [esp + 0xc]
add eax, 2
mov dword [esp + 0xc], eax
movzx eax, word [eax]
mov ecx, eax
test ax, ax
jne 0x44fd10
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCW]
mov esi, eax
push 0x5a
push esi
mov dword [esp + 0x14], esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x11
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
mov dword [esp + 0x38], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x128]
push eax
push 0x40
push esi
call dword [sym.imp.GDI32.dll_GetTextFaceW]
lea eax, [esp + 0x1b4]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [esp + 0x1b4]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x1c]
cmp eax, 1
jge 0x450348
cmp eax, 0x80000000
je 0x45034c
mov ecx, dword [edi + 0x18]
cmp ecx, 1
jge 0x450348
cmp ecx, 0x80000000
jne 0x450352
test eax, eax
je 0x450352
cmp dword [edi + 0x18], 0
jne 0x450362
mov dword [edi + 0x18], 0
xor eax, eax
mov dword [edi + 0x1c], 0
cmp byte [ebp + 0x20], 0
je 0x450519
mov ecx, dword [esp + 0x2c]
cmp word [ecx], 0
je 0x450519
test eax, eax
je 0x450519
mov byte [esp + 0x48], 0
mov ecx, dword [esp + 0x2c]
lea eax, [edi + 0x24]
push 0
push 0
push dword [esp + 0x50]
push 0
push eax
xor eax, eax
cmp dword [edi + 0x1c], 0x80000000
cmovne eax, dword [edi + 0x1c]
xor edx, edx
cmp dword [edi + 0x18], 0x80000000
push eax
cmovne edx, dword [edi + 0x18]
call fcn.004b0d10
add esp, 0x18
mov dword [edi + 0x28], eax
test eax, eax
jne 0x4503d4
cmp byte [esp + 0x48], al
jne 0x450519
mov byte [esp + 0x48], 1
jmp 0x450387
cmp dword [edi + 0x1c], 0
jl 0x4503e4
cmp dword [edi + 0x18], 0
jge 0x450519
cmp dword [edi + 0x24], 0
je 0x450410
lea ecx, [esp + 0x114]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x450519
mov eax, dword [esp + 0x124]
test eax, eax
je 0x450519
lea ecx, [esp + 0xb8]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x4504fd
mov eax, dword [edi + 0x1c]
cmp eax, 0xffffffff
jne 0x45047d
mov ecx, dword [edi + 0x18]
test ecx, ecx
jle 0x45047d
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x4504ea
movd xmm1, dword [esp + 0xc0]
movd xmm0, eax
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
addsd xmm1, qword [0x514a08]
cvttsd2si eax, xmm1
mov dword [edi + 0x1c], eax
jmp 0x4504ea
mov ecx, dword [edi + 0x18]
cmp ecx, 0xffffffff
jne 0x4504c7
test eax, eax
jle 0x4504c7
mov ecx, dword [esp + 0xc0]
test ecx, ecx
je 0x4504ea
movd xmm1, dword [esp + 0xbc]
cvtdq2pd xmm1, xmm1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
addsd xmm1, qword [0x514a08]
cvttsd2si eax, xmm1
jmp 0x4504e7
cmp eax, 0x80000000
jne 0x4504d8
mov eax, dword [esp + 0xc0]
mov dword [edi + 0x1c], eax
cmp ecx, 0x80000000
jne 0x4504ea
mov eax, dword [esp + 0xbc]
mov dword [edi + 0x18], eax
cmp dword [edi], 0x80000000
jne 0x4504fd
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x18]
lea eax, [eax + ecx*2]
mov dword [edi], eax
cmp dword [edi + 0x24], 1
jne 0x450519
push dword [esp + 0x124]
mov esi, dword [esp + 0x64]
call esi
push dword [esp + 0x120]
call esi
mov ecx, dword [edi]
cmp ecx, 0x80000000
jne 0x450538
push 0x60
push dword [0x520c54]
push 0x12c
call dword [esp + 0x44]
mov ecx, eax
mov dword [edi], ecx
cmp dword [edi + 0x1c], 0x80000000
jne 0x450548
mov dword [edi + 0x1c], 0
mov eax, dword [edi + 4]
mov edx, 0x1f4
cmp eax, 0x80000000
cmove eax, edx
push eax
push ecx
push 0
push 0
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x450698
mov eax, dword [ebp + 0x18]
lea esi, [esp + 0x128]
mov ecx, dword [esp + 0x34]
movd xmm0, dword [esp + 0x14]
cvtdq2pd xmm0, xmm0
cmp word [eax], 0
cmovne esi, eax
test ecx, ecx
mov eax, 0x258
cmovne eax, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4505bd
push 0x48
push dword [esp + 0x2c]
push eax
call dword [esp + 0x44]
neg eax
jmp 0x4505c9
mulsd xmm0, qword [0x514a28]
cvttsd2si eax, xmm0
push esi
mov esi, dword [esp + 0x38]
push 0
push 2
push 0
push 4
push 1
push 0
push 0
push 0
push esi
push 0
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
mov dword [edi + 0x38], eax
test eax, eax
jne 0x450649
mov eax, dword [esp + 0x64]
test eax, eax
je 0x45060a
push 0x48
push dword [esp + 0x2c]
push eax
call dword [esp + 0x44]
neg eax
jmp 0x450620
movd xmm0, dword [esp + 0x14]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x514a28]
cvttsd2si eax, xmm0
lea ecx, [esp + 0x128]
push ecx
push 0
push 2
push 0
push 4
push 1
push 0
push 0
push 0
push esi
push 0
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
mov dword [edi + 0x38], eax
mov eax, dword [edi + 0x38]
test eax, eax
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0xc]
cmovne ecx, eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
movaps xmm0, xmmword [esp + 0x80]
mov ecx, dword [edi + 0xc]
movd eax, xmm0
movaps xmmword [esp + 0x70], xmm0
sub dword [esp + 0x78], ecx
add eax, ecx
push 0x450
mov dword [esp + 0x74], eax
lea eax, [esp + 0x74]
push eax
push 0xffffffffffffffff
push dword [ebp + 0x10]
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov dword [edi + 0x14], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [ebp + 0x18]
test ecx, ecx
jne 0x4506b1
cmp dword [esp + 0x40], ecx
jne 0x4506b1
test eax, eax
je 0x450739
cmp word [eax], 0
lea esi, [esp + 0x128]
push 0x48
push dword [esp + 0x2c]
cmovne esi, eax
push ecx
call dword [esp + 0x44]
push esi
push 0
push 2
push 0
mov esi, dword [sym.imp.GDI32.dll_CreateFontW]
neg eax
push 4
push 1
push 0
push 0
push 0
push dword [esp + 0x64]
push 0
push 0
push 0
push eax
call esi
mov dword [edi + 0x3c], eax
test eax, eax
jne 0x450739
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
test eax, eax
jne 0x450707
test ecx, ecx
je 0x450739
lea edx, [esp + 0x128]
push edx
push 0
push 2
push 0
push 4
push 1
push 0
push 0
push 0
push ecx
push 0
push 0
push 0
push 0x48
push dword [esp + 0x60]
push eax
call dword [esp + 0x78]
neg eax
push eax
call esi
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
test eax, eax
je 0x450747
add eax, ecx
jmp 0x450749
xor eax, eax
lea edx, [ecx + eax]
mov dword [esp + 0x14], 0
mov eax, dword [edi + 0x1c]
mov esi, ecx
test eax, eax
mov dword [esp + 0x48], edx
cmove esi, dword [esp + 0x14]
add esi, eax
add esi, edx
cmp dword [edi + 4], 0x80000000
mov dword [esp + 0x44], esi
jne 0x4507e1
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x4507d1
mov eax, dword [edi + 0x3c]
test eax, eax
mov ecx, dword [esp + 0x30]
cmovne ecx, eax
push ecx
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
movaps xmm0, xmmword [esp + 0x80]
mov ecx, dword [edi + 0xc]
movd eax, xmm0
movaps xmmword [esp + 0x70], xmm0
sub dword [esp + 0x78], ecx
add eax, ecx
push 0x410
mov dword [esp + 0x74], eax
lea eax, [esp + 0x74]
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [edi + 0x10]
jmp 0x4507d3
xor eax, eax
add eax, ecx
add eax, esi
mov dword [edi + 4], eax
mov dword [esp + 0x8c], eax
push dword [esp + 0x50]
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x450c64
push dword [esp + 0x5c]
movaps xmm0, xmmword [esp + 0x84]
lea eax, [esp + 0xa4]
push 0
push dword [esp + 0x24]
movaps xmmword [esp + 0xac], xmm0
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov esi, dword [esp + 0xa8]
lea eax, [esp + 0x90]
mov edi, dword [esp + 0xac]
sub esi, dword [esp + 0xa0]
sub edi, dword [esp + 0xa4]
push 0
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esp + 0x98]
sub eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x9c]
mov edx, eax
sub ecx, dword [esp + 0x94]
cmp esi, eax
cmovle edx, esi
cmp edi, ecx
mov dword [esp + 0x34], edx
mov edx, ecx
cmovle edx, edi
cmp dword [esp + 0x58], 0x80000000
mov dword [esp + 0x14], edx
jne 0x4508ab
sub eax, dword [esp + 0x34]
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
add eax, dword [esp + 0x90]
mov dword [esp + 0x58], eax
cmp dword [esp + 0x54], 0x80000000
jne 0x4508c9
sub ecx, edx
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x94]
mov dword [esp + 0x54], eax
mov edi, dword [0x51b98c]
mov esi, dword [edi + 0x4c]
test esi, esi
je 0x45090c
cmp dword [esi + 4], 0
jne 0x45095f
mov ecx, dword [esi]
cmp word [ecx], 0
jne 0x450921
add dword [esi + 0x20], 0xffffffff
jne 0x450905
push ecx
call fcn.004cfed0
add esp, 4
push 0xd8
push esi
call fcn.004ca825
add esp, 8
mov dword [edi + 0x4c], 0
xor ecx, ecx
cmp byte [esp + 0x11], 0
je 0x450967
mov eax, dword [0x51ead8]
test ecx, ecx
cmovne eax, ecx
jmp 0x450969
call fcn.00487050
mov dword [esp + 0x50], eax
test eax, eax
je 0x45090c
inc dword [eax + 0x20]
mov esi, dword [edi + 0x4c]
add dword [esi + 0x20], 0xffffffff
jne 0x450956
push dword [esi]
call fcn.004cfed0
add esp, 4
push 0xd8
push esi
call fcn.004ca825
mov eax, dword [esp + 0x58]
add esp, 8
mov dword [edi + 0x4c], eax
mov edi, dword [0x51b98c]
mov eax, dword [edi + 0x4c]
mov ecx, dword [eax + 4]
jmp 0x45090e
xor eax, eax
mov edi, dword [esp + 0x1c]
push 0
push dword [0x51eb40]
push 0
push eax
push dword [esp + 0x24]
push dword [esp + 0x48]
push dword [esp + 0x6c]
push dword [esp + 0x74]
push edi
push dword [esp + 0x8c]
push str.AutoHotkey2
push dword [esp + 0x88]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [esp + 0x6c]
mov dword [esi + 0x20], eax
test eax, eax
je 0x450c64
and edi, 0x80000
mov dword [esp + 0x1c], edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x4509ca
cmp byte [esp + 0x11], 0
jne 0x450a21
mov edx, dword [0x5217ac]
mov dword [esp + 0x14], edx
test edx, edx
je 0x4509e0
mov edx, dword [0x5217b0]
jmp 0x4509f0
mov ecx, dword [0x51eca0]
mov edx, dword [0x51eca4]
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x1c], 0
mov ecx, eax
je 0x450a07
push edx
push 0
push 0x80
push eax
call edi
mov ecx, dword [esi + 0x20]
cmp byte [esp + 0x11], 0
mov eax, ecx
jne 0x450a21
push dword [esp + 0x14]
push 1
push 0x80
push ecx
call edi
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x80]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov dword [esi + 4], eax
lea eax, [edx + edx]
mov dword [esi], ecx
sub ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], ecx
cmp word [eax], 0
je 0x450aaa
push 0
push dword [0x51eb40]
xor eax, eax
cmp byte [esp + 0x1a], al
push 0
push dword [esi + 0x20]
setne al
push dword [esi + 0x14]
or eax, 0x50000080
push ecx
push dword [esi + 0x10]
push edx
push eax
push dword [ebp + 0x10]
push str.static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [esi + 0x38]
test ecx, ecx
mov edx, dword [esp + 0x30]
push 1
cmovne edx, ecx
mov dword [esi + 0x30], eax
push edx
push 0x30
push eax
call edi
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
cmp byte [ebp + 0x20], 0
jne 0x450be1
mov eax, dword [esi + 0x1c]
test eax, eax
jle 0x450be1
push 0
push 0
push 0
push dword [esi + 0x20]
push eax
push ecx
push dword [esp + 0x60]
push edx
push 0x50000001
push 0
push str.msctls_progress32
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, eax
mov dword [esi + 0x2c], edx
test edx, edx
je 0x450be1
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x20]
test ecx, ecx
jne 0x450b05
test eax, eax
je 0x450b41
jmp 0x450b12
cmp ecx, 0xffffffff
jle 0x450b37
cmp ecx, 0x10000
jge 0x450b37
cmp eax, 0xffffffff
jle 0x450b37
cmp eax, 0x10000
jge 0x450b37
movzx ecx, ax
mov eax, dword [esp + 0x4c]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push 0
push 0x401
jmp 0x450b3e
push eax
push ecx
push 0x406
push edx
call edi
cmp dword [esp + 0x3c], 0xff000000
je 0x450b9f
mov eax, dword [esi + 0x2c]
push str.uxtheme
mov dword [esp + 0x70], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x50], eax
test eax, eax
je 0x450b8f
push str.SetWindowTheme
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x450b85
push 0x4f03e8
push 0x4f03e8
push dword [esp + 0x74]
call eax
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [esp + 0x3c]
push 0
push 0x409
push dword [esi + 0x2c]
call edi
mov eax, dword [esi + 0x44]
cmp eax, 0xff000000
je 0x450bb6
push eax
push 0
push 0x2001
push dword [esi + 0x2c]
call edi
cmp byte [esp + 0x13], 0
mov eax, dword [esi + 0x2c]
push 0
je 0x450bd4
push dword [esp + 0x28]
push 0x402
push eax
call edi
mov eax, dword [esp + 0x24]
jmp 0x450bde
push 0
push 0x408
push eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esp + 0x8c]
sub eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x44]
sub eax, ecx
push 0
push dword [0x51eb40]
push 0
push dword [esi + 0x20]
push eax
push dword [esp + 0x28]
xor eax, eax
cmp byte [esp + 0x32], al
push ecx
push dword [esi + 0xc]
setne al
or eax, 0x50000080
push eax
push dword [ebp + 0xc]
push str.static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0x34], eax
test eax, eax
je 0x450c45
mov ecx, dword [esi + 0x3c]
test ecx, ecx
mov edx, dword [esp + 0x30]
push 1
cmovne edx, ecx
push edx
push 0x30
push eax
call edi
cmp byte [esp + 0x1b], 0
jne 0x450c57
push 4
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
push esi
mov ecx, dword [esp + 0x18]
push 0
push str.Max_window_number_is_10.
call fcn.0044d9a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c