Function at 0x421590
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x536148
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x575494]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x4217ba
xor esi, esi
lea eax, [edi + 0x326b0]
lea ecx, [ecx]
movzx edx, word [eax]
cmp ecx, edx
je 0x4215f4
inc esi
add eax, 2
cmp esi, 6
jl 0x4215d0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, 6
cmp esi, ebx
jge 0x421881
lea eax, [esi + esi*2]
lea eax, [edi + eax*4]
mov dword [esp + 0xc], eax
mov eax, dword [eax + 0x33a24]
test eax, eax
jne 0x42161a
mov eax, 0x54ee24
lea ecx, [edi + 0x1cc]
call fcn.005091f0
cmp byte [esi + edi + 0x33b44], 0
je 0x421730
mov ecx, dword [edi + 0x31c]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test ecx, ecx
je 0x42164a
push 5
push ecx
call ebx
jmp 0x42165e
mov ecx, dword [edi + 0x318]
mov ecx, dword [ecx + 4]
mov dword [ecx + edi + 0x318], 6
mov ecx, dword [edi + 0x3ac]
test ecx, ecx
je 0x42166f
push 5
push ecx
call ebx
jmp 0x421683
mov edx, dword [edi + 0x3a8]
mov ecx, dword [edx + 4]
mov dword [ecx + edi + 0x3a8], 6
mov ecx, dword [edi + 0x28c]
test ecx, ecx
je 0x421694
push 5
push ecx
call ebx
jmp 0x4216a8
mov ecx, dword [edi + 0x288]
mov ecx, dword [ecx + 4]
mov dword [ecx + edi + 0x288], 6
lea edx, [esi + esi*8]
add edx, edx
lea eax, [edi + edx*8 + 0x336c4]
lea esi, [esp + 0x10]
call fcn.004047b0
xor esi, esi
mov dword [esp + 0x28], esi
mov eax, dword [eax]
cmp eax, esi
jne 0x4216ce
mov eax, 0x54ee24
lea ecx, [edi + 0x2ec]
call fcn.005091f0
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4216fe
push eax
call fcn.0051eadb
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x33a6c]
cmp eax, esi
jne 0x421711
mov eax, 0x54ee24
lea ecx, [edi + 0x37c]
call fcn.005091f0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x28c]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x421747
push 0
push eax
call esi
jmp 0x421757
mov ecx, dword [edi + 0x288]
mov edx, dword [ecx + 4]
mov dword [edi + edx + 0x288], ebx
mov eax, dword [edi + 0x31c]
test eax, eax
je 0x421768
push 0
push eax
call esi
jmp 0x421778
mov eax, dword [edi + 0x318]
mov ecx, dword [eax + 4]
mov dword [edi + ecx + 0x318], ebx
mov eax, dword [edi + 0x3ac]
test eax, eax
je 0x421789
push 0
push eax
call esi
jmp 0x421799
mov edx, dword [edi + 0x3a8]
mov eax, dword [edx + 4]
mov dword [edi + eax + 0x3a8], ebx
lea esi, [edi + 0x25c]
call fcn.00509380
lea esi, [edi + 0x2ec]
call fcn.00509380
lea esi, [edi + 0x37c]
jmp 0x42187c
lea ecx, [edi + 0x1cc]
mov eax, 0x54ee24
call fcn.005091f0
cmp dword [edi + 0x32694], 0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
jle 0x421843
lea ecx, [edi + 0x2ec]
mov eax, 0x54ee24
call fcn.005091f0
lea ecx, [edi + 0x37c]
mov eax, 0x54ee24
call fcn.005091f0
mov eax, dword [edi + 0x31c]
test eax, eax
je 0x42180a
push 0
push eax
call esi
jmp 0x42181e
mov ecx, dword [edi + 0x318]
mov edx, dword [ecx + 4]
mov dword [edi + edx + 0x318], 6
mov eax, dword [edi + 0x3ac]
test eax, eax
je 0x42182f
push 0
push eax
call esi
jmp 0x421843
mov eax, dword [edi + 0x3a8]
mov ecx, dword [eax + 4]
mov dword [edi + ecx + 0x3a8], 6
mov edx, dword [edi + 0x32694]
cmp edx, dword [edi + 0x32690]
je 0x421881
mov eax, dword [edi + 0x28c]
test eax, eax
je 0x421862
push 0
push eax
call esi
jmp 0x421876
mov eax, dword [edi + 0x288]
mov ecx, dword [eax + 4]
mov dword [edi + ecx + 0x288], 6
lea esi, [edi + 0x25c]
call fcn.00509380
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4