Function at 0x4226b0
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 0x4226e8
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 0x4226f6
add dword [edi], eax
jmp 0x4228da
mov esi, dword [ebx + 0xc]
mov eax, dword [esi + 0x24]
call fcn.00404254
mov edx, dword [esi + 0x24]
mov eax, dword [edx + eax*4]
mov edx, dword [eax]
call dword [edx + 0x28]
cmp ebx, eax
je 0x4228da
mov eax, ebx
mov edx, dword [0x421540]
call fcn.00402bfc
test al, al
je 0x42273b
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.004232a0
test al, al
je 0x42273b
add dword [edi], 4
jmp 0x4228da
lea edx, [ebp - 0x100]
mov eax, dword [esi]
call fcn.004029f8
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.004029f8
lea edx, [ebp - 0x200]
pop eax
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402834
jne 0x422803
mov eax, ebx
mov edx, dword [0x421408]
call fcn.00402bfc
test al, al
je 0x42279b
add dword [edi], 4
jmp 0x4228da
mov eax, ebx
mov edx, dword [0x4216ec]
call fcn.00402bfc
test al, al
je 0x4227b4
add dword [edi], 6
jmp 0x4228da
mov eax, ebx
mov edx, dword [0x421854]
call fcn.00402bfc
test al, al
je 0x4227cd
add dword [edi], 8
jmp 0x4228da
mov eax, ebx
mov edx, dword [0x421540]
call fcn.00402bfc
test al, al
je 0x4227e6
add dword [edi], 8
jmp 0x4228da
mov eax, ebx
mov edx, dword [0x4219cc]
call fcn.00402bfc
test al, al
je 0x4228da
add dword [edi], 8
jmp 0x4228da
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 [0x421540]
call fcn.00402bfc
test al, al
je 0x4228d7
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.004232a0
test al, al
je 0x4228d7
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 [0x421540]
call fcn.00402bfc
test al, al
je 0x4228d7
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.004232a0
test al, al
je 0x4228d7
mov eax, dword [esi + 0x24]
call fcn.0040424c
mov edx, dword [ebx + 0x28]
add edx, 2
cmp eax, edx
jle 0x4228d7
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.004029f8
lea eax, [ebp - 0x100]
push eax
lea edx, [ebp - 0x200]
mov eax, dword [esi]
call fcn.004029f8
lea edx, [ebp - 0x200]
pop eax
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402834
jne 0x4228d7
add dword [edi], 8
jmp 0x4228da
add dword [edi], 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4