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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1f8
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov dword [esp + 0x3c], ecx
mov ecx, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x38], ecx
mov ecx, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
push edi
xor edi, edi
mov dword [esp + 0x18], ecx
cmp byte [ebp + 0x20], 0
mov ecx, dword [sym.imp.VCRUNTIME140.dll_wcschr]
mov dword [esp + 0x30], eax
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
mov dword [esp + 0x68], ecx
je 0x449720
mov dword [esp + 0x10], esi
cmp word [eax], di
je 0x4497e5
push 0x3a
push eax
call ecx
mov edx, dword [esp + 0x38]
mov ecx, eax
add esp, 8
mov dword [esp + 0x40], ecx
mov esi, edx
movzx eax, word [esi]
cmp eax, 0x20
je 0x44961d
cmp eax, 9
jne 0x449622
add esi, 2
jmp 0x449610
test ecx, ecx
je 0x4496d2
mov edi, ecx
sub edi, edx
sar edi, 1
cmp edi, 0x20
jae 0x4496d0
push edi
push edx
lea eax, [esp + 0xe8]
push eax
call dword [esp + 0x50]
add esp, 0xc
lea ecx, [esp + 0xe0]
xor eax, eax
xor edx, edx
mov word [esp + edi*2 + 0xe0], ax
push eax
push 1
push eax
call fcn.0049c060
add esp, 0xc
test eax, eax
je 0x4496d0
mov eax, dword [esp + 0x40]
add eax, 2
mov dword [esp + 0x50], eax
mov edx, eax
nop word [eax + eax]
movzx eax, word [edx]
mov ecx, eax
mov dword [esp + 0x40], ecx
cmp eax, 0x20
je 0x449693
cmp eax, 9
jne 0x449698
add edx, 2
jmp 0x449680
lea ecx, [esp + 0xe0]
mov dword [esp + 0x30], edx
mov esi, edx
call fcn.00417020
mov edi, eax
sub edi, 1
js 0x4496c7
cmp word [esp + 0x40], 0
mov eax, esi
cmovne eax, dword [esp + 0x50]
mov dword [esp + 0x30], eax
cmp edi, 0xa
jl 0x4496d2
push dword [esp + 0x10]
jmp 0x44a89e
xor edi, edi
push 0x4cefc8
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x4496f7
mov edx, dword [esp + 0x20]
mov byte [esp + 0x15], 1
mov dword [esp + 0x2c], edx
jmp 0x4497ed
push str.Show
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x4497e5
mov edx, dword [esp + 0x20]
mov byte [esp + 0x16], 1
mov dword [esp + 0x2c], edx
jmp 0x4497ed
push 0x3a
push esi
call ecx
add esp, 8
mov dword [esp + 0x10], eax
mov ecx, esi
test eax, eax
je 0x449764
call fcn.00404a50
test al, al
je 0x449749
push 0x10
push 0
push esi
call dword [esp + 0x48]
add esp, 0xc
jmp 0x449751
push esi
call dword [esp + 0x1c]
add esp, 4
lea edi, [eax - 1]
cmp edi, 9
ja 0x44a89d
mov ecx, dword [esp + 0x10]
add ecx, 2
movzx eax, word [ecx]
cmp eax, 0x20
je 0x449761
cmp eax, 9
je 0x449761
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
push 0x4cefc8
push ecx
mov dword [esp + 0x18], ecx
call esi
add esp, 8
test eax, eax
jne 0x449799
mov edx, dword [esp + 0x20]
mov byte [esp + 0x15], 1
mov dword [esp + 0x2c], edx
jmp 0x4497ed
push str.Show
push dword [esp + 0x14]
call esi
add esp, 8
test eax, eax
jne 0x4497ba
mov edx, dword [esp + 0x20]
mov byte [esp + 0x16], 1
mov dword [esp + 0x2c], edx
jmp 0x4497ed
mov esi, dword [esp + 0x10]
mov edx, 1
push 0
push 1
push 0
mov ecx, esi
call fcn.0049c060
add esp, 0xc
test eax, eax
je 0x4497e5
mov ecx, esi
call fcn.00417020
mov byte [esp + 0x17], 1
jmp 0x4497e9
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov dl, byte [ebp + 0x20]
mov eax, 0x4e4e78
test dl, dl
mov ecx, 0x4e5170
cmovne ecx, eax
imul edi, edi, 0x4c
add edi, ecx
mov dword [esp + 0x9c], edi
mov eax, dword [edi + 0x20]
test eax, eax
je 0x449823
push eax
call dword [sym.imp.USER32.dll_IsWindow]
mov dl, byte [ebp + 0x20]
test eax, eax
jne 0x449823
mov dword [edi + 0x20], eax
cmp byte [esp + 0x16], 0
je 0x449843
mov eax, dword [edi + 0x20]
test eax, eax
je 0x44a886
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jmp 0x44a879
cmp byte [esp + 0x15], 0
jne 0x4498f7
cmp dword [edi + 0x20], 0
je 0x4498f7
mov eax, dword [esp + 0x30]
cmp word [eax], 0
jne 0x4498f7
mov al, byte [esp + 0x17]
test al, al
jne 0x44987c
mov eax, dword [esp + 0x10]
cmp word [eax], 0
jne 0x4498f7
mov al, byte [esp + 0x17]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test dl, dl
jne 0x4498a8
test al, al
je 0x4498a8
mov ecx, dword [esp + 0x2c]
cmp dword [edi + 8], ecx
je 0x4498a8
mov eax, dword [edi + 0x2c]
mov dword [edi + 8], ecx
test eax, eax
je 0x4498a8
push 0
push ecx
push 0x402
push eax
call esi
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x4498c0
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x4498c0
push eax
push 0
push 0xc
push ecx
call esi
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x4498d3
push eax
push 0
push 0xc
push dword [edi + 0x34]
call esi
mov eax, dword [ebp + 0x14]
cmp word [eax], 0
je 0x44a886
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 eax, dword [edi + 0x20]
test eax, eax
je 0x449905
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x38]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x48], esi
test eax, eax
je 0x449919
push eax
call esi
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x449923
push eax
call esi
mov eax, dword [edi + 0x40]
test eax, eax
je 0x44992d
push eax
call esi
mov eax, dword [edi + 0x28]
test eax, eax
je 0x449945
cmp dword [edi + 0x24], 0
push eax
jne 0x44993f
call esi
jmp 0x449945
call dword [sym.imp.USER32.dll_DestroyIcon]
push 0x4c
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp byte [esp + 0x15], 0
jne 0x44a886
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x64], eax
cmp word [eax], 0
jne 0x449985
mov eax, dword [0x4e783c]
mov dword [esp + 0x64], eax
test eax, eax
je 0x44997d
cmp word [eax], 0
jne 0x449985
mov dword [esp + 0x64], 0x4b8c14
mov cl, byte [ebp + 0x20]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], eax
mov eax, dword [sym.imp.KERNEL32.dll_MulDiv]
mov byte [esp + 0x15], 1
mov byte [esp + 0x16], 1
mov byte [esp + 0x1e], 1
mov byte [esp + 0x1f], 0
mov dword [esp + 0x28], 0x88c00000
mov dword [esp + 0x58], 8
mov dword [esp + 0x5c], connect
mov dword [esp + 0x24], connect
mov dword [esp + 0x40], 0xff000000
mov dword [edi + 0x44], 0xff000000
mov dword [edi + 0x48], 0xff000000
mov dword [edi + 4], connect
mov dword [esp + 0x38], eax
test cl, cl
je 0x449a09
mov esi, connect
mov eax, esi
jmp 0x449a20
push 0x60
push dword [0x4e6ce8]
mov esi, 0x14
push 0x12c
call eax
mov cl, byte [ebp + 0x20]
mov dword [edi], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], connect
cmp word [eax], 0
mov eax, dword [ebp + 0xc]
jne 0x449a48
cmp word [eax], 0
jne 0x449a48
test cl, cl
je 0x449a48
xor eax, eax
xor ecx, ecx
jmp 0x449a52
mov eax, 0xa
mov ecx, 5
mov dword [edi + 0x10], ecx
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x10]
movzx eax, word [eax]
test ax, ax
je 0x449fa9
mov ecx, eax
nop word [eax + eax]
movzx esi, cx
test esi, 0xffffff80
je 0x449a7f
xor eax, eax
jmp 0x449a8b
push 2
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
add esp, 8
mov ecx, esi
and ecx, 0xffffffdf
test eax, eax
cmove ecx, esi
add ecx, 0xffffffbf
cmp ecx, 0x19
ja case.0x449aa8.68
movzx eax, byte [ecx + 0x44a8f0]
jmp dword [eax*4 + 0x44a8b8]
and dword [esp + 0x58], 0xfffffff7
jmp case.0x449aa8.68
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
and edx, 0xff3fffff
mov dword [esp + 0x28], edx
movzx eax, word [eax + 2]
cmp eax, 0x31
jne 0x449ae3
or edx, 0x800000
mov dword [esp + 0x28], edx
jmp case.0x449aa8.68
mov ecx, dword [esp + 0x10]
cmp eax, 0x32
jne 0x449f93
or edx, 0x400000
mov dword [esp + 0x28], edx
jmp 0x449f93
mov edx, dword [esp + 0x10]
movzx eax, word [edx + 2]
mov ecx, eax
test ax, ax
je case.0x449aa8.68
lea esi, [edx + 2]
mov dword [esp + 0x10], esi
call fcn.00413070
movzx eax, ax
cmp eax, 0x42
je 0x449b4a
cmp eax, 0x54
je 0x449b4a
cmp eax, 0x57
je 0x449b4a
mov eax, esi
cmp word [eax], 0x30
setne byte [esp + 0x1e]
cmp word [eax + 2], 0x30
setne byte [esp + 0x16]
jmp 0x449ca0
push 0x1f
lea eax, [esi + 2]
push eax
lea eax, [esp + 0xe8]
push eax
call dword [esp + 0x50]
xor eax, eax
add esp, 0xc
mov word [esp + 0x11e], ax
lea eax, [esp + 0xe0]
mov dword [esp + 0x34], eax
mov ax, word [esp + 0xe0]
test ax, ax
je 0x449bd7
movzx esi, ax
nop dword [eax]
nop dword [eax + eax]
mov edx, 0x4cf49c
mov ecx, 0x20
nop word [eax + eax]
cmp si, cx
je 0x449bca
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
test ax, ax
jne 0x449ba0
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
movzx eax, word [eax]
mov esi, eax
test ax, ax
jne 0x449b90
jmp 0x449bd7
mov eax, dword [esp + 0x34]
test eax, eax
je 0x449bd7
xor ecx, ecx
mov word [eax], cx
lea ecx, [esp + 0xe0]
call fcn.0049d380
mov esi, eax
cmp esi, 0xffffffff
jne 0x449c3e
lea ecx, [esp + 0xe0]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449bf4
sub ecx, edx
sar ecx, 1
cmp ecx, 6
jbe 0x449c12
xor eax, eax
mov word [esp + 0xec], ax
push 0x10
lea eax, [esp + 0xe4]
push 0
push eax
call dword [esp + 0x48]
movzx esi, al
add esp, 0xc
movzx ecx, ax
shl esi, 8
shr ecx, 8
or esi, ecx
shr eax, 0x10
shl esi, 8
movzx eax, al
or esi, eax
mov eax, dword [esp + 0x10]
mov cx, word [eax]
call fcn.00413070
movzx eax, ax
cmp eax, 0x42
je 0x449c70
cmp eax, 0x54
je 0x449c6b
cmp eax, 0x57
jne 0x449c74
push esi
mov dword [edi + 0x44], esi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [edi + 0x40], eax
jmp 0x449c74
mov dword [edi + 0x48], esi
jmp 0x449c74
mov dword [esp + 0x40], esi
lea ecx, [esp + 0xe0]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449c80
mov eax, dword [esp + 0x10]
sub ecx, edx
sar ecx, 1
lea eax, [eax + ecx*2]
mov dword [esp + 0x10], eax
jmp 0x449ca0
mov eax, dword [esp + 0x10]
lea edx, [eax + 2]
movzx eax, word [edx]
mov ecx, eax
test ax, ax
je case.0x449aa8.68
mov dword [esp + 0x10], edx
call fcn.00413070
movzx eax, ax
cmp eax, 0x4d
je 0x449cf9
cmp eax, 0x53
jne case.0x449aa8.68
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, eax
add esp, 4
mov dword [esp + 0x60], edx
test edx, edx
jns 0x449f93
mov dword [esp + 0x60], 0
jmp 0x449f93
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, eax
add esp, 4
mov dword [esp + 0x54], edx
test edx, edx
jns 0x449f93
mov dword [esp + 0x54], 0
jmp 0x449f93
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
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 + 0x28], edx
jmp case.0x449aa8.68
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov byte [esp + 0x1b], 1
jmp 0x449f8c
mov eax, dword [esp + 0x10]
add eax, 2
cmp word [eax], 0
je case.0x449aa8.68
mov ecx, eax
mov dword [esp + 0x10], eax
call fcn.00417020
mov ecx, dword [esp + 0x10]
add ecx, 2
mov dword [esp + 0x50], eax
push 0x2d
push ecx
call dword [esp + 0x70]
add esp, 8
test eax, eax
je case.0x449aa8.68
mov ecx, eax
add eax, 2
cmp word [eax], 0
je 0x449f93
mov ecx, eax
mov dword [esp + 0x10], eax
call fcn.00417020
mov dword [esp + 0x6c], eax
jmp case.0x449aa8.68
mov byte [esp + 0x15], 0
jmp case.0x449aa8.68
mov edx, dword [esp + 0x10]
add edx, 2
movzx eax, word [edx]
mov ecx, eax
test ax, ax
je case.0x449aa8.68
mov dword [esp + 0x10], edx
call fcn.00413070
movzx eax, ax
cmp eax, 0x4d
je 0x449e62
cmp eax, 0x53
je 0x449e34
push dword [esp + 0x10]
call dword [esp + 0x1c]
add esp, 4
mov dword [edi], eax
cmp byte [ebp + 0x20], 0
jne case.0x449aa8.68
push 0x60
push dword [0x4e6ce8]
push eax
call dword [esp + 0x44]
mov dword [edi], eax
jmp case.0x449aa8.68
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, eax
add esp, 4
mov dword [esp + 0x20], edx
test edx, edx
jns 0x449f93
mov dword [esp + 0x20], 0
jmp 0x449f93
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, eax
add esp, 4
mov dword [esp + 0x4c], edx
test edx, edx
jns 0x449f93
mov dword [esp + 0x4c], 0
jmp 0x449f93
push 4
push str.Hide
push dword [esp + 0x18]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x449eb9
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x1f], 1
add ecx, 6
jmp 0x449f93
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [esp + 0x1c]
add esp, 4
mov dword [edi + 4], eax
cmp byte [ebp + 0x20], 0
jne case.0x449aa8.68
push 0x60
push dword [0x4e6ce8]
push eax
call dword [esp + 0x44]
mov dword [edi + 4], eax
jmp case.0x449aa8.68
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [esp + 0x1c]
mov dword [esp + 0x60], eax
jmp 0x449f8c
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [esp + 0x1c]
mov dword [esp + 0x28], eax
jmp 0x449f8c
mov edx, dword [esp + 0x10]
add edx, 2
movzx eax, word [edx]
mov ecx, eax
test ax, ax
je case.0x449aa8.68
mov dword [esp + 0x10], edx
call fcn.00413070
movzx eax, ax
add eax, 0xffffffbe
cmp eax, 0x17
ja case.0x449aa8.68
movzx eax, byte [eax + 0x44a920]
jmp dword [eax*4 + 0x44a90c]
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [esp + 0x1c]
mov dword [edi + 0x1c], eax
jmp 0x449f8c
cmp byte [ebp + 0x20], 0
je case.0x449aa8.68
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [esp + 0x1c]
mov dword [edi + 0x18], eax
jmp 0x449f8c
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [esp + 0x1c]
mov dword [edi + 0xc], eax
jmp 0x449f8c
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [esp + 0x1c]
mov dword [edi + 0x10], eax
add esp, 4
mov ecx, dword [esp + 0x10]
movzx eax, word [ecx + 2]
add ecx, 2
mov dword [esp + 0x10], ecx
mov ecx, eax
test ax, ax
jne 0x449a70
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 + 0x20], esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x11
mov dword [esp + 0x14], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x138]
push eax
push 0x40
push esi
call dword [sym.imp.GDI32.dll_GetTextFaceW]
lea eax, [esp + 0x1c4]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [esp + 0x1c4]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x1c]
cmp eax, 1
jge 0x44a02f
cmp eax, 0x80000000
je 0x44a02f
mov ecx, dword [edi + 0x18]
cmp ecx, 1
jge 0x44a02f
cmp ecx, 0x80000000
jne 0x44a039
test eax, eax
je 0x44a039
cmp dword [edi + 0x18], 0
jne 0x44a049
mov dword [edi + 0x18], 0
xor eax, eax
mov dword [edi + 0x1c], 0
cmp byte [ebp + 0x20], 0
je 0x44a200
mov ecx, dword [esp + 0x30]
cmp word [ecx], 0
je 0x44a200
test eax, eax
je 0x44a200
mov byte [esp + 0x44], 0
mov ecx, dword [esp + 0x30]
lea eax, [edi + 0x24]
push 0
push 0
push dword [esp + 0x4c]
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.0049d730
add esp, 0x18
mov dword [edi + 0x28], eax
test eax, eax
jne 0x44a0bb
cmp byte [esp + 0x44], al
jne 0x44a200
mov byte [esp + 0x44], 1
jmp 0x44a06e
cmp dword [edi + 0x1c], 0
jl 0x44a0cb
cmp dword [edi + 0x18], 0
jge 0x44a200
cmp dword [edi + 0x24], 0
je 0x44a0ef
lea ecx, [esp + 0x124]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x44a200
mov eax, dword [esp + 0x134]
test eax, eax
je 0x44a200
lea ecx, [esp + 0xc8]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x44a1e4
mov eax, dword [edi + 0x1c]
cmp eax, 0xffffffff
jne 0x44a164
mov ecx, dword [edi + 0x18]
test ecx, ecx
jle 0x44a164
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x44a1d1
movd xmm1, dword [esp + 0xd0]
movd xmm0, eax
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
addsd xmm1, qword [0x4db8b8]
cvttsd2si eax, xmm1
mov dword [edi + 0x1c], eax
jmp 0x44a1d1
mov ecx, dword [edi + 0x18]
cmp ecx, 0xffffffff
jne 0x44a1ae
test eax, eax
jle 0x44a1ae
mov ecx, dword [esp + 0xd0]
test ecx, ecx
je 0x44a1d1
movd xmm1, dword [esp + 0xcc]
cvtdq2pd xmm1, xmm1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
addsd xmm1, qword [0x4db8b8]
cvttsd2si eax, xmm1
jmp 0x44a1ce
cmp eax, 0x80000000
jne 0x44a1bf
mov eax, dword [esp + 0xd0]
mov dword [edi + 0x1c], eax
cmp ecx, 0x80000000
jne 0x44a1d1
mov eax, dword [esp + 0xcc]
mov dword [edi + 0x18], eax
cmp dword [edi], 0x80000000
jne 0x44a1e4
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 0x44a200
push dword [esp + 0x134]
mov esi, dword [esp + 0x4c]
call esi
push dword [esp + 0x130]
call esi
mov ecx, dword [edi]
cmp ecx, 0x80000000
jne 0x44a21f
push 0x60
push dword [0x4e6ce8]
push 0x12c
call dword [esp + 0x44]
mov ecx, eax
mov dword [edi], ecx
cmp dword [edi + 0x1c], 0x80000000
jne 0x44a22f
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]
mov esi, dword [sym.imp.GDI32.dll_CreateFontW]
cmp word [eax], 0
je 0x44a38b
movd xmm0, dword [esp + 0x3c]
mov eax, dword [esp + 0x54]
cvtdq2pd xmm0, xmm0
test eax, eax
je 0x44a289
push 0x48
push dword [esp + 0x14]
push eax
call dword [esp + 0x44]
mov ecx, eax
neg ecx
jmp 0x44a295
mulsd xmm0, qword [0x4db8d8]
cvttsd2si ecx, xmm0
mov eax, dword [esp + 0x4c]
mov esi, 0x258
mov edx, dword [ebp + 0x18]
test eax, eax
cmovne esi, eax
lea eax, [esp + 0x138]
cmp word [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_CreateFontW]
mov dword [edi + 0x38], eax
test eax, eax
jne 0x44a334
mov eax, dword [esp + 0x54]
test eax, eax
je 0x44a2f1
push 0x48
push dword [esp + 0x14]
push eax
call dword [esp + 0x44]
neg eax
jmp 0x44a307
movd xmm0, dword [esp + 0x3c]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4db8d8]
cvttsd2si eax, xmm0
lea ecx, [esp + 0x138]
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_CreateFontW]
push 0
push 0
push 0
push eax
call esi
mov dword [edi + 0x38], eax
jmp 0x44a33a
mov esi, dword [sym.imp.GDI32.dll_CreateFontW]
mov eax, dword [edi + 0x38]
test eax, eax
mov ecx, dword [esp + 0x34]
cmovne ecx, eax
push ecx
push dword [esp + 0x1c]
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 dword [esp + 0x28]
call dword [sym.imp.USER32.dll_DrawTextW]
mov dword [edi + 0x14], eax
mov edx, dword [esp + 0x60]
mov ecx, dword [ebp + 0x18]
test edx, edx
jne 0x44a3a4
cmp dword [esp + 0x20], edx
jne 0x44a3a4
test ecx, ecx
je 0x44a426
cmp word [ecx], 0
lea eax, [esp + 0x138]
cmovne eax, ecx
push eax
push 0
push 2
push 0
push 4
push 1
push 0
push 0
push 0
push dword [esp + 0x44]
push 0
push 0
push 0
push 0x48
push dword [esp + 0x48]
push edx
call dword [esp + 0x78]
neg eax
push eax
call esi
mov dword [edi + 0x3c], eax
test eax, eax
jne 0x44a426
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x44a3f4
test ecx, ecx
je 0x44a426
lea edx, [esp + 0x138]
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 + 0x48]
push eax
call dword [esp + 0x78]
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 + 0x48], 0
lea edx, [eax + ecx*2]
mov eax, dword [edi + 0x1c]
cmove edx, ecx
test eax, eax
mov dword [esp + 0x3c], edx
cmove esi, dword [esp + 0x48]
add esi, edx
add esi, eax
cmp dword [edi + 4], 0x80000000
mov dword [esp + 0x4c], esi
jne 0x44a4c9
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x44a4b9
mov eax, dword [edi + 0x3c]
test eax, eax
mov ecx, dword [esp + 0x34]
cmovne ecx, eax
push ecx
push dword [esp + 0x1c]
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 + 0x28]
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [edi + 0x10]
jmp 0x44a4bb
xor eax, eax
add eax, ecx
add eax, esi
mov dword [edi + 4], eax
mov dword [esp + 0x8c], eax
push dword [esp + 0x68]
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 0x44a893
push dword [esp + 0x58]
movaps xmm0, xmmword [esp + 0x84]
lea eax, [esp + 0xb4]
push 0
push dword [esp + 0x30]
movaps xmmword [esp + 0xbc], xmm0
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov esi, dword [esp + 0xb8]
lea eax, [esp + 0xa0]
mov edi, dword [esp + 0xbc]
sub esi, dword [esp + 0xb0]
sub edi, dword [esp + 0xb4]
push 0
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esp + 0xa8]
sub eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xac]
mov edx, eax
sub ecx, dword [esp + 0xa4]
cmp esi, eax
cmovle edx, esi
cmp edi, ecx
mov esi, ecx
mov dword [esp + 0x48], edx
cmovle esi, edi
cmp dword [esp + 0x5c], 0x80000000
jne 0x44a589
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0xa0]
mov dword [esp + 0x5c], eax
mov edi, dword [esp + 0x24]
cmp edi, 0x80000000
jne 0x44a5a7
sub ecx, esi
mov eax, ecx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
add edi, dword [esp + 0xa4]
mov ecx, dword [0x4e211c]
lea ecx, [ecx + 0x4c]
call fcn.00478ee0
test eax, eax
je 0x44a5c6
mov eax, dword [0x4e211c]
mov eax, dword [eax + 0x4c]
mov ecx, dword [eax + 4]
jmp 0x44a5c8
xor ecx, ecx
cmp byte [esp + 0x15], 0
je 0x44a5db
mov eax, dword [0x4e4b98]
test ecx, ecx
cmovne eax, ecx
jmp 0x44a5dd
xor eax, eax
push 0
push dword [0x4e4bfc]
push 0
push eax
push esi
push dword [esp + 0x5c]
push edi
push dword [esp + 0x78]
push dword [esp + 0x48]
push dword [esp + 0x88]
push str.MainGUI2
push dword [esp + 0x84]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [esp + 0x9c]
mov dword [edi + 0x20], eax
test eax, eax
je 0x44a893
mov edx, dword [esp + 0x28]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
and edx, 0x80000
jne 0x44a63a
cmp byte [esp + 0x15], 0
jne 0x44a68a
mov ecx, dword [0x4e7894]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x44a650
mov ecx, dword [0x4e7898]
jmp 0x44a660
mov ecx, dword [0x4e4d50]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x4e4d54]
test edx, edx
je 0x44a672
push ecx
push 0
push 0x80
push eax
call esi
mov eax, dword [edi + 0x20]
cmp byte [esp + 0x15], 0
jne 0x44a68a
push dword [esp + 0x24]
push 1
push 0x80
push eax
call esi
mov eax, dword [edi + 0x20]
lea ecx, [esp + 0x80]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov dword [edi + 4], eax
lea eax, [edx + edx]
mov dword [edi], ecx
sub ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], ecx
cmp word [eax], 0
je 0x44a713
push 0
push dword [0x4e4bfc]
xor eax, eax
cmp byte [esp + 0x1e], al
push 0
push dword [edi + 0x20]
setne al
push dword [edi + 0x14]
or eax, 0x50000080
push ecx
push dword [edi + 0x10]
push edx
push eax
push dword [ebp + 0x10]
push str.static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [edi + 0x38]
test ecx, ecx
mov edx, dword [esp + 0x34]
push 1
cmovne edx, ecx
mov dword [edi + 0x30], eax
push edx
push 0x30
push eax
call esi
mov edx, dword [edi + 0xc]
mov ecx, dword [esp + 0x24]
cmp byte [ebp + 0x20], 0
jne 0x44a810
mov eax, dword [edi + 0x1c]
test eax, eax
jle 0x44a810
push 0
push 0
push 0
push dword [edi + 0x20]
push eax
push ecx
push dword [esp + 0x54]
push edx
push 0x50000001
push 0
push str.msctls_progress32
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, eax
mov dword [edi + 0x2c], edx
test edx, edx
je 0x44a810
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x6c]
test ecx, ecx
jne 0x44a76c
test eax, eax
je 0x44a7a8
cmp ecx, 0xffffffff
jle 0x44a79e
cmp ecx, 0x10000
jge 0x44a79e
cmp eax, 0xffffffff
jle 0x44a79e
cmp eax, 0x10000
jge 0x44a79e
movzx ecx, ax
mov eax, dword [esp + 0x50]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push 0
push 0x401
jmp 0x44a7a5
push eax
push ecx
push 0x406
push edx
call esi
cmp dword [esp + 0x40], 0xff000000
je 0x44a7ce
push ecx
mov ecx, dword [edi + 0x2c]
call fcn.0049e390
add esp, 4
push dword [esp + 0x40]
push 0
push 0x409
push dword [edi + 0x2c]
call esi
mov eax, dword [edi + 0x44]
cmp eax, 0xff000000
je 0x44a7e5
push eax
push 0
push 0x2001
push dword [edi + 0x2c]
call esi
cmp byte [esp + 0x17], 0
mov eax, dword [edi + 0x2c]
push 0
je 0x44a803
push dword [esp + 0x30]
push 0x402
push eax
call esi
mov eax, dword [esp + 0x2c]
jmp 0x44a80d
push 0
push 0x408
push eax
call esi
mov dword [edi + 8], eax
mov eax, dword [esp + 0x8c]
sub eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x4c]
sub eax, ecx
push 0
push dword [0x4e4bfc]
push 0
push dword [edi + 0x20]
push eax
push dword [esp + 0x38]
xor eax, eax
cmp byte [esp + 0x36], al
push ecx
push dword [edi + 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 [edi + 0x34], eax
test eax, eax
je 0x44a874
mov ecx, dword [edi + 0x3c]
test ecx, ecx
mov edx, dword [esp + 0x34]
push 1
cmovne edx, ecx
push edx
push 0x30
push eax
call esi
cmp byte [esp + 0x1f], 0
jne 0x44a886
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
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
push esi
mov ecx, dword [esp + 0x28]
push 0
push str.Max_window_number_is_10.
call fcn.00447650
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c