Function at 0x4ca9b8
Capabilities:
Terminate process

Disassembly:
mov eax, 0x55ea63
call fcn.00514868
sub esp, 0x180
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
call fcn.004d9d93
mov esi, eax
pop ecx
test esi, esi
jne 0x4ca9e2
xor al, al
jmp 0x4cac29
push ebx
push esi
call fcn.004d9b9b
xor bl, bl
mov dword [ebp - 0x20], eax
pop ecx
mov byte [ebp + 0xb], bl
jmp 0x4cabdc
test bl, bl
jne 0x4cac1f
push 0
push 0
push 0
push 0
push 0x104
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x88]
push eax
push esi
call fcn.004d9afb
push 1
lea eax, [ebp - 0x18c]
push eax
push esi
call fcn.004d9c8a
add esp, 0x2c
test eax, eax
jne 0x4cac18
push esi
call fcn.004d9da7
pop ecx
test eax, eax
jne 0x4cac18
push 4
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.004da43a
lea eax, [ebp - 0x18]
push eax
call fcn.004cb29c
add esp, 0x10
test al, al
je 0x4cabc2
cmp byte [ebp + 0xc], 0
mov ebx, dword [ebp - 0x6c]
je 0x4caa77
mov ebx, 0x1000
push ebx
mov ecx, edi
call fcn.004cac3b
test al, al
je 0x4cac0c
mov ecx, dword [0x65c678]
push 0x7f7
push 5
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [edi + 0x10]
mov eax, dword [ebp - 0x18]
push 4
mov dword [ecx], eax
xor eax, eax
pop ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ecx
cmp ebx, ecx
jbe 0x4cab8b
mov edx, 0x400000
mov eax, ebx
sub eax, ecx
cmp eax, edx
jbe 0x4caac3
mov eax, edx
push eax
mov eax, dword [edi + 0x10]
add eax, ecx
push eax
push esi
call fcn.004da43a
add esp, 0xc
test eax, eax
je 0x4cab7a
mov ecx, dword [ebp - 0x14]
add ecx, eax
mov dword [ebp - 0x10], ecx
fild dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
push 0x25
jns 0x4caaf3
fadd dword [0x5d4ca8]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
mov dword [ebp - 0x10], ebx
fild dword [ebp - 0x10]
test ebx, ebx
jns 0x4cab09
fadd dword [0x5d4ca8]
fstp dword [ebp - 0x10]
fdiv dword [ebp - 0x10]
push ecx
push ecx
fmul qword [0x5e5e88]
fstp qword [esp]
push 0x7f6
call fcn.00407e81
pop ecx
push eax
lea eax, [ebp - 0x38]
push 0x5e5da4
push eax
call fcn.00490eb7
add esp, 0x18
mov edx, eax
and dword [ebp - 4], 0
cmp dword [edx + 0x14], 0x10
jb 0x4cab45
mov edx, dword [edx]
mov ecx, dword [0x65c678]
push edx
push 5
mov eax, dword [ecx]
call dword [eax + 0x1c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
push 0
push 1
call fcn.00401fa5
mov ecx, dword [ebp - 0x1c]
mov edx, 0x400000
add ecx, edx
mov dword [ebp - 0x1c], ecx
cmp ecx, ebx
jb 0x4caab9
jmp 0x4cab88
push esi
mov dword [edi + 0x24], 0x7e0
call fcn.004d9a7e
pop ecx
mov eax, dword [ebp - 0x14]
add eax, 4
cmp ebx, eax
jne 0x4cabe6
mov ecx, dword [0x65c678]
mov bl, 1
push 0x7f4
push 5
mov byte [ebp + 0xb], bl
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, edi
call fcn.004cad27
push 0
push 1
push dword [edi + 0x18]
push dword [edi + 0x10]
call fcn.004957d9
add esp, 0x10
push esi
call fcn.004d9a7e
pop ecx
test bl, bl
jne 0x4cabd9
push esi
call fcn.004d9bee
pop ecx
mov dword [ebp - 0x20], eax
jmp 0x4cabdc
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4ca9f7
jmp 0x4cac1f
push esi
call fcn.004d9a7e
mov dword [edi + 0x24], 0x7e0
mov ecx, dword [0x65c678]
mov dword [esp], 0x5cba50
push 1
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov bl, byte [ebp + 0xb]
jmp 0x4cac1f
lea ecx, [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x20]
xor al, al
jmp 0x4cac28
mov dword [edi + 0x24], 0x7e0
push esi
call fcn.004d9a47
pop ecx
mov al, bl
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8