Function at 0x41adf4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
cmp dword [ebp + 8], 0
jne 0x41ae13
jmp 0x41b041
mov eax, dword [0x42d384]
mov ecx, dword [eax + 0x2a]
mov dword [ebp - 0x14], ecx
mov edx, dword [0x42d384]
cmp dword [edx + 0x70], 0
je 0x41aea0
mov eax, dword [0x42d384]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x74]
mov dword [ebp - 0x14], ecx
mov edx, dword [0x42d384]
mov eax, dword [0x42d384]
mov ecx, dword [edx + 0x4a]
cmp ecx, dword [eax + 0x74]
jge 0x41ae59
mov edx, dword [0x42d384]
mov eax, dword [edx + 0x4a]
mov dword [ebp - 0x30], eax
jmp 0x41ae65
mov ecx, dword [0x42d384]
mov edx, dword [ecx + 0x74]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0
jmp 0x41ae7d
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x24]
jge 0x41aea0
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x26
mov ecx, dword [0x42d384]
mov edx, dword [ecx + 0x32]
mov ecx, dword [ebp - 0x18]
add ecx, dword [edx + eax + 0x14]
mov dword [ebp - 0x18], ecx
jmp 0x41ae74
mov edx, dword [0x42d384]
mov eax, dword [edx + 0x4a]
cmp eax, dword [ebp - 0x14]
jge 0x41aec2
mov ecx, dword [0x42d384]
mov edx, dword [0x42d384]
mov eax, dword [ecx + 0x4a]
cmp eax, dword [edx + 0x74]
jge 0x41aed6
mov ecx, dword [0x42d384]
mov edx, dword [0x42d384]
mov eax, dword [ecx + 0x4e]
cmp eax, dword [edx + 0x2e]
jge 0x41aee7
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41b041
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x41af01
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x42d384]
xor edx, edx
mov dx, word [ecx + 8]
and edx, 2
test edx, edx
je 0x41af26
mov eax, dword [0x42d384]
mov ecx, dword [eax + 0x1e]
mov edx, dword [ebp - 0x18]
lea eax, [edx + ecx + 1]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x42d384]
xor edx, edx
mov dx, word [ecx + 8]
and edx, 1
test edx, edx
je 0x41af4b
mov eax, dword [0x42d384]
mov ecx, dword [eax + 0x1a]
mov edx, dword [ebp - 0x20]
lea eax, [edx + ecx + 1]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
jmp 0x41af5c
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [0x42d384]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x4a]
jge 0x41af83
mov edx, dword [ebp - 0x1c]
imul edx, edx, 0x26
mov eax, dword [0x42d384]
mov ecx, dword [eax + 0x32]
mov eax, dword [ebp - 0x18]
add eax, dword [ecx + edx + 0x14]
mov dword [ebp - 0x18], eax
jmp 0x41af53
mov ecx, dword [0x42d384]
mov edx, dword [ecx + 0x2e]
mov dword [ebp - 0x1c], edx
jmp 0x41af9a
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x42d384]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx + 0x4e]
jge 0x41afb8
mov eax, dword [0x42d384]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0x1a]
mov dword [ebp - 0x20], ecx
jmp 0x41af91
mov edx, dword [0x42d384]
mov eax, dword [edx + 0x4a]
imul eax, eax, 0x26
mov ecx, dword [0x42d384]
mov edx, dword [ecx + 0x32]
mov eax, dword [edx + eax + 0x14]
sub eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [0x42d384]
mov edx, dword [ecx + 0x1a]
sub edx, 1
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041ac20
add esp, 8
push 0
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esp, ebp
pop ebp
ret