Function at 0x4201aa
Capabilities:
Capture screenshot
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff30
push ebx
push edx
push esi
mov dword [ebp - 0xc8], 0
mov eax, dword [ebp + 0x10]
push dword [eax + 4]
push dword [eax]
call fcn.0042339a
mov ebx, eax
mov edx, dword [ebx]
push edx
lea eax, [ebp - 0xc0]
push eax
push ebx
call fcn.0042b450
push 0
push dword [ebp - 0x88]
call fcn.0040a1e8
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0xc], 0xffffffff
jne 0x42020f
push dword [ebp - 0x18]
pop dword [ebp - 0xcc]
push dword [ebp - 0x84]
pop dword [ebp - 0xd0]
jmp 0x420598
cmp dword [ebp + 0xc], 0xfffffffe
jne 0x420242
push edx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xb4]
mov dword [edx], eax
add eax, dword [ebp - 0xac]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xb0]
mov dword [edx + 4], eax
add eax, dword [ebp - 0xa8]
mov dword [edx + 0xc], eax
pop edx
jmp 0x420598
push dword [ebp - 0x70]
push 6
call fcn.0042347c
mov esi, eax
mov eax, dword [0x43ca95]
cmp dword [ebp + 0xc], eax
jne 0x42027f
cmp dword [0x43df00], 0
jne 0x42027f
cmp dword [esi + 0x1c], 0
je 0x420276
push dword [esi + 0x1c]
call fcn.00428720
mov dword [esi + 0x1c], 0
mov dword [ebp - 0x1c], 1
jmp 0x420286
mov dword [ebp - 0x1c], 0
push dword [ebp - 0x90]
call fcn.00428a0e
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], 0x40002000
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0xa4], 1
jne 0x4202b2
or dword [ebp - 0xc], 0x8000
cmp dword [ebp - 0xa0], 0
jne 0x4202c4
or dword [ebp - 0xc], 0x100
jmp 0x4202dd
cmp dword [ebp - 0xa0], 1
jne 0x4202d6
or dword [ebp - 0xc], 0x200
jmp 0x4202dd
or dword [ebp - 0xc], 0x300
cmp dword [ebp - 0x98], 0
jne 0x4202ef
or dword [ebp - 0xc], 0x400
jmp 0x420308
cmp dword [ebp - 0x98], 1
jne 0x420301
or dword [ebp - 0xc], 0x800
jmp 0x420308
or dword [ebp - 0xc], 0xc00
cmp dword [ebp - 0xb8], 2
je 0x42031a
cmp dword [ebp - 0xb8], 1
jne 0x420327
cmp dword [ebp - 0x9c], 1
jne 0x420327
or dword [ebp - 0xc], 0x20
cmp dword [ebp - 0xb8], 2
jne 0x420336
or dword [ebp - 0xc], 4
jmp 0x42034c
cmp dword [ebp - 0xb8], 1
jne 0x420345
or dword [ebp - 0xc], 2
jmp 0x42034c
mov dword [ebp - 0xc], 0x4000200b
push 0
push dword [0x43c15c]
push dword [ebp - 0x70]
push dword [0x43c160]
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
push dword [ebp - 0xc]
push 0
push str.BUTTON
push dword [ebp - 0x10]
call fcn.004286fc
mov dword [ebp - 4], eax
push dword [ebp - 0x94]
push dword [ebp - 0x68]
push 0
call fcn.0040a2ee
mov dword [ebp - 0xc4], eax
push 0
push dword [ebp - 0xc4]
push 0x30
push dword [ebp - 4]
call fcn.00428924
cmp dword [ebp - 0xb8], 0
je 0x4203c4
cmp dword [ebp - 0xb8], 3
jne 0x4203d9
push 0x4208e8
push 0xfffffffffffffffc
push dword [ebp - 4]
call fcn.0042896c
mov dword [ebp - 0xc8], eax
push dword [ebp - 0x90]
pop dword [esi + 0x10]
push dword [ebp - 0x8c]
pop dword [esi + 0x18]
push dword [ebp - 0x24]
pop dword [esi + 4]
push dword [ebp - 4]
pop dword [esi + 0x1c]
push dword [ebp - 0xc4]
pop dword [esi + 8]
push dword [ebp - 0xc8]
pop dword [esi + 0x28]
mov dword [esi], 4
push esi
push 0xffffffffffffffeb
push dword [ebp - 4]
call fcn.0042896c
push 1
push dword [ebp - 4]
call fcn.0042898a
push dword [ebp - 4]
call fcn.004289b4
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 4]
call fcn.00428846
push dword [ebp - 4]
call fcn.004287b6
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
call fcn.004289d8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x40]
sub dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
sub dword [ebp - 0x34], eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x28]
call fcn.004289d2
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 8]
call fcn.00428ace
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x24], 0
jne 0x420487
push dword [ebp - 0x60]
pop dword [ebp - 0x14]
jmp 0x42048d
push dword [esi + 0x20]
pop dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jne 0x42049c
mov dword [ebp - 0x14], 1
jmp 0x4204a3
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 0xf1
push dword [ebp - 4]
call fcn.00428924
push dword [ebp - 0x18]
push dword [ebp - 4]
call fcn.0042897e
push 0xe
push dword [ebp - 8]
push 0x317
push dword [ebp - 4]
call fcn.00428924
push 0xcc0020
push 0
push 0
push dword [ebp - 8]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
push dword [ebp + 8]
call fcn.004289c0
push dword [ebp - 0x30]
push dword [ebp - 8]
call fcn.00428ace
push dword [ebp - 0x2c]
call fcn.00428a1a
push dword [ebp - 8]
call fcn.00428a14
push dword [ebp - 0x28]
push dword [ebp - 4]
call fcn.0042890c
cmp dword [ebp - 0x1c], 0
jne 0x42058b
cmp dword [ebp - 0xb8], 0
je 0x420536
cmp dword [ebp - 0xb8], 3
jne 0x420546
push dword [ebp - 0xc8]
push 0xfffffffffffffffc
push dword [ebp - 4]
call fcn.0042896c
push dword [ebp - 4]
call fcn.00428720
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [esi + 4], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 8], 0
mov dword [esi + 0x28], 0
push dword [ebp - 0x24]
call fcn.00428a1a
push dword [ebp - 0xc4]
call fcn.00428a1a
push 0
push dword [0x43c180]
call fcn.00428ac8
cmp dword [ebp + 0xc], 0xffffffff
jne 0x4205af
mov ebx, dword [ebp + 8]
push dword [ebp - 0xd0]
pop dword [ebx]
mov eax, dword [ebp - 0xcc]
pop esi
pop edx
pop ebx
leave
ret 0xc