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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x178
cmp byte [ebp + 0x20], 0
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], esi
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], 0
je 0x448c91
cmp byte [esi], 0
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], edi
je 0x448d38
push 0x3a
push esi
call fcn.004b7be9
mov ecx, eax
add esp, 8
mov dword [esp + 0x44], ecx
nop dword [eax + eax]
mov al, byte [esi]
cmp al, 0x20
je 0x448baa
cmp al, 9
jne 0x448bad
inc esi
jmp 0x448ba0
test ecx, ecx
je 0x448c45
mov eax, ecx
mov ecx, dword [esp + 0x30]
sub eax, ecx
mov dword [esp + 0x1c], eax
cmp eax, 0x20
jae 0x448c45
push eax
push ecx
lea eax, [esp + 0x78]
push eax
call fcn.004b9880
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x7c]
add esp, 0xc
xor edx, edx
mov byte [esp + eax + 0x70], 0
push 0
push 1
push 0
call fcn.0049a390
add esp, 0xc
test eax, eax
je 0x448c45
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x1c], eax
mov ecx, eax
mov al, byte [ecx]
mov byte [esp + 0x13], al
cmp al, 0x20
je 0x448c0f
cmp al, 9
jne 0x448c12
inc ecx
jmp 0x448c01
mov dword [esp + 0x30], ecx
mov esi, ecx
lea ecx, [esp + 0x70]
call fcn.00417810
sub eax, 1
mov dword [esp + 0x20], eax
js 0x448c3f
cmp byte [esp + 0x13], 0
mov ecx, esi
cmovne ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
cmp eax, 0xa
jl 0x448c45
push edi
jmp 0x449d32
push 0x4d5d78
push esi
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x448c69
mov edx, dword [esp + 0x18]
mov byte [esp + 0x10], 1
mov dword [esp + 0x2c], edx
jmp 0x448d40
push str.Show
push esi
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x448d38
mov edx, dword [esp + 0x18]
mov byte [esp + 0x11], 1
mov dword [esp + 0x2c], edx
jmp 0x448d40
mov esi, dword [ebp + 8]
push 0x3a
push esi
call fcn.004b7be9
mov edi, eax
add esp, 8
test edi, edi
jne 0x448ca9
mov edi, esi
jmp 0x448cc1
mov ecx, esi
call fcn.00417810
lea esi, [eax - 1]
mov dword [esp + 0x20], esi
cmp esi, 9
ja 0x449d2f
inc edi
mov al, byte [edi]
cmp al, 0x20
je 0x448cc0
cmp al, 9
je 0x448cc0
push 0x4d5d78
push edi
mov dword [esp + 0x1c], edi
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x448cf0
mov edx, dword [esp + 0x18]
mov byte [esp + 0x10], 1
mov dword [esp + 0x2c], edx
jmp 0x448d40
push str.Show
push edi
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x448d11
mov edx, dword [esp + 0x18]
mov byte [esp + 0x11], 1
mov dword [esp + 0x2c], edx
jmp 0x448d40
push 0
push 1
push 0
mov edx, 1
mov ecx, edi
call fcn.0049a390
add esp, 0xc
test eax, eax
je 0x448d38
mov ecx, edi
call fcn.00417810
mov byte [esp + 0x12], 1
jmp 0x448d3c
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov dl, byte [ebp + 0x20]
mov eax, 0x4e7bb0
test dl, dl
mov edi, 0x4e7ea8
cmovne edi, eax
imul eax, dword [esp + 0x20], 0x4c
add edi, eax
mov dword [esp + 0xbc], edi
mov eax, dword [edi + 0x20]
test eax, eax
je 0x448d78
push eax
call dword [sym.imp.USER32.dll_IsWindow]
mov dl, byte [ebp + 0x20]
test eax, eax
jne 0x448d78
mov dword [edi + 0x20], eax
cmp byte [esp + 0x11], 0
je 0x448db1
mov eax, dword [edi + 0x20]
test eax, eax
je 0x449d18
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x449d18
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 + 0x10], 0
jne 0x448e5b
cmp dword [edi + 0x20], 0
je 0x448e5b
mov eax, dword [esp + 0x30]
cmp byte [eax], 0
jne 0x448e5b
mov al, byte [esp + 0x12]
test al, al
jne 0x448de3
mov esi, dword [esp + 0x14]
cmp byte [esi], al
jne 0x448e5f
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test dl, dl
jne 0x448e0f
test al, al
je 0x448e0f
mov ecx, dword [esp + 0x2c]
cmp dword [edi + 8], ecx
je 0x448e0f
mov eax, dword [edi + 0x2c]
mov dword [edi + 8], ecx
test eax, eax
je 0x448e0f
push 0
push ecx
push 0x402
push eax
call esi
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x448e26
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x448e26
push eax
push 0
push 0xc
push ecx
call esi
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x448e38
push eax
push 0
push 0xc
push dword [edi + 0x34]
call esi
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x449d18
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [esp + 0x14]
mov eax, dword [edi + 0x20]
test eax, eax
je 0x448e6d
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 + 0x48], ecx
test eax, eax
je 0x448e85
push eax
call ecx
mov ecx, dword [esp + 0x48]
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x448e8f
push eax
call ecx
mov eax, dword [edi + 0x40]
test eax, eax
je 0x448e9b
push eax
call dword [esp + 0x4c]
mov eax, dword [edi + 0x28]
test eax, eax
je 0x448eb5
cmp dword [edi + 0x24], 0
push eax
jne 0x448eaf
call dword [esp + 0x4c]
jmp 0x448eb5
call dword [sym.imp.USER32.dll_DestroyIcon]
push 0x4c
push 0
push edi
call fcn.004afdf0
add esp, 0xc
cmp byte [esp + 0x10], 0
jne 0x449d18
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x60], eax
cmp byte [eax], 0
jne 0x448ef3
mov eax, dword [0x4ea090]
mov dword [esp + 0x60], eax
test eax, eax
je 0x448eeb
cmp byte [eax], 0
jne 0x448ef3
mov dword [esp + 0x60], 0x4d0335
mov dl, byte [ebp + 0x20]
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], eax
mov eax, dword [sym.imp.KERNEL32.dll_MulDiv]
mov byte [esp + 0x10], 1
mov byte [esp + 0x11], 1
mov byte [esp + 0x27], 1
mov byte [esp + 0x13], 0
mov dword [esp + 0x14], 0x88c00000
mov dword [esp + 0x58], 8
mov dword [esp + 0x5c], connect
mov dword [esp + 0x28], connect
mov dword [esp + 0x44], 0xff000000
mov dword [edi + 0x44], 0xff000000
mov dword [edi + 0x48], 0xff000000
mov dword [edi + 4], connect
mov dword [esp + 0x34], eax
test dl, dl
je 0x448f77
mov eax, connect
mov ecx, eax
jmp 0x448f90
push 0x60
push dword [0x4e9a40]
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 byte [eax], 0
mov eax, dword [ebp + 0xc]
jne 0x448fb6
cmp byte [eax], 0
jne 0x448fb6
test dl, dl
je 0x448fb6
xor eax, eax
xor ecx, ecx
jmp 0x448fc0
mov eax, 0xa
mov ecx, 5
mov dword [edi + 0x10], ecx
mov dword [edi + 0xc], eax
mov al, byte [esi]
test al, al
je 0x449435
movzx eax, al
mov dword [esp + 0x1c], eax
test eax, 0xffffff80
je 0x448fe8
mov dword [esp + 0x3c], 0
jmp 0x448ffb
push 2
push eax
call fcn.004b47c1
mov dword [esp + 0x44], eax
add esp, 8
mov eax, dword [esp + 0x1c]
mov cl, al
and cl, 0xdf
cmp dword [esp + 0x3c], 0
movzx edx, cl
movzx ecx, al
cmove edx, ecx
movsx eax, dl
add eax, 0xffffffbf
cmp eax, 0x19
ja case.0x449024.68
movzx eax, byte [eax + 0x449d84]
jmp dword [eax*4 + 0x449d4c]
and dword [esp + 0x58], 0xfffffff7
jmp case.0x449024.68
mov edx, dword [esp + 0x14]
mov al, byte [esi + 1]
and edx, 0xff3fffff
mov dword [esp + 0x14], edx
cmp al, 0x31
jne 0x449059
or edx, 0x800000
mov dword [esp + 0x14], edx
jmp case.0x449024.68
cmp al, 0x32
jne case.0x449024.68
or edx, 0x400000
mov dword [esp + 0x14], edx
jmp case.0x449024.68
mov cl, byte [esi + 1]
lea eax, [esi + 1]
test cl, cl
je case.0x449024.68
mov esi, eax
call fcn.00412890
cmp al, 0x42
je 0x4490a7
cmp al, 0x54
je 0x4490a7
cmp al, 0x57
je 0x4490a7
cmp byte [esi], 0x30
setne byte [esp + 0x27]
cmp byte [esi + 1], 0x30
setne byte [esp + 0x11]
jmp case.0x449024.70
push 0x1f
lea eax, [esi + 1]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004b9880
mov dl, byte [esp + 0x7c]
lea eax, [esp + 0x7c]
add esp, 0xc
mov byte [esp + 0x8f], 0
mov dword [esp + 0x20], eax
test dl, dl
je 0x449108
mov ecx, 0x4d5ff4
mov al, 0x20
nop dword [eax]
cmp dl, al
je 0x4490fd
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4490e0
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
mov dl, byte [eax]
test dl, dl
jne 0x4490d2
jmp 0x449108
mov eax, dword [esp + 0x20]
test eax, eax
je 0x449108
mov byte [eax], 0
lea ecx, [esp + 0x70]
call fcn.0049b610
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x449168
lea ecx, [esp + 0x70]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x449121
movzx eax, byte [esp + 0x76]
sub ecx, edx
xor edx, edx
cmp ecx, 6
push 0x10
cmova eax, edx
mov byte [esp + 0x7a], al
lea eax, [esp + 0x74]
push edx
push eax
call fcn.004b2b92
movzx edx, al
add esp, 0xc
movzx ecx, ax
shl edx, 8
shr ecx, 8
or edx, ecx
shr eax, 0x10
shl edx, 8
movzx eax, al
or edx, eax
mov dword [esp + 0x18], edx
mov cl, byte [esi]
call fcn.00412890
cmp al, 0x42
je 0x449197
cmp al, 0x54
je 0x44918e
cmp al, 0x57
jne 0x44919f
mov eax, dword [esp + 0x18]
push eax
mov dword [edi + 0x44], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [edi + 0x40], eax
jmp 0x44919f
mov eax, dword [esp + 0x18]
mov dword [edi + 0x48], eax
jmp 0x44919f
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x70]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4491a6
sub ecx, edx
add esi, ecx
mov cl, byte [esi + 1]
lea eax, [esi + 1]
test cl, cl
je case.0x449024.68
mov esi, eax
call fcn.00412890
cmp al, 0x4d
je 0x4491f9
cmp al, 0x53
jne case.0x449024.68
lea eax, [esi + 1]
push eax
call fcn.004b2c14
mov edx, eax
add esp, 4
mov dword [esp + 0x50], edx
test edx, edx
jns case.0x449024.68
mov dword [esp + 0x50], 0
jmp case.0x449024.68
lea eax, [esi + 1]
push eax
call fcn.004b2c14
mov edx, eax
add esp, 4
mov dword [esp + 0x4c], edx
test edx, edx
jns case.0x449024.68
mov dword [esp + 0x4c], 0
jmp case.0x449024.68
mov edx, dword [esp + 0x14]
mov al, byte [esi + 1]
and edx, 0xf7ffffff
mov ecx, edx
or ecx, 0x40000
cmp al, 0x31
cmovne ecx, edx
mov edx, ecx
or edx, 0xf0000
cmp al, 0x32
cmovne edx, ecx
mov dword [esp + 0x14], edx
jmp case.0x449024.68
lea eax, [esi + 1]
push eax
call fcn.004b2c14
mov dword [esp + 0x30], eax
mov byte [esp + 0x16], 1
jmp 0x449426
cmp byte [esi + 1], 0
lea eax, [esi + 1]
je case.0x449024.68
mov esi, eax
mov ecx, esi
call fcn.00417810
lea ecx, [esi + 1]
mov dword [esp + 0x68], eax
push 0x2d
push ecx
call fcn.004b7be9
add esp, 8
test eax, eax
je case.0x449024.68
mov esi, eax
inc eax
cmp byte [eax], 0
je case.0x449024.68
mov esi, eax
mov ecx, esi
call fcn.00417810
mov dword [esp + 0x64], eax
jmp case.0x449024.68
mov byte [esp + 0x10], 0
jmp case.0x449024.68
mov cl, byte [esi + 1]
lea eax, [esi + 1]
test cl, cl
je case.0x449024.68
mov esi, eax
call fcn.00412890
cmp al, 0x4d
je 0x44932c
cmp al, 0x53
je 0x449305
push esi
call fcn.004b2c14
add esp, 4
mov dword [edi], eax
cmp byte [ebp + 0x20], 0
jne case.0x449024.68
push 0x60
push dword [0x4e9a40]
push eax
call dword [esp + 0x40]
mov dword [edi], eax
jmp case.0x449024.68
lea eax, [esi + 1]
push eax
call fcn.004b2c14
mov edx, eax
add esp, 4
mov dword [esp + 0x38], edx
test edx, edx
jns case.0x449024.68
mov dword [esp + 0x38], 0
jmp case.0x449024.68
lea eax, [esi + 1]
push eax
call fcn.004b2c14
mov edx, eax
add esp, 4
mov dword [esp + 0x40], edx
test edx, edx
jns case.0x449024.68
mov dword [esp + 0x40], 0
jmp case.0x449024.68
push 4
push str.Hide
push esi
call fcn.004b2c54
add esp, 0xc
test eax, eax
jne 0x449374
mov byte [esp + 0x13], 1
add esi, 3
jmp case.0x449024.68
lea eax, [esi + 1]
push eax
call fcn.004b2c14
add esp, 4
mov dword [edi + 4], eax
cmp byte [ebp + 0x20], 0
jne case.0x449024.68
push 0x60
push dword [0x4e9a40]
push eax
call dword [esp + 0x40]
mov dword [edi + 4], eax
jmp case.0x449024.68
lea eax, [esi + 1]
push eax
call fcn.004b2c14
mov dword [esp + 0x60], eax
jmp 0x449426
lea eax, [esi + 1]
push eax
call fcn.004b2c14
mov dword [esp + 0x2c], eax
jmp 0x449426
mov cl, byte [esi + 1]
lea eax, [esi + 1]
test cl, cl
je case.0x449024.68
mov esi, eax
call fcn.00412890
movsx eax, al
add eax, 0xffffffbe
cmp eax, 0x17
ja case.0x449024.68
movzx eax, byte [eax + 0x449db4]
jmp dword [eax*4 + 0x449da0]
lea eax, [esi + 1]
push eax
call fcn.004b2c14
mov dword [edi + 0x1c], eax
jmp 0x449426
cmp byte [ebp + 0x20], 0
je case.0x449024.68
lea eax, [esi + 1]
push eax
call fcn.004b2c14
mov dword [edi + 0x18], eax
jmp 0x449426
lea eax, [esi + 1]
push eax
call fcn.004b2c14
mov dword [edi + 0xc], eax
jmp 0x449426
lea eax, [esi + 1]
push eax
call fcn.004b2c14
mov dword [edi + 0x10], eax
add esp, 4
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x448fd0
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov esi, eax
push 0x5a
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x11
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x100]
push eax
push 0x40
push esi
call dword [sym.imp.GDI32.dll_GetTextFaceA]
lea eax, [esp + 0x148]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov eax, dword [esp + 0x148]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x1c]
cmp eax, 1
jge 0x4494bb
cmp eax, 0x80000000
je 0x4494bb
mov ecx, dword [edi + 0x18]
cmp ecx, 1
jge 0x4494bb
cmp ecx, 0x80000000
jne 0x4494c5
test eax, eax
je 0x4494c5
cmp dword [edi + 0x18], 0
jne 0x4494d5
mov dword [edi + 0x18], 0
xor eax, eax
mov dword [edi + 0x1c], 0
cmp byte [ebp + 0x20], 0
je 0x449676
mov ecx, dword [esp + 0x30]
cmp byte [ecx], 0
je 0x449676
test eax, eax
je 0x449676
mov byte [esp + 0x3c], 0
mov ecx, dword [esp + 0x30]
lea eax, [edi + 0x24]
push 0
push 0
push dword [esp + 0x44]
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.0049ba20
add esp, 0x18
mov dword [edi + 0x28], eax
test eax, eax
jne 0x449546
cmp byte [esp + 0x3c], al
jne 0x449676
mov byte [esp + 0x3c], 1
jmp 0x4494f9
cmp dword [edi + 0x1c], 0
jl 0x449556
cmp dword [edi + 0x18], 0
jge 0x449676
cmp dword [edi + 0x24], 0
je 0x44957a
lea ecx, [esp + 0xec]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x449676
mov eax, dword [esp + 0xfc]
test eax, eax
je 0x449676
lea ecx, [esp + 0x70]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x44965a
mov eax, dword [edi + 0x1c]
cmp eax, 0xffffffff
jne 0x4495e6
mov ecx, dword [edi + 0x18]
test ecx, ecx
jle 0x4495e6
mov eax, dword [esp + 0x74]
test eax, eax
je 0x449647
movd xmm1, dword [esp + 0x78]
movd xmm0, eax
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
addsd xmm1, qword [0x4dd168]
cvttsd2si eax, xmm1
mov dword [edi + 0x1c], eax
jmp 0x449647
mov ecx, dword [edi + 0x18]
cmp ecx, 0xffffffff
jne 0x44962a
test eax, eax
jle 0x44962a
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x449647
movd xmm1, dword [esp + 0x74]
cvtdq2pd xmm1, xmm1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
addsd xmm1, qword [0x4dd168]
cvttsd2si eax, xmm1
jmp 0x449644
cmp eax, 0x80000000
jne 0x449638
mov eax, dword [esp + 0x78]
mov dword [edi + 0x1c], eax
cmp ecx, 0x80000000
jne 0x449647
mov eax, dword [esp + 0x74]
mov dword [edi + 0x18], eax
cmp dword [edi], 0x80000000
jne 0x44965a
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 0x449676
push dword [esp + 0xfc]
mov esi, dword [esp + 0x4c]
call esi
push dword [esp + 0xf8]
call esi
mov ecx, dword [edi]
cmp ecx, 0x80000000
jne 0x449695
push 0x60
push dword [0x4e9a40]
push 0x12c
call dword [esp + 0x40]
mov ecx, eax
mov dword [edi], ecx
cmp dword [edi + 0x1c], 0x80000000
jne 0x4496a5
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 + 0xb0]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp + 0x10]
mov esi, dword [sym.imp.GDI32.dll_CreateFontA]
cmp byte [eax], 0
je 0x44980b
movd xmm0, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
cvtdq2pd xmm0, xmm0
test eax, eax
je 0x4496fe
push 0x48
push dword [esp + 0x58]
push eax
call dword [esp + 0x40]
mov ecx, eax
neg ecx
jmp 0x44970a
mulsd xmm0, qword [0x4dd188]
cvttsd2si ecx, xmm0
mov eax, dword [esp + 0x40]
mov esi, 0x258
mov edx, dword [ebp + 0x18]
test eax, eax
cmovne esi, eax
lea eax, [esp + 0x100]
cmp byte [edx], 0
cmovne eax, edx
push eax
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 ecx
call dword [sym.imp.GDI32.dll_CreateFontA]
mov dword [edi + 0x38], eax
test eax, eax
jne 0x4497a8
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x449765
push 0x48
push dword [esp + 0x58]
push eax
call dword [esp + 0x40]
neg eax
jmp 0x44977b
movd xmm0, dword [esp + 0x1c]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4dd188]
cvttsd2si eax, xmm0
lea ecx, [esp + 0x100]
push ecx
push 0
push 2
push 0
push 4
push 1
push 0
push 0
push 0
push esi
mov esi, dword [sym.imp.GDI32.dll_CreateFontA]
push 0
push 0
push 0
push eax
call esi
mov dword [edi + 0x38], eax
jmp 0x4497ae
mov esi, dword [sym.imp.GDI32.dll_CreateFontA]
mov eax, dword [edi + 0x38]
test eax, eax
mov ecx, dword [esp + 0x20]
cmovne ecx, eax
push ecx
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_SelectObject]
movaps xmm0, xmmword [esp + 0xa0]
mov ecx, dword [edi + 0xc]
movd eax, xmm0
movaps xmmword [esp + 0x90], xmm0
sub dword [esp + 0x98], ecx
add eax, ecx
push 0x450
mov dword [esp + 0x94], eax
lea eax, [esp + 0x94]
push eax
push 0xffffffffffffffff
push dword [ebp + 0x10]
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_DrawTextA]
mov dword [edi + 0x14], eax
mov edx, dword [esp + 0x50]
mov ecx, dword [ebp + 0x18]
test edx, edx
jne 0x449824
cmp dword [esp + 0x38], edx
jne 0x449824
test ecx, ecx
je 0x4498ab
cmp byte [ecx], 0
lea eax, [esp + 0x100]
cmovne eax, ecx
push eax
push 0
push 2
push 0
push 4
push 1
push 0
push 0
push 0
push dword [esp + 0x5c]
push 0
push 0
push 0
push 0x48
push dword [esp + 0x8c]
push edx
call dword [esp + 0x74]
neg eax
push eax
call esi
mov dword [edi + 0x3c], eax
test eax, eax
jne 0x4498ab
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x38]
test eax, eax
jne 0x449876
test ecx, ecx
je 0x4498ab
lea edx, [esp + 0x100]
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 + 0x8c]
push eax
call dword [esp + 0x74]
neg eax
push eax
call esi
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x14]
test eax, eax
mov ecx, dword [edi + 0x10]
mov esi, ecx
mov dword [esp + 0x1c], 0
lea edx, [eax + ecx*2]
mov eax, dword [edi + 0x1c]
cmove edx, ecx
test eax, eax
mov dword [esp + 0x40], edx
cmove esi, dword [esp + 0x1c]
add esi, edx
add esi, eax
cmp dword [edi + 4], 0x80000000
mov dword [esp + 0x1c], esi
jne 0x449959
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x449949
mov eax, dword [edi + 0x3c]
test eax, eax
mov ecx, dword [esp + 0x20]
cmovne ecx, eax
push ecx
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_SelectObject]
movaps xmm0, xmmword [esp + 0xa0]
mov ecx, dword [edi + 0xc]
movd eax, xmm0
movaps xmmword [esp + 0x90], xmm0
sub dword [esp + 0x98], ecx
add eax, ecx
push 0x410
mov dword [esp + 0x94], eax
lea eax, [esp + 0x94]
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_DrawTextA]
mov ecx, dword [edi + 0x10]
jmp 0x44994b
xor eax, eax
add eax, ecx
add eax, esi
mov dword [edi + 4], eax
mov dword [esp + 0xac], eax
push dword [esp + 0x6c]
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x449d25
push dword [esp + 0x58]
movaps xmm0, xmmword [esp + 0xa4]
lea eax, [esp + 0xd4]
push 0
push dword [esp + 0x1c]
movaps xmmword [esp + 0xdc], xmm0
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov esi, dword [esp + 0xd8]
lea eax, [esp + 0xc0]
mov edi, dword [esp + 0xdc]
sub esi, dword [esp + 0xd0]
sub edi, dword [esp + 0xd4]
push 0
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [esp + 0xc8]
sub eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xcc]
mov edx, eax
sub ecx, dword [esp + 0xc4]
cmp esi, eax
cmovle edx, esi
cmp edi, ecx
mov esi, ecx
mov dword [esp + 0x6c], edx
cmovle esi, edi
cmp dword [esp + 0x5c], 0x80000000
jne 0x449a19
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0xc0]
mov dword [esp + 0x5c], eax
mov edi, dword [esp + 0x28]
cmp edi, 0x80000000
jne 0x449a37
sub ecx, esi
mov eax, ecx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
add edi, dword [esp + 0xc4]
mov ecx, dword [0x4e498c]
lea ecx, [ecx + 0x4c]
call fcn.00477b20
test eax, eax
je 0x449a56
mov eax, dword [0x4e498c]
mov eax, dword [eax + 0x4c]
mov ecx, dword [eax + 4]
jmp 0x449a58
xor ecx, ecx
cmp byte [esp + 0x10], 0
je 0x449a6b
mov eax, dword [0x4e7950]
test ecx, ecx
cmovne eax, ecx
jmp 0x449a6d
xor eax, eax
push 0
push dword [0x4e79b8]
push 0
push eax
push esi
push dword [esp + 0x80]
push edi
push dword [esp + 0x78]
push dword [esp + 0x34]
push dword [esp + 0x84]
push str.AutoHotkey2
push dword [esp + 0x84]
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, dword [esp + 0xbc]
mov dword [esi + 0x20], eax
test eax, eax
je 0x449d25
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
and edx, 0x80000
jne 0x449acd
cmp byte [esp + 0x10], 0
jne 0x449b1d
mov ecx, dword [0x4ea0ec]
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x449ae3
mov ecx, dword [0x4ea0f0]
jmp 0x449af3
mov ecx, dword [0x4e7ad8]
mov dword [esp + 0x28], ecx
mov ecx, dword [0x4e7adc]
test edx, edx
je 0x449b05
push ecx
push 0
push 0x80
push eax
call edi
mov eax, dword [esi + 0x20]
cmp byte [esp + 0x10], 0
jne 0x449b1d
push dword [esp + 0x28]
push 1
push 0x80
push eax
call edi
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0xa0]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov dword [esi + 4], eax
lea eax, [edx + edx]
mov dword [esi], ecx
sub ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x28], ecx
cmp byte [eax], 0
je 0x449ba5
push 0
push dword [0x4e79b8]
xor eax, eax
cmp byte [esp + 0x19], 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_CreateWindowExA]
mov ecx, dword [esi + 0x38]
test ecx, ecx
mov edx, dword [esp + 0x20]
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 + 0x28]
cmp byte [ebp + 0x20], 0
jne 0x449ca2
mov eax, dword [esi + 0x1c]
test eax, eax
jle 0x449ca2
push 0
push 0
push 0
push dword [esi + 0x20]
push eax
push ecx
push dword [esp + 0x58]
push edx
push 0x50000001
push 0
push str.msctls_progress32
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, eax
mov dword [esi + 0x2c], edx
test edx, edx
je 0x449ca2
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
test ecx, ecx
jne 0x449bfe
test eax, eax
je 0x449c3a
cmp ecx, 0xffffffff
jle 0x449c30
cmp ecx, 0x10000
jge 0x449c30
cmp eax, 0xffffffff
jle 0x449c30
cmp eax, 0x10000
jge 0x449c30
movzx ecx, ax
mov eax, dword [esp + 0x68]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push 0
push 0x401
jmp 0x449c37
push eax
push ecx
push 0x406
push edx
call edi
cmp dword [esp + 0x44], 0xff000000
je 0x449c60
push ecx
mov ecx, dword [esi + 0x2c]
call fcn.0049c700
add esp, 4
push dword [esp + 0x44]
push 0
push 0x409
push dword [esi + 0x2c]
call edi
mov eax, dword [esi + 0x44]
cmp eax, 0xff000000
je 0x449c77
push eax
push 0
push 0x2001
push dword [esi + 0x2c]
call edi
cmp byte [esp + 0x12], 0
mov eax, dword [esi + 0x2c]
push 0
je 0x449c95
push dword [esp + 0x30]
push 0x402
push eax
call edi
mov eax, dword [esp + 0x2c]
jmp 0x449c9f
push 0
push 0x408
push eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esp + 0xac]
sub eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
push 0
push dword [0x4e79b8]
push 0
push dword [esi + 0x20]
push eax
push dword [esp + 0x3c]
xor eax, eax
cmp byte [esp + 0x3f], 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_CreateWindowExA]
mov dword [esi + 0x34], eax
test eax, eax
je 0x449d06
mov ecx, dword [esi + 0x3c]
test ecx, ecx
mov edx, dword [esp + 0x20]
push 1
cmovne edx, ecx
push edx
push 0x30
push eax
call edi
cmp byte [esp + 0x13], 0
jne 0x449d18
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 dword [ebp + 8]
mov ecx, dword [esp + 0x2c]
push 0
push str.Max_window_number_is_10.
call fcn.00446d50
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c