Function at 0x4106e0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x46e662
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x487550]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0xcc]
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x18]
sar eax, 2
cmp esi, eax
jb 0x410728
call fcn.0044cae8
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 8]
xor ebx, ebx
mov ecx, 1
lea edi, [ebx + 0x10]
cmp eax, ecx
jne 0x4108d8
cmp dword [ebp + 0x2c], ecx
mov esi, 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
push 4
mov dword [esp + 0x68], esi
lea ecx, [esp + 0x50]
jne 0x410811
push 0x477d88
call fcn.00403b10
mov dword [esp + 0xc4], ebx
push 4
push str.0007
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00403b10
call fcn.0041fe10
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0xcc], 2
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x38]
push ecx
push eax
call edx
cmp dword [esp + 0x2c], edi
jb 0x4107d2
mov eax, dword [esp + 0x18]
push eax
call fcn.0044caf8
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x48], edi
jb 0x4107f1
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0044caf8
add esp, 4
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x64], edi
jb 0x4108c2
mov edx, dword [esp + 0x50]
push edx
jmp 0x4108ba
push 0x477da0
call fcn.00403b10
mov dword [esp + 0xc4], 3
push 4
push str.0008
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00403b10
call fcn.0041fe10
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x50]
push edx
lea edx, [esp + 0x38]
mov byte [esp + 0xcc], 5
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx]
call eax
cmp dword [esp + 0x2c], edi
jb 0x410884
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0044caf8
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x48], edi
jb 0x4108a3
mov edx, dword [esp + 0x34]
push edx
call fcn.0044caf8
add esp, 4
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x64], edi
jb 0x4108c2
mov eax, dword [esp + 0x50]
push eax
call fcn.0044caf8
add esp, 4
mov ecx, dword [ebp + 4]
push ebx
push ebx
push 0x8073
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x410a6d
cmp eax, 2
jne 0x410a6d
cmp dword [ebp + 0x2c], ecx
jne 0x410997
push 0x477d90
lea ecx, [esp + 0x34]
call fcn.00403740
push str.0007
lea ecx, [esp + 0x50]
mov dword [esp + 0xc8], 6
call fcn.00403740
call fcn.0041fe10
mov esi, 0xf
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0xcc], 8
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x54]
push ecx
push eax
call edx
cmp dword [esp + 0x2c], edi
jb 0x410958
mov eax, dword [esp + 0x18]
push eax
call fcn.0044caf8
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x64], edi
jb 0x410977
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0044caf8
add esp, 4
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0x48], edi
jb 0x410a6d
mov edx, dword [esp + 0x34]
push edx
jmp 0x410a65
push 0x477da8
lea ecx, [esp + 0xa4]
call fcn.00403740
push str.0008
lea ecx, [esp + 0x88]
mov dword [esp + 0xc8], 9
call fcn.00403740
call fcn.0041fe10
mov esi, 0xf
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
lea edx, [esp + 0x68]
push edx
lea edx, [esp + 0xa4]
push edx
lea edx, [esp + 0x8c]
mov byte [esp + 0xcc], 0xb
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx]
call eax
cmp dword [esp + 0x80], edi
jb 0x410a17
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0044caf8
add esp, 4
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
cmp dword [esp + 0x9c], edi
jb 0x410a3f
mov edx, dword [esp + 0x88]
push edx
call fcn.0044caf8
add esp, 4
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
cmp dword [esp + 0xb8], edi
jb 0x410a6d
mov eax, dword [esp + 0xa4]
push eax
call fcn.0044caf8
add esp, 4
mov ecx, dword [ebp + 4]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 4]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push ebx
push ebx
push edi
push edx
call esi
mov eax, dword [ebp + 4]
push ebx
push ebx
push 0x12
push eax
call esi
xor eax, eax
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret 4