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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c4d8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x44], esi
mov edx, dword [esi + 0x71c]
xorps xmm0, xmm0
push ecx
add edx, 0x414
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.00413310
add esp, 4
lea eax, [ebp - 0x5c]
xorps xmm0, xmm0
mov ecx, esi
movups xmmword [ebp - 0x5c], xmm0
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004171a0
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 [esi + 4]
mov dword [ebp - 0x4c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x71c]
mov byte [esi + 0x6f8], 1
mov dword [esi + 0x6a8], 1
mov eax, dword [ecx + 0x41c]
sub eax, dword [ecx + 0x414]
test eax, eax
jle 0x4173da
mov eax, dword [ecx + 0x420]
sub eax, dword [ecx + 0x418]
test eax, eax
jle 0x4173da
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x5c]
sub eax, edx
push 1
push eax
mov eax, dword [ebp - 0x54]
sub eax, ecx
push eax
push edx
push ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x59337c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0x34]
mov dword [esi + 0x6e4], 1
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x40
push 0
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 4]
call edi
mov ecx, dword [esi + 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 [esi + 0x5c]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
push dword [esi + 0x6d4]
call edi
push 5
push dword [esi + 0x6cc]
call edi
mov edi, dword [0x5c6ad0]
mov ecx, 0x593394
mov eax, ecx
mov dword [ebp - 0x40], edi
shr eax, 0x10
test eax, eax
jne 0x4176e7
movzx eax, cx
lea ecx, [ebp - 0x40]
push eax
call fcn.00413df0
mov edi, dword [ebp - 0x40]
lea eax, [esi + 0x58]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x48], eax
push ecx
lea ecx, [eax + 0x2c]
call fcn.00415170
lea eax, [esi + 0x58]
mov dword [eax + 0x148], 1
add eax, 0x14c
push edi
push 0x1c0
push eax
call fcn.004e1af2
movaps xmm0, xmmword [0x5af570]
add esp, 0xc
movups xmmword [esi + 0xc4], xmm0
mov esi, dword [ebp - 0x48]
movaps xmm0, xmmword [0x5af580]
push 1
movups xmmword [esi + 0x7c], xmm0
mov ecx, dword [esi + 0x80]
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0x7c]
sub eax, ecx
push eax
mov eax, dword [esi + 0x84]
sub eax, edx
push eax
push ecx
push edx
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_MoveWindow]
movaps xmm0, xmmword [0x5af5c0]
lea eax, [ebp - 0x5c]
push eax
mov ecx, esi
movups xmmword [ebp - 0x5c], xmm0
call fcn.00444210
mov esi, dword [0x5c6ad0]
mov ecx, 0x5933b0
mov eax, ecx
mov dword [ebp - 0x38], esi
shr eax, 0x10
test eax, eax
jne 0x41772a
movzx eax, cx
lea ecx, [ebp - 0x38]
push eax
call fcn.00413df0
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x44]
push esi
push dword [eax + 0x98]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esi - 0xc]
cmp eax, 0x5c6ad4
je 0x41757c
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41757c
push esi
call fcn.004d71b8
add esp, 4
mov eax, dword [ebp - 0x44]
push 5
lea esi, [eax + 0x58]
mov byte [eax + 0x17c], 0
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [0x5c6ad0]
mov dword [ebp - 0x38], eax
push 0x5933c0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], eax
call fcn.00413c20
mov esi, dword [ebp - 0x38]
test eax, eax
je 0x4175ef
mov eax, dword [ebp - 0x3c]
add eax, eax
push eax
push 0x5933c0
push esi
call fcn.004d9a60
mov eax, dword [ebp - 0x3c]
add esp, 0xc
xor ecx, ecx
mov dword [esi - 8], eax
mov word [esi + eax*2], cx
push 0x593410
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x41760f
push 0x593410
push eax
lea ecx, [ebp - 0x38]
call fcn.00415220
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ecx + 0x130]
call fcn.00415170
mov eax, dword [ebp - 0x44]
push 0
push dword [eax + 0x6cc]
mov word [eax + 0x180], 0x100
mov byte [eax + 0x182], 1
mov byte [eax + 0x17d], 1
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x44]
push 5
push dword [eax + 0x6e0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x44]
push 1
push 0
push dword [eax + 0x5c]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 0x48]
push 1
mov ecx, dword [eax + 0xa4]
mov edx, dword [eax + 0xa0]
mov eax, dword [eax + 0xac]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0xa8]
sub eax, edx
push eax
mov eax, dword [ebp - 0x48]
push ecx
push edx
push dword [eax + 0x9c]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x48]
push 5
push dword [eax + 0x9c]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi - 0xc]
cmp eax, 0x5c6ad4
je 0x41776d
lea eax, [esi - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push eax
mov dword [ebp - 0x3c], eax
call esi
test eax, eax
jg 0x417773
push dword [ebp - 0x3c]
call fcn.004d71b8
add esp, 4
jmp 0x417773
push 0x593394
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x417490
push eax
lea ecx, [ebp - 0x40]
call fcn.00413af0
test eax, eax
je 0x41748d
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x40]
add eax, eax
push eax
push 0x593394
push edi
call fcn.004d9a60
add esp, 0xc
jmp 0x417490
push 0x5933b0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x41754b
push eax
lea ecx, [ebp - 0x38]
call fcn.00413af0
test eax, eax
je 0x417548
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x38]
add eax, eax
push eax
push 0x5933b0
push esi
call fcn.004d9a60
add esp, 0xc
jmp 0x41754b
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [edi - 0xc]
cmp eax, 0x5c6ad4
je 0x417790
add edi, 0xfffffff4
push edi
call esi
test eax, eax
jg 0x417790
push edi
call fcn.004d71b8
add esp, 4
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x41779e
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 - 0x14]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret