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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x228
mov eax, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x18], ecx
xor edi, edi
cmp byte [ebp + 0x20], 0
mov ecx, dword [sym.imp.VCRUNTIME140.dll_wcschr]
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x68], ecx
je 0x44fae3
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x10], esi
cmp word [eax], di
je 0x44fb91
push 0x3a
push eax
call ecx
mov edx, dword [ebp + 0x1c]
mov ecx, eax
add esp, 8
mov dword [esp + 0x48], ecx
mov esi, edx
movzx eax, word [esi]
cmp eax, 0x20
je 0x44fa03
cmp eax, 9
jne 0x44fa08
add esi, 2
jmp 0x44f9f6
test ecx, ecx
je 0x44fa95
mov edi, ecx
sub edi, edx
sar edi, 1
cmp edi, 0x20
jae 0x44fa93
push edi
push edx
lea eax, [esp + 0x130]
push eax
call dword [esp + 0x40]
add esp, 0xc
lea ecx, [esp + 0x128]
xor eax, eax
xor edx, edx
mov word [esp + edi*2 + 0x128], ax
push eax
push 1
push eax
call fcn.004b0420
add esp, 0xc
test eax, eax
je 0x44fa93
mov ecx, dword [esp + 0x48]
add ecx, 2
mov esi, ecx
movzx eax, word [esi]
cmp eax, 0x20
je 0x44fa65
cmp eax, 9
jne 0x44fa6a
add esi, 2
jmp 0x44fa58
test ax, ax
cmove ecx, esi
mov dword [ebp + 0x1c], ecx
lea ecx, [esp + 0x128]
call fcn.00419ea0
mov edi, eax
sub edi, 1
js 0x44fa8b
cmp edi, 0xa
jl 0x44fa95
push dword [ebp + 8]
jmp 0x450d98
xor edi, edi
push 0x4e5140
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x44faba
mov edx, dword [esp + 0x20]
mov byte [esp + 0x15], 1
mov dword [esp + 0x28], edx
jmp 0x44fb99
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 0x44fb91
mov edx, dword [esp + 0x20]
mov byte [esp + 0x16], 1
mov dword [esp + 0x28], edx
jmp 0x44fb99
push 0x3a
push esi
call ecx
add esp, 8
mov dword [esp + 0x10], eax
mov ecx, esi
test eax, eax
je 0x44fb10
call fcn.00419ea0
lea edi, [eax - 1]
cmp edi, 9
ja 0x450d97
mov ecx, dword [esp + 0x10]
add ecx, 2
nop dword [eax]
movzx eax, word [ecx]
cmp eax, 0x20
je 0x44fb0a
cmp eax, 9
je 0x44fb0a
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
push 0x4e5140
push ecx
mov dword [esp + 0x18], ecx
call esi
add esp, 8
test eax, eax
jne 0x44fb45
mov edx, dword [esp + 0x20]
mov byte [esp + 0x15], 1
mov dword [esp + 0x28], edx
jmp 0x44fb99
push str.Show
push dword [esp + 0x14]
call esi
add esp, 8
test eax, eax
jne 0x44fb66
mov edx, dword [esp + 0x20]
mov byte [esp + 0x16], 1
mov dword [esp + 0x28], edx
jmp 0x44fb99
mov esi, dword [esp + 0x10]
mov edx, 1
push 0
push 1
push 0
mov ecx, esi
call fcn.004b0420
add esp, 0xc
test eax, eax
je 0x44fb91
mov ecx, esi
call fcn.00419ea0
mov byte [esp + 0x17], 1
jmp 0x44fb95
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov dl, byte [ebp + 0x20]
mov eax, 0x4fad70
test dl, dl
mov ecx, 0x4fb068
cmovne ecx, eax
imul edi, edi, 0x4c
add edi, ecx
mov dword [esp + 0x6c], edi
mov eax, dword [edi + 0x20]
test eax, eax
je 0x44fbcc
push eax
call dword [sym.imp.USER32.dll_IsWindow]
mov dl, byte [ebp + 0x20]
test eax, eax
jne 0x44fbcc
mov dword [edi + 0x20], eax
cmp byte [esp + 0x16], 0
je 0x44fc05
mov eax, dword [edi + 0x20]
test eax, eax
je 0x450d80
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x450d80
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 + 0x15], 0
jne 0x44fcb8
cmp dword [edi + 0x20], 0
je 0x44fcb8
mov eax, dword [ebp + 0x1c]
cmp word [eax], 0
jne 0x44fcb8
mov al, byte [esp + 0x17]
test al, al
jne 0x44fc3d
mov eax, dword [esp + 0x10]
cmp word [eax], 0
jne 0x44fcb8
mov al, byte [esp + 0x17]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test dl, dl
jne 0x44fc69
test al, al
je 0x44fc69
mov ecx, dword [esp + 0x28]
cmp dword [edi + 8], ecx
je 0x44fc69
mov eax, dword [edi + 0x2c]
mov dword [edi + 8], ecx
test eax, eax
je 0x44fc69
push 0
push ecx
push 0x402
push eax
call esi
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x44fc81
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x44fc81
push eax
push 0
push 0xc
push ecx
call esi
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x44fc94
push eax
push 0
push 0xc
push dword [edi + 0x34]
call esi
mov eax, dword [ebp + 0x14]
cmp word [eax], 0
je 0x450d80
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 0x44fcc6
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 + 0x4c], esi
test eax, eax
je 0x44fcda
push eax
call esi
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x44fce4
push eax
call esi
mov eax, dword [edi + 0x40]
test eax, eax
je 0x44fcee
push eax
call esi
mov eax, dword [edi + 0x28]
test eax, eax
je 0x44fd06
cmp dword [edi + 0x24], 0
push eax
jne 0x44fd00
call esi
jmp 0x44fd06
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 0x450d80
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x60], ecx
cmp word [ecx], 0
jne 0x44fd47
mov ecx, dword [0x4fd6f8]
mov dword [esp + 0x60], ecx
test ecx, ecx
je 0x44fd3f
cmp word [ecx], 0
jne 0x44fd47
mov dword [esp + 0x60], 0x4cec30
mov cl, byte [ebp + 0x20]
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 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 + 0x24], 0x88c00000
mov dword [esp + 0x5c], 8
mov dword [esp + 0x58], closesocket
mov dword [esp + 0x54], closesocket
mov dword [esp + 0x48], 0xff000000
mov dword [edi + 0x44], 0xff000000
mov dword [edi + 0x48], 0xff000000
mov dword [edi + 4], closesocket
mov dword [esp + 0x38], eax
test cl, cl
je 0x44fdcb
mov esi, closesocket
mov eax, esi
jmp 0x44fde2
push 0x60
push dword [0x4fcbf8]
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], closesocket
cmp word [eax], 0
jne 0x44fe0a
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
jne 0x44fe0a
test cl, cl
je 0x44fe0a
xor eax, eax
xor ecx, ecx
jmp 0x44fe14
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 0x4503fa
mov ecx, eax
nop dword [eax]
movzx esi, cx
test esi, 0xffffff80
jne 0x44fe4e
push 2
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
add esp, 8
test eax, eax
je 0x44fe4e
and esi, 0xffffffdf
add esi, 0xffffffbf
cmp esi, 0x19
ja case.0x44fe61.68
movzx eax, byte [esi + 0x450de8]
jmp dword [eax*4 + 0x450db0]
and dword [esp + 0x5c], 0xfffffff7
jmp case.0x44fe61.68
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
and edx, 0xff3fffff
mov dword [esp + 0x24], edx
movzx eax, word [eax + 2]
cmp eax, 0x31
jne 0x44fe9c
or edx, 0x800000
mov dword [esp + 0x24], edx
jmp case.0x44fe61.68
mov ecx, dword [esp + 0x10]
cmp eax, 0x32
jne 0x4503e4
or edx, 0x400000
mov dword [esp + 0x24], edx
jmp 0x4503e4
mov ecx, dword [esp + 0x10]
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
je case.0x44fe61.68
mov esi, edx
mov dword [esp + 0x10], ecx
test esi, 0xffffff80
jne 0x44feee
push 2
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
add esp, 8
test eax, eax
je 0x44feee
and esi, 0xffffffdf
cmp esi, 0x42
je 0x44ff19
cmp esi, 0x54
je 0x44ff19
cmp esi, 0x57
je 0x44ff19
mov eax, dword [esp + 0x10]
cmp word [eax], 0x30
setne byte [esp + 0x1e]
cmp word [eax + 2], 0x30
setne byte [esp + 0x16]
jmp 0x4500a0
mov esi, dword [esp + 0x10]
push 0x1f
lea eax, [esi + 2]
push eax
lea eax, [esp + 0xf0]
push eax
call dword [esp + 0x40]
xor eax, eax
add esp, 0xc
mov word [esp + 0x126], ax
lea eax, [esp + 0xe8]
mov dword [esp + 0x30], eax
mov ax, word [esp + 0xe8]
test ax, ax
je 0x44ffab
movzx esi, ax
nop word [eax + eax]
mov ecx, 0x4e5614
mov edx, 0x20
nop word [eax + eax]
cmp si, dx
je 0x44ff9a
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x44ff70
mov eax, dword [esp + 0x30]
add eax, 2
mov dword [esp + 0x30], eax
movzx eax, word [eax]
mov esi, eax
test ax, ax
jne 0x44ff60
jmp 0x44ffa7
mov eax, dword [esp + 0x30]
test eax, eax
je 0x44ffa7
xor ecx, ecx
mov word [eax], cx
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0xe8]
call fcn.004b1870
mov dword [esp + 0x2c], eax
cmp eax, 0xffffffff
jne 0x450020
lea ecx, [esp + 0xe8]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44ffd0
sub ecx, edx
sar ecx, 1
cmp ecx, 6
jbe 0x44ffee
xor eax, eax
mov word [esp + 0xf4], ax
push 0x10
lea eax, [esp + 0xec]
push 0
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
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 + 0x2c], edx
movzx esi, word [esi]
test esi, 0xffffff80
jne 0x45003e
push 2
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
add esp, 8
test eax, eax
je 0x45003e
and esi, 0xffffffdf
cmp esi, 0x42
je 0x450069
cmp esi, 0x54
je 0x450060
cmp esi, 0x57
jne 0x450071
mov eax, dword [esp + 0x2c]
push eax
mov dword [edi + 0x44], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [edi + 0x40], eax
jmp 0x450071
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x48], eax
jmp 0x450071
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x48], eax
lea ecx, [esp + 0xe8]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450080
mov eax, dword [esp + 0x10]
sub ecx, edx
sar ecx, 1
lea eax, [eax + ecx*2]
mov dword [esp + 0x10], eax
jmp 0x4500a0
mov eax, dword [esp + 0x10]
lea ecx, [eax + 2]
movzx eax, word [ecx]
mov edx, eax
test ax, ax
je case.0x44fe61.68
mov esi, edx
mov dword [esp + 0x10], ecx
test esi, 0xffffff80
jne 0x4500d2
push 2
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
add esp, 8
test eax, eax
je 0x4500d2
and esi, 0xffffffdf
cmp esi, 0x4d
je 0x450110
cmp esi, 0x53
jne case.0x44fe61.68
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov ecx, dword [esp + 0x14]
mov edx, eax
add esp, 4
mov dword [esp + 0x3c], edx
test edx, edx
jns 0x4503e4
mov dword [esp + 0x3c], 0
jmp 0x4503e4
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov ecx, dword [esp + 0x14]
mov edx, eax
add esp, 4
mov dword [esp + 0x50], edx
test edx, edx
jns 0x4503e4
mov dword [esp + 0x50], 0
jmp 0x4503e4
mov edx, dword [esp + 0x24]
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 + 0x24], edx
jmp case.0x44fe61.68
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x1b], 1
jmp 0x4503dd
mov eax, dword [esp + 0x10]
add eax, 2
cmp word [eax], 0
je case.0x44fe61.68
mov ecx, eax
mov dword [esp + 0x10], eax
call fcn.00419ea0
mov ecx, dword [esp + 0x10]
add ecx, 2
mov dword [esp + 0x64], eax
push 0x2d
push ecx
call dword [esp + 0x70]
add esp, 8
test eax, eax
je case.0x44fe61.68
mov ecx, eax
add eax, 2
cmp word [eax], 0
je 0x4503e4
mov ecx, eax
mov dword [esp + 0x10], eax
call fcn.00419ea0
mov dword [esp + 0x20], eax
jmp case.0x44fe61.68
mov byte [esp + 0x15], 0
jmp case.0x44fe61.68
mov ecx, dword [esp + 0x10]
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
je case.0x44fe61.68
mov esi, edx
mov dword [esp + 0x10], ecx
test esi, 0xffffff80
jne 0x45022f
push 2
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
add esp, 8
test eax, eax
je 0x45022f
and esi, 0xffffffdf
cmp esi, 0x4d
je 0x450287
cmp esi, 0x53
je 0x450266
push dword [esp + 0x10]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov dword [edi], eax
cmp byte [ebp + 0x20], 0
jne case.0x44fe61.68
push 0x60
push dword [0x4fcbf8]
push eax
call dword [esp + 0x44]
mov dword [edi], eax
jmp case.0x44fe61.68
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
xor edx, edx
add esp, 4
test eax, eax
cmovns edx, eax
mov dword [esp + 0x44], edx
jmp case.0x44fe61.68
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov ecx, dword [esp + 0x14]
mov edx, eax
add esp, 4
mov dword [esp + 0x40], edx
test edx, edx
jns 0x4503e4
mov dword [esp + 0x40], 0
jmp 0x4503e4
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 0x4502e0
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x1f], 1
add ecx, 6
jmp 0x4503e4
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov dword [edi + 4], eax
cmp byte [ebp + 0x20], 0
jne case.0x44fe61.68
push 0x60
push dword [0x4fcbf8]
push eax
call dword [esp + 0x44]
mov dword [edi + 4], eax
jmp case.0x44fe61.68
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov dword [esp + 0x5c], eax
jmp 0x4503dd
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov dword [esp + 0x58], eax
jmp 0x4503dd
mov ecx, dword [esp + 0x10]
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
je case.0x44fe61.68
mov esi, edx
mov dword [esp + 0x10], ecx
test esi, 0xffffff80
jne 0x450377
push 2
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
add esp, 8
test eax, eax
je 0x450377
and esi, 0xffffffdf
add esi, 0xffffffbe
cmp esi, 0x17
ja case.0x44fe61.68
movzx eax, byte [esi + 0x450e18]
jmp dword [eax*4 + 0x450e04]
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov dword [edi + 0x1c], eax
jmp 0x4503dd
cmp byte [ebp + 0x20], 0
je case.0x44fe61.68
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov dword [edi + 0x18], eax
jmp 0x4503dd
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov dword [edi + 0xc], eax
jmp 0x4503dd
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
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 0x44fe30
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 + 0x18], esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x11
mov dword [esp + 0x30], 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 + 0x68], eax
lea eax, [esp + 0x168]
push eax
push 0x40
push esi
call dword [sym.imp.GDI32.dll_GetTextFaceW]
lea eax, [esp + 0x1f4]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x1c]
cmp eax, 1
jge 0x450480
cmp eax, 0x80000000
je 0x450484
mov ecx, dword [edi + 0x18]
cmp ecx, 1
jge 0x450480
cmp ecx, 0x80000000
jne 0x45048a
test eax, eax
je 0x45048a
cmp dword [edi + 0x18], 0
jne 0x45049a
mov dword [edi + 0x18], 0
xor eax, eax
mov dword [edi + 0x1c], 0
cmp byte [ebp + 0x20], 0
je 0x45064c
mov ecx, dword [ebp + 0x1c]
cmp word [ecx], 0
je 0x45064c
test eax, eax
je 0x45064c
mov byte [esp + 0x34], 0
mov ecx, dword [ebp + 0x1c]
lea eax, [edi + 0x24]
push 0
push 0
push dword [esp + 0x3c]
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.004b1be0
add esp, 0x18
mov dword [edi + 0x28], eax
test eax, eax
jne 0x45050a
cmp byte [esp + 0x34], al
jne 0x45064c
mov byte [esp + 0x34], 1
jmp 0x4504be
cmp dword [edi + 0x1c], 0
jl 0x45051a
cmp dword [edi + 0x18], 0
jge 0x45064c
cmp dword [edi + 0x24], 0
je 0x45053e
lea ecx, [esp + 0xd4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x45064c
mov eax, dword [esp + 0xe4]
test eax, eax
je 0x45064c
lea ecx, [esp + 0xbc]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x450630
mov eax, dword [edi + 0x1c]
cmp eax, 0xffffffff
jne 0x4505b3
mov ecx, dword [edi + 0x18]
test ecx, ecx
jle 0x4505b3
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x450620
movd xmm1, dword [esp + 0xc4]
movd xmm0, eax
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
addsd xmm1, qword [0x4f1f28]
cvttsd2si eax, xmm1
mov dword [edi + 0x1c], eax
jmp 0x450620
mov ecx, dword [edi + 0x18]
cmp ecx, 0xffffffff
jne 0x4505fd
test eax, eax
jle 0x4505fd
mov edx, dword [esp + 0xc4]
test edx, edx
je 0x450620
movd xmm1, dword [esp + 0xc0]
cvtdq2pd xmm1, xmm1
movd xmm0, edx
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
addsd xmm1, qword [0x4f1f28]
cvttsd2si ecx, xmm1
jmp 0x45061d
cmp eax, 0x80000000
jne 0x45060e
mov eax, dword [esp + 0xc4]
mov dword [edi + 0x1c], eax
cmp ecx, 0x80000000
jne 0x450620
mov ecx, dword [esp + 0xc0]
mov dword [edi + 0x18], ecx
cmp dword [edi], 0x80000000
jne 0x450630
mov eax, dword [edi + 0xc]
lea eax, [ecx + eax*2]
mov dword [edi], eax
cmp dword [edi + 0x24], 1
jne 0x45064c
push dword [esp + 0xe4]
mov esi, dword [esp + 0x50]
call esi
push dword [esp + 0xe0]
call esi
mov ecx, dword [edi]
cmp ecx, 0x80000000
jne 0x45066b
push 0x60
push dword [0x4fcbf8]
push 0x12c
call dword [esp + 0x44]
mov ecx, eax
mov dword [edi], ecx
cmp dword [edi + 0x1c], 0x80000000
jne 0x45067b
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 0x4507d8
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4506cb
push 0x48
push dword [esp + 0x30]
push eax
call dword [esp + 0x44]
mov ecx, eax
neg ecx
jmp 0x4506e1
movd xmm0, dword [esp + 0x18]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4f1f48]
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 + 0x168]
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 ecx, eax
mov dword [edi + 0x38], ecx
test ecx, ecx
jne 0x450784
mov eax, dword [esp + 0x50]
test eax, eax
je 0x45073f
push 0x48
push dword [esp + 0x30]
push eax
call dword [esp + 0x44]
neg eax
jmp 0x450755
movd xmm0, dword [esp + 0x18]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4f1f48]
cvttsd2si eax, xmm0
lea ecx, [esp + 0x168]
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 ecx, eax
mov dword [edi + 0x38], ecx
jmp 0x45078a
mov esi, dword [sym.imp.GDI32.dll_CreateFontW]
mov eax, dword [esp + 0x30]
test ecx, ecx
cmovne eax, ecx
push eax
push dword [esp + 0x14]
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 + 0x20]
call dword [sym.imp.USER32.dll_DrawTextW]
mov dword [edi + 0x14], eax
mov edx, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x18]
test edx, edx
jne 0x4507f1
cmp dword [esp + 0x44], edx
jne 0x4507f1
test ecx, ecx
je 0x450873
cmp word [ecx], 0
lea eax, [esp + 0x168]
cmovne eax, ecx
push eax
push 0
push 2
push 0
push 4
push 1
push 0
push 0
push 0
push dword [esp + 0x68]
push 0
push 0
push 0
push 0x48
push dword [esp + 0x64]
push edx
call dword [esp + 0x78]
neg eax
push eax
call esi
mov dword [edi + 0x3c], eax
test eax, eax
jne 0x450873
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
test eax, eax
jne 0x450841
test ecx, ecx
je 0x450873
lea edx, [esp + 0x168]
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 + 0x64]
push eax
call dword [esp + 0x78]
neg eax
push eax
call esi
mov dword [edi + 0x3c], eax
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x450881
mov eax, dword [edi + 0x10]
add eax, ecx
jmp 0x450883
xor eax, eax
mov esi, dword [edi + 0x10]
xor edx, edx
lea ecx, [eax + esi]
mov eax, dword [edi + 0x1c]
test eax, eax
mov dword [esp + 0x34], ecx
cmove esi, edx
add esi, ecx
add esi, eax
cmp dword [edi + 4], 0x80000000
mov dword [esp + 0x3c], esi
jne 0x450915
mov eax, dword [ebp + 0xc]
cmp word [eax], dx
je 0x450902
mov eax, dword [edi + 0x3c]
test eax, eax
mov ecx, dword [esp + 0x30]
cmovne ecx, eax
push ecx
push dword [esp + 0x14]
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 + 0x20]
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, eax
jmp 0x450904
xor ecx, ecx
mov eax, dword [edi + 0x10]
add eax, ecx
add eax, esi
mov dword [edi + 4], eax
mov dword [esp + 0x8c], eax
push dword [esp + 0x68]
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x450d8d
push dword [esp + 0x5c]
movaps xmm0, xmmword [esp + 0x84]
lea eax, [esp + 0xa4]
push 0
push dword [esp + 0x2c]
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 + 0x40], edx
mov edx, ecx
cmovle edx, edi
cmp dword [esp + 0x58], 0x80000000
mov dword [esp + 0x18], edx
jne 0x4509df
sub eax, dword [esp + 0x40]
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, dword [esp + 0x90]
mov dword [esp + 0x58], eax
cmp dword [esp + 0x54], 0x80000000
jne 0x4509fd
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 [0x4f8174]
mov esi, dword [edi + 0x4c]
test esi, esi
je 0x450a41
cmp dword [esi + 4], 0
jne 0x450a95
mov ecx, dword [esi]
cmp word [ecx], 0
jne 0x450a56
add dword [esi + 0x20], 0xffffffff
jne 0x450a3a
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push 0xd8
push esi
call fcn.004cb6c4
add esp, 8
mov dword [edi + 0x4c], 0
xor ecx, ecx
cmp byte [esp + 0x15], 0
je 0x450a9d
mov eax, dword [0x4faa80]
test ecx, ecx
cmovne eax, ecx
jmp 0x450a9f
call fcn.004865f0
mov dword [esp + 0x4c], eax
test eax, eax
je 0x450a41
inc dword [eax + 0x20]
mov esi, dword [edi + 0x4c]
add dword [esi + 0x20], 0xffffffff
jne 0x450a8c
push dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push 0xd8
push esi
call fcn.004cb6c4
mov eax, dword [esp + 0x54]
add esp, 8
mov dword [edi + 0x4c], eax
mov edi, dword [0x4f8174]
mov eax, dword [edi + 0x4c]
mov ecx, dword [eax + 4]
jmp 0x450a43
xor eax, eax
push 0
push dword [0x4faae0]
push 0
push eax
push dword [esp + 0x28]
push dword [esp + 0x54]
push dword [esp + 0x6c]
push dword [esp + 0x74]
push dword [esp + 0x44]
push dword [esp + 0x84]
push str.SplashGui
push dword [esp + 0x88]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [esp + 0x6c]
mov ecx, eax
mov dword [esi + 0x20], ecx
test ecx, ecx
je 0x450d8d
mov edx, dword [esp + 0x24]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
and edx, 0x80000
jne 0x450b01
cmp byte [esp + 0x15], 0
jne 0x450b49
mov eax, dword [0x4fd754]
mov dword [esp + 0x18], eax
test eax, eax
je 0x450b15
mov eax, dword [0x4fd758]
jmp 0x450b23
mov eax, dword [0x4fac3c]
mov dword [esp + 0x18], eax
mov eax, dword [0x4fac40]
test edx, edx
je 0x450b32
push eax
push 0
push 0x80
push ecx
call edi
cmp byte [esp + 0x15], 0
jne 0x450b49
push dword [esp + 0x18]
push 1
push 0x80
push dword [esi + 0x20]
call edi
lea eax, [esp + 0x80]
push eax
push dword [esi + 0x20]
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 + 0x18], ecx
cmp word [eax], 0
je 0x450bd1
push 0
push dword [0x4faae0]
xor eax, eax
cmp byte [esp + 0x1e], 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 ecx, dword [esp + 0x18]
cmp byte [ebp + 0x20], 0
jne 0x450d0a
mov eax, dword [esi + 0x1c]
test eax, eax
jle 0x450d0a
push 0
push 0
push 0
push dword [esi + 0x20]
push eax
push ecx
push dword [esp + 0x4c]
push dword [esi + 0xc]
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 0x450d0a
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x20]
test ecx, ecx
jne 0x450c2e
test eax, eax
je 0x450c6a
jmp 0x450c3b
cmp ecx, 0xffffffff
jle 0x450c60
cmp ecx, 0x10000
jge 0x450c60
cmp eax, 0xffffffff
jle 0x450c60
cmp eax, 0x10000
jge 0x450c60
movzx ecx, ax
mov eax, dword [esp + 0x64]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push 0
push 0x401
jmp 0x450c67
push eax
push ecx
push 0x406
push edx
call edi
cmp dword [esp + 0x48], 0xff000000
je 0x450cc8
mov eax, dword [esi + 0x2c]
push str.uxtheme
mov dword [esp + 0x70], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x4c], eax
test eax, eax
je 0x450cb8
push str.SetWindowTheme
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x450cae
push 0x4cec30
push 0x4cec30
push dword [esp + 0x74]
call eax
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [esp + 0x48]
push 0
push 0x409
push dword [esi + 0x2c]
call edi
mov eax, dword [esi + 0x44]
cmp eax, 0xff000000
je 0x450cdf
push eax
push 0
push 0x2001
push dword [esi + 0x2c]
call edi
cmp byte [esp + 0x17], 0
mov eax, dword [esi + 0x2c]
push 0
je 0x450cfd
push dword [esp + 0x2c]
push 0x402
push eax
call edi
mov eax, dword [esp + 0x28]
jmp 0x450d07
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 + 0x3c]
sub eax, ecx
push 0
push dword [0x4faae0]
push 0
push dword [esi + 0x20]
push eax
push dword [esp + 0x2c]
xor eax, eax
cmp byte [esp + 0x36], 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 0x450d6e
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 + 0x1f], 0
jne 0x450d80
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 + 0x1c]
push 0
push str.Max_window_number_is_10.
call fcn.0044dae0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c