Function at 0x524fd4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x524fdc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5252f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3af], 0
jne 0x5252b5
mov eax, dword [ebp - 4]
mov byte [eax + 0x3af], 1
xor edx, edx
push ebp
push 0x5252ae
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x547f9c]
mov eax, dword [eax]
call fcn.004674d0
mov eax, dword [0x547f9c]
mov eax, dword [eax]
call fcn.004675d0
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00461208
push 0
mov eax, dword [0x547f9c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
call fcn.00522a0c
test eax, eax
jle 0x525233
mov eax, dword [ebp - 4]
call fcn.00522a6c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x525233
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
call fcn.0040494c
lea eax, [ebp - 0x10]
push eax
mov ecx, 1
mov edx, 9
mov eax, dword [ebp - 0xc]
call fcn.00404dc4
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov edx, 0x525310
call fcn.00404bb8
mov edx, dword [ebp - 0x28]
mov eax, dword [0x547c10]
mov eax, dword [eax]
call fcn.00425528
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov edx, 0x525324
call fcn.00404bb8
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x547c10]
mov eax, dword [eax]
call fcn.00425528
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
mov edx, 0x525338
call fcn.00404bb8
mov edx, dword [ebp - 0x30]
mov eax, dword [0x547c10]
mov eax, dword [eax]
call fcn.00425528
mov ebx, eax
cmp dword [ebp - 0x1c], 0
je 0x525233
cmp dword [ebp - 0x20], 0
je 0x525233
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
call fcn.00447790
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00447790
xor eax, eax
push ebp
push 0x5251d3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea edx, [ebp - 0x4c]
mov ecx, 2
mov eax, 0x52534c
call fcn.0040a9ec
mov eax, dword [ebp - 0x34]
push eax
push 0x525370
push 0x52538c
push 0x525398
lea edx, [ebp - 0x7c]
mov eax, dword [0x54a6dc]
mov eax, dword [eax + 0x398]
call fcn.0046d5ac
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00405aac
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00405aac
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
push 0
call fcn.00405aac
add esp, 0x10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5251dd
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 0xffffffff
xor edx, edx
mov eax, dword [ebp - 0x1c]
call fcn.004477c0
mov edx, 0x5253ac
mov eax, dword [ebp - 0x20]
call fcn.004477c0
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004476b0
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x24]
call fcn.00409704
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 4]
add eax, 0x478
call fcn.00404908
mov eax, dword [ebp - 4]
add eax, 0x47c
mov edx, dword [ebp - 0x14]
call fcn.00404908
mov eax, dword [ebp - 4]
call fcn.00522a0c
test eax, eax
jne 0x52528e
mov eax, dword [0x547c10]
mov eax, dword [eax]
call fcn.00464468
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
xor edx, edx
call fcn.0043e744
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3ac], 0
je 0x525279
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x32c]
xor edx, edx
call fcn.004a0c88
jmp 0x525296
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x32c]
mov edx, 2
call fcn.004a0c88
jmp 0x525296
mov eax, dword [ebp - 4]
call fcn.00522de4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5252b5
mov eax, dword [ebp - 4]
mov byte [eax + 0x3af], 0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5252ff
lea eax, [ebp - 0x80]
call fcn.004048b4
lea eax, [ebp - 0x7c]
mov edx, dword [0x4010fc]
mov ecx, 3
call fcn.004055a4
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.004048d8
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.004048d8
ret