Function at 0x4221a4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov edi, ecx
mov ebx, eax
mov eax, dword [ebx + 0x38]
mov dword [edi], eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4221dc
push 0
mov edx, dword [ebx + 0xc]
mov edx, dword [edx + 0x38]
push edx
push 0x30
push eax
call sub.user32.dll_SendMessageA
push 5
mov eax, dword [ebx + 0x14]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x4221ea
add dword [edi], eax
jmp 0x4223cc
mov esi, dword [ebx + 0xc]
mov eax, dword [esi + 0x24]
call fcn.00406e7c
mov edx, dword [esi + 0x24]
mov eax, dword [edx + eax*4]
mov edx, dword [eax]
call dword [edx + 0x28]
cmp ebx, eax
je 0x4223cc
mov eax, ebx
mov edx, dword [0x421028]
call fcn.004046f0
test al, al
je 0x42222f
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.00422dbc
test al, al
je 0x42222f
add dword [edi], 4
jmp 0x4223cc
lea edx, [ebp - 0x100]
mov eax, dword [esi]
call fcn.00404444
lea eax, [ebp - 0x100]
push eax
mov eax, dword [esi + 0x24]
mov edx, dword [ebx + 0x28]
mov eax, dword [eax + edx*4 + 4]
mov edx, dword [eax]
call dword [edx + 0x28]
mov eax, dword [eax]
lea edx, [ebp - 0x200]
call fcn.00404444
lea edx, [ebp - 0x200]
pop eax
movzx ecx, byte [eax]
inc ecx
call fcn.00403bc0
jne 0x4222f6
mov eax, ebx
mov edx, dword [0x420ef0]
call fcn.004046f0
test al, al
je 0x42228e
add dword [edi], 4
jmp 0x4223cc
mov eax, ebx
mov edx, dword [0x4211d4]
call fcn.004046f0
test al, al
je 0x4222a7
add dword [edi], 6
jmp 0x4223cc
mov eax, ebx
mov edx, dword [0x42133c]
call fcn.004046f0
test al, al
je 0x4222c0
add dword [edi], 8
jmp 0x4223cc
mov eax, ebx
mov edx, dword [0x421028]
call fcn.004046f0
test al, al
je 0x4222d9
add dword [edi], 8
jmp 0x4223cc
mov eax, ebx
mov edx, dword [0x4214b4]
call fcn.004046f0
test al, al
je 0x4223cc
add dword [edi], 8
jmp 0x4223cc
mov eax, dword [esi + 0x24]
mov edx, dword [ebx + 0x28]
mov eax, dword [eax + edx*4 + 4]
mov edx, dword [eax]
call dword [edx + 0x28]
mov edx, dword [0x421028]
call fcn.004046f0
test al, al
je 0x4223c9
mov eax, dword [esi + 0x24]
mov edx, dword [ebx + 0x28]
mov eax, dword [eax + edx*4 + 4]
mov edx, dword [eax]
call dword [edx + 0x28]
mov edx, dword [ebp + 8]
call fcn.00422dbc
test al, al
je 0x4223c9
mov eax, dword [esi + 0x24]
mov edx, dword [ebx + 0x28]
mov eax, dword [eax + edx*4 - 4]
mov edx, dword [eax]
call dword [edx + 0x28]
mov edx, dword [0x421028]
call fcn.004046f0
test al, al
je 0x4223c9
mov eax, dword [esi + 0x24]
mov edx, dword [ebx + 0x28]
mov eax, dword [eax + edx*4 - 4]
mov edx, dword [eax]
call dword [edx + 0x28]
mov edx, dword [ebp + 8]
call fcn.00422dbc
test al, al
je 0x4223c9
mov eax, dword [esi + 0x24]
call fcn.00406e74
mov edx, dword [ebx + 0x28]
add edx, 2
cmp eax, edx
jle 0x4223c9
mov eax, dword [esi + 0x24]
mov edx, dword [ebx + 0x28]
mov eax, dword [eax + edx*4 + 8]
mov edx, dword [eax]
call dword [edx + 0x28]
mov eax, dword [eax]
lea edx, [ebp - 0x100]
call fcn.00404444
lea eax, [ebp - 0x100]
push eax
lea edx, [ebp - 0x200]
mov eax, dword [esi]
call fcn.00404444
lea edx, [ebp - 0x200]
pop eax
movzx ecx, byte [eax]
inc ecx
call fcn.00403bc0
jne 0x4223c9
add dword [edi], 8
jmp 0x4223cc
add dword [edi], 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4