Function at 0x4dbce0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0xa4], 0
jne 0x4dbd22
push 0x3020
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x20]
push edx
call dword [0x59b728]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4dbd22
push 0
push 0
push 0x200
mov eax, dword [ebp - 8]
push eax
call fcn.00488010
mov ecx, dword [ebp - 0x64]
call fcn.00498020
test eax, eax
jne 0x4dbe85
push 0x3020
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x20]
push edx
call dword [0x59b728]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4dbd61
push 0x55a
push 0x5ec2d0
call fcn.004c6b20
test eax, eax
je 0x4dbd61
int3
lea ecx, [ebp - 0x18]
call fcn.005890a0
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [0x59b730]
lea ecx, [ebp - 0x18]
call fcn.00589320
push eax
mov ecx, dword [ebp - 0x64]
call fcn.004b0450
push 0x20
push 0
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.005890b0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x20]
push edx
call dword [0x59b8b8]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0xc]
jge 0x4dbe85
lea ecx, [ebp - 0x18]
call fcn.005891d0
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
push 0x16
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x18]
call fcn.005891b0
push eax
push 0
push 0
push 0
mov edx, dword [ebp - 0x1c]
push edx
call dword [0x59b860]
mov dword [ebp - 0x34], 0
jmp 0x4dbdf4
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 4
jae 0x4dbe54
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx*4 + 0x6ddc4c]
push edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x20]
push ecx
call dword [0x59b728]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4dbe52
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x59b730]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x64]
call fcn.004b0450
push 0x15
push 0
push 0
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [0x59b860]
jmp 0x4dbdeb
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x64]
call fcn.0049a790
push 0x16
lea ecx, [ebp - 0x18]
call fcn.005891d0
sub eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.005891b0
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x64]
call fcn.004a1a40
mov ecx, dword [ebp - 0x64]
call fcn.00488480
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0xa8], 0
je 0x4dbf6f
mov ecx, dword [ebp - 0x64]
call fcn.00498020
test eax, eax
jne 0x4dbf6f
lea ecx, [ebp - 0x48]
call fcn.005890a0
lea ecx, [ebp - 0x48]
call fcn.00589320
push eax
mov ecx, dword [ebp - 0x64]
call fcn.0049a790
lea ecx, [ebp - 0x58]
call fcn.005890a0
push 1
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x20]
push edx
call dword [0x59b728]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x4dbf1c
lea ecx, [ebp - 0x58]
call fcn.00589320
push eax
mov eax, dword [ebp - 0x38]
push eax
call dword [0x59b730]
push 0x16
mov ecx, dword [ebp - 0x54]
sub ecx, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x48]
call fcn.005891b0
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x64]
call fcn.004a1a40
mov dword [ebp - 0x5c], 0
jmp 0x4dbf2e
mov edx, dword [ebp - 0x5c]
add edx, 1
mov dword [ebp - 0x5c], edx
cmp dword [ebp - 0x5c], 4
jae 0x4dbf6f
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax*4 + 0x6ddc4c]
push ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x20]
push eax
call dword [0x59b728]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x4dbf6d
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call dword [0x59b758]
push 0
mov edx, dword [ebp - 0x60]
push edx
call dword [0x6e00e4]
jmp 0x4dbf25
mov ecx, dword [ebp - 0x64]
call fcn.004a1420
and eax, 0x40000000
jne 0x4dbf88
push 0
mov ecx, dword [ebp - 0x64]
call fcn.0048fe10
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret