Function at 0x4177c0
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c518
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x4c], edi
push 0x85
mov dword [ebp - 4], 0
push dword [0x5d15f8]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 1
push 0x80
push dword [edi + 4]
mov dword [ebp - 0x54], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [edi + 0x71c]
xorps xmm0, xmm0
push ecx
add edx, 0x414
mov byte [edi + 0x6f9], 1
lea ecx, [ebp - 0x30]
mov dword [edi + 0x6a8], 2
movups xmmword [ebp - 0x30], xmm0
call fcn.00413310
add esp, 4
lea eax, [ebp - 0x64]
xorps xmm0, xmm0
mov ecx, edi
movups xmmword [ebp - 0x64], xmm0
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004171a0
mov ecx, dword [edi + 0x71c]
mov esi, dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ecx + 0x41c]
sub eax, dword [ecx + 0x414]
test eax, eax
jle 0x4178a8
mov eax, dword [ecx + 0x420]
sub eax, dword [ecx + 0x418]
test eax, eax
jle 0x4178a8
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x64]
sub eax, edx
push 1
push eax
mov eax, dword [ebp - 0x5c]
sub eax, ecx
push eax
push edx
push ecx
push dword [edi + 4]
call esi
push 0
push dword [edi + 4]
mov byte [edi + 0x6fa], 0
call dword [sym.imp.USER32.dll_GetSystemMenu]
test eax, eax
je 0x4178cc
push 0
push 0xf060
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push dword [edi + 0x98]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x59337c
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0x20]
mov dword [edi + 0x6e4], 2
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp - 0x20]
push 1
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push edx
push ecx
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x71c]
push 1
mov eax, dword [ecx + 0x420]
sub eax, dword [ecx + 0x418]
push eax
mov eax, dword [ecx + 0x41c]
sub eax, dword [ecx + 0x414]
push eax
push 0
push 0
push dword [edi + 0x5c]
call esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi + 0x6d4]
call esi
push 0
push dword [edi + 0x6cc]
call esi
lea eax, [ebp - 0x40]
push eax
push dword [edi + 0x6d4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x34]
mov ecx, 0x593460
mov dword [edi + 0xbc], eax
mov eax, ecx
mov esi, dword [0x5c6ad0]
shr eax, 0x10
mov dword [ebp - 0x44], esi
test eax, eax
jne 0x417be4
movzx eax, cx
lea ecx, [ebp - 0x44]
push eax
call fcn.00413df0
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0x84]
call fcn.00415170
push esi
lea eax, [edi + 0x1a4]
mov dword [edi + 0x1a0], 1
push 0x1c0
push eax
call fcn.004e1af2
lea eax, [esi - 0xc]
add esp, 0xc
cmp eax, 0x5c6ad4
je 0x4179f5
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4179f5
push esi
call fcn.004d71b8
add esp, 4
movaps xmm0, xmmword [0x5af550]
movups xmmword [edi + 0xc4], xmm0
push 1
xorps xmm0, xmm0
movups xmmword [edi + 0xd4], xmm0
mov ecx, dword [edi + 0xd8]
mov eax, dword [edi + 0xe0]
mov edx, dword [edi + 0xd4]
sub eax, ecx
push eax
mov eax, dword [edi + 0xdc]
sub eax, edx
push eax
push ecx
push edx
push dword [edi + 0x94]
call dword [sym.imp.USER32.dll_MoveWindow]
movaps xmm0, xmmword [0x5af5b0]
lea eax, [ebp - 0x64]
push eax
lea ecx, [edi + 0x58]
movups xmmword [ebp - 0x64], xmm0
call fcn.00444210
push 0
mov byte [edi + 0x17c], 0
push dword [edi + 0xf4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x5c6ad0]
mov dword [ebp - 0x44], eax
push 0x5933c0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea ecx, [ebp - 0x44]
push esi
mov dword [ebp - 0x48], esi
call fcn.00413c20
mov edi, dword [ebp - 0x44]
test eax, eax
je 0x417ab0
add esi, esi
push esi
push 0x5933c0
push edi
call fcn.004d9a60
mov eax, dword [ebp - 0x48]
add esp, 0xc
mov dword [edi - 8], eax
xor eax, eax
mov word [edi + esi], ax
push 0x593410
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x417ad0
push 0x593410
push eax
lea ecx, [ebp - 0x44]
call fcn.00415220
mov edi, dword [ebp - 0x44]
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
push eax
lea ecx, [esi + 0x130]
call fcn.00415170
push 1
push 0
push 0
push 0
push 0
push dword [esi + 0x6cc]
mov word [esi + 0x180], 1
mov byte [esi + 0x182], 0
mov byte [esi + 0x17d], 0
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [0x5c6ad0]
mov ecx, 0x593470
mov eax, ecx
mov dword [ebp - 0x48], esi
shr eax, 0x10
test eax, eax
jne 0x417c27
movzx eax, cx
lea ecx, [ebp - 0x48]
push eax
call fcn.00413df0
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
push esi
push dword [eax + 0x98]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esi - 0xc]
cmp eax, 0x5c6ad4
je 0x417b6a
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x417b6a
push esi
call fcn.004d71b8
add esp, 4
mov esi, dword [ebp - 0x4c]
push 5
push dword [esi + 0x6d4]
mov byte [esi + 0x183], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push dword [esi + 0x5c]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [edi - 0xc]
cmp eax, 0x5c6ad4
je 0x417bbb
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x417bbb
push edi
call fcn.004d71b8
add esp, 4
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x417bc9
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret
push 0x593460
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x4179a2
push eax
lea ecx, [ebp - 0x44]
call fcn.00413af0
test eax, eax
je 0x41799f
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
add eax, eax
push eax
push 0x593460
push esi
call fcn.004d9a60
add esp, 0xc
jmp 0x4179a2
push 0x593470
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x417b39
push eax
lea ecx, [ebp - 0x48]
call fcn.00413af0
test eax, eax
je 0x417b36
mov eax, dword [ebp - 0x50]
mov esi, dword [ebp - 0x48]
add eax, eax
push eax
push 0x593470
push esi
call fcn.004d9a60
add esp, 0xc
jmp 0x417b39