Function at 0x50a570
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
xor eax, eax
cmp dword [ebp + 0xc], 0
setne al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x50a59f
push 0x735
push 0x60d49c
call fcn.004c6b20
test eax, eax
je 0x50a59f
int3
cmp dword [ebp - 0x10], 0
jne 0x50a5aa
call fcn.004a6d80
xor edx, edx
jne 0x50a579
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0x148]
call eax
mov dword [ebp - 4], eax
push 0x73a
push 0x60d4d4
mov ecx, dword [ebp - 4]
push ecx
call fcn.004c3b10
cmp dword [ebp - 4], 0
jne 0x50a5df
call fcn.004a6d80
xor edx, edx
jne 0x50a5c1
cmp dword [ebp + 8], 0
je 0x50a610
mov eax, dword [ebp - 4]
cmp dword [eax + 0x80], 0
je 0x50a610
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x80]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x80]
mov edx, dword [edx]
mov eax, dword [edx + 0x64]
call eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0x34]
add ecx, 0x84
call fcn.00496770
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x50a6fa
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x34]
add ecx, 0x84
call fcn.004967b0
mov edx, dword [eax]
mov dword [ebp - 0x18], edx
push 0x745
push 0x60d50c
mov eax, dword [ebp - 0x18]
push eax
call fcn.004c3b10
cmp dword [ebp - 0x18], 0
jne 0x50a667
call fcn.004a6d80
xor ecx, ecx
jne 0x50a649
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x20]
push eax
call dword [0x59b870]
movzx ecx, ax
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0xe800
jb 0x50a6f5
cmp dword [ebp - 0x14], 0xe81f
ja 0x50a6f5
mov ecx, dword [ebp - 0x14]
sub ecx, 0xe800
mov edx, 1
shl edx, cl
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx + 0x15c]
call eax
test eax, eax
je 0x50a6c0
mov ecx, dword [ebp - 8]
or ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x164]
call edx
test eax, eax
je 0x50a6dd
cmp dword [ebp - 0x14], 0xe81f
je 0x50a6f5
push 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
and ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.00509190
jmp 0x50a628
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax + 8], ecx
cmp dword [ebp + 8], 0
je 0x50a869
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0xb4], 0
je 0x50a72d
push 0x756
push 0x60d544
call fcn.004c6b20
test eax, eax
je 0x50a72d
int3
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0xb4], eax
push 0
mov ecx, dword [ebp - 0x34]
call fcn.00507400
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x20]
push ecx
call dword [0x59b728]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x50a776
push 0x75e
push 0x60d57c
call fcn.004c6b20
test eax, eax
je 0x50a776
int3
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [0x59b758]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x20]
push edx
call dword [0x59b73c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 0
je 0x50a7c7
push 1
mov ecx, dword [ebp - 0x34]
call fcn.0049ac10
push 0
mov ecx, dword [ebp - 0x34]
call fcn.0049a3c0
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0xd0]
and ecx, 0xfffffffe
mov edx, dword [ebp - 0x34]
mov dword [edx + 0xd0], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x60]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x60], 0
push 0x7915
mov ecx, dword [ebp - 0x34]
call fcn.00506a90
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0xe900
je 0x50a80a
push 0xe900
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x20]
push eax
call dword [0x59b728]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x50a821
push 0xea21
push 0xfffffffffffffff4
mov ecx, dword [ebp - 0x20]
push ecx
call dword [0x6e0198]
push 0xfffffffffffffff0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x20]
push eax
call dword [0x6e0120]
and eax, 0x300000
je 0x50a864
push str.Warning:_scroll_bars_in_frame_windows_may_cause_unusual_behaviour._n
push 0
mov ecx, 0x6e5fdc
call fcn.0040dc30
push eax
push 0x77a
push 0x60d5b4
lea ecx, [ebp - 0x30]
call fcn.0040db90
push eax
call fcn.004876a0
add esp, 0x10
jmp 0x50a98b
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0xb4], 0
push 0xea21
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x20]
push eax
call dword [0x59b728]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x50a8ce
push 0xe900
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x20]
push edx
call dword [0x59b728]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x50a8bd
push 0xea21
push 0xfffffffffffffff4
mov eax, dword [ebp - 0x28]
push eax
call dword [0x6e0198]
push 0xe900
push 0xfffffffffffffff4
mov ecx, dword [ebp - 0x24]
push ecx
call dword [0x6e0198]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 0
je 0x50a8f5
push 1
mov ecx, dword [ebp - 0x34]
call fcn.0049ac10
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x20]
push eax
call dword [0x59b804]
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x80], 0
je 0x50a91c
push 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x80]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x80]
mov edx, dword [eax]
mov eax, dword [edx + 0x64]
call eax
push 1
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0x150]
call eax
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0xe900
je 0x50a94f
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x20]
push edx
call dword [0x59b728]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x50a969
push 0x79f
push 0x60d634
call fcn.004c6b20
test eax, eax
je 0x50a969
int3
push 5
mov ecx, dword [ebp - 0x24]
push ecx
call dword [0x59b758]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x60], ecx
push 1
mov ecx, dword [ebp - 0x34]
call fcn.00507400
mov esp, ebp
pop ebp
ret 8