Function at 0x40a970
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esi], 0x4aa720
call fcn.0041a530
mov ecx, esi
call fcn.0041be70
mov ecx, esi
call fcn.0041bd30
mov eax, dword [esi + 0x6e0]
test eax, eax
je 0x40a9ae
lea eax, [esi + 0xa4]
push eax
push 0x4ca950
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, esi
call fcn.004083a0
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
mov ebp, 0x20
mov edx, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push edi
push 0x1019
push edx
mov dword [esp + 0x20], ebp
call ebx
test eax, eax
je 0x40a9ee
push edi
mov ecx, esi
call fcn.00417330
mov ecx, dword [esp + 0x2c]
mov dword [eax*4 + 0x4caac4], ecx
inc edi
cmp edi, 6
jl 0x40a9c2
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40aa18
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x54]
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
test eax, eax
je 0x40aa28
push eax
call edi
mov eax, dword [esi + 0x50]
test eax, eax
je 0x40aa32
push eax
call edi
mov eax, dword [esi + 0x60]
test eax, eax
je 0x40aa3c
push eax
call edi
mov eax, dword [esi + 0x68]
test eax, eax
je 0x40aa4a
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edx, dword [esi + 0x64]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x98]
mov edi, dword [sym.imp.USER32.dll_DestroyCursor]
push eax
call edi
mov ecx, dword [esi + 0x94]
push ecx
call edi
mov eax, dword [esi + 0x74]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40aaa0
mov edx, dword [esi + 0x6c]
push edx
call ebx
mov eax, dword [esi + 0x74]
push 0xffffffffffffffff
push eax
call ebp
mov ecx, dword [esi + 0x74]
push ecx
call edi
mov dword [esi + 0x74], 0
mov eax, dword [esi + 0x78]
test eax, eax
je 0x40aac2
mov edx, dword [esi + 0x70]
push edx
call ebx
mov eax, dword [esi + 0x78]
push 0xffffffffffffffff
push eax
call ebp
mov ecx, dword [esi + 0x78]
push ecx
call edi
mov dword [esi + 0x78], 0
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x40aacc
push eax
call edi
mov eax, dword [esi + 0x70]
test eax, eax
je 0x40aad6
push eax
call edi
mov eax, dword [esi + 0x84]
test eax, eax
je 0x40aae3
push eax
call edi
mov eax, dword [esi + 0x80]
test eax, eax
je 0x40aaf0
push eax
call edi
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x40ab00
mov edx, dword [eax]
push eax
call dword [edx + 8]
call fcn.00407e10
lea ecx, [esi + 0x4c8]
call fcn.00423100
lea ecx, [esi + 0x47c]
call fcn.0041e3a0
mov eax, dword [esi + 0x46c]
mov ebx, 0x4aa684
test eax, eax
mov dword [esi + 0x45c], ebx
je 0x40ab65
mov eax, dword [esi + 0x464]
xor edi, edi
test eax, eax
jle 0x40ab65
cmp edi, eax
jge 0x40ab4f
test edi, edi
jl 0x40ab4f
mov eax, dword [esi + 0x460]
mov eax, dword [eax + edi*4]
jmp 0x40ab51
xor eax, eax
push eax
call fcn.00498600
mov eax, dword [esi + 0x464]
add esp, 4
inc edi
cmp edi, eax
jl 0x40ab40
mov ecx, dword [esi + 0x460]
push ecx
call fcn.00498600
mov eax, dword [esi + 0x450]
add esp, 4
test eax, eax
mov dword [esi + 0x440], ebx
je 0x40abb9
mov eax, dword [esi + 0x448]
xor edi, edi
test eax, eax
jle 0x40abb9
cmp edi, eax
jge 0x40aba3
test edi, edi
jl 0x40aba3
mov edx, dword [esi + 0x444]
mov eax, dword [edx + edi*4]
jmp 0x40aba5
xor eax, eax
push eax
call fcn.00498600
mov eax, dword [esi + 0x448]
add esp, 4
inc edi
cmp edi, eax
jl 0x40ab94
mov eax, dword [esi + 0x444]
push eax
call fcn.00498600
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret