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

Disassembly:
mov eax, 0x422f84
call fcn.00422230
sub esp, 0x48
push ebx
push esi
push edi
mov esi, ecx
lea ecx, [esi + 4]
push 0x68
call fcn.00401287
mov eax, dword [ebp + 0x14]
and dword [eax], 0
push 0x74
lea ecx, [esi + 0x1cc]
call fcn.00403297
push 0x8b
lea ecx, [esi + 0x1d0]
call fcn.00403297
push 0x8a
lea ecx, [esi + 0x1d4]
call fcn.00403297
push 0x8d
lea ecx, [esi + 0x1d8]
call fcn.00403297
push 0x93
lea ecx, [esi + 0x1dc]
call fcn.00403297
push esi
call fcn.00404602
mov ecx, eax
call fcn.004054d8
push 0x7c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
lea edi, [esi + 8]
push dword [edi]
mov dword [ebp + 0x14], eax
call ebx
push dword [ebp + 0x14]
push 0
push 0x80
push dword [edi]
call ebx
lea ecx, [ebp + 0x14]
call fcn.00402f4c
and dword [ebp - 4], 0
lea eax, [ebp + 0x14]
push eax
mov ecx, edi
call fcn.00408035
call fcn.0040a251
mov ecx, eax
call fcn.00408eab
push eax
lea ecx, [ebp - 0x10]
call fcn.00405488
push 0x427d64
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040814f
mov eax, dword [ebp + 0x14]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push eax
call fcn.004064e9
push dword [ebp - 0x10]
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ef
push dword [edi]
call ebx
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
call fcn.00401200
push 0x3ee
push dword [edi]
call ebx
test eax, eax
mov dword [ebp - 0x14], eax
je 0x4089df
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.00401200
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x20]
add dword [ebp - 0x1c], 0xa
push eax
push 0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push 1
push eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
push dword [edi]
lea ecx, [esi + 0x3c]
call fcn.00406bbb
push 0x3ed
push dword [edi]
call ebx
lea ecx, [ebp - 0x54]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.00401200
push 1
lea eax, [ebp - 0x54]
push eax
lea ecx, [esi + 0x40]
call fcn.00406a9f
lea ecx, [esi + 0x3c]
call fcn.00401861
push 0x3f0
push dword [edi]
call ebx
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x34]
push eax
mov ecx, edi
call fcn.00401200
push 0
push dword [edi]
lea ecx, [esi + 0x6c]
call fcn.00406be9
push 1
lea eax, [ebp - 0x34]
lea ebx, [esi + 0x70]
push eax
mov ecx, ebx
call fcn.00406a9f
push 0
push dword [ebx]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
call ebx
push 0
push dword [edi]
lea ecx, [esi + 0xa4]
call fcn.00406c17
push 1
lea eax, [ebp - 0x34]
lea ecx, [esi + 0xa8]
push eax
call fcn.00406a9f
push 0
push dword [esi + 0xa8]
call ebx
push 0
push dword [edi]
lea ecx, [esi + 0xe4]
call fcn.00406c45
push 1
lea eax, [ebp - 0x34]
lea ecx, [esi + 0xe8]
push eax
call fcn.00406a9f
push 0
push dword [esi + 0xe8]
call ebx
push 0
push dword [edi]
lea ecx, [esi + 0x144]
call fcn.00406c73
push 1
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 0x148]
call fcn.00406a9f
push 0
push dword [esi + 0xe8]
call ebx
push 0
push dword [edi]
lea ecx, [esi + 0x188]
call fcn.00406ca4
push 1
lea eax, [ebp - 0x34]
lea ecx, [esi + 0x18c]
push eax
call fcn.00406a9f
push 0
push dword [esi + 0x18c]
call ebx
mov eax, dword [esi + 0x38]
and dword [esi + 0x34], 0
push eax
mov ecx, esi
mov dword [esi + 0x30], eax
call fcn.00406d34
push 0
mov ecx, edi
call fcn.00402ceb
push dword [edi]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004021e8
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.004021e8
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10