Function at 0x4c01b8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x44]
xor ecx, ecx
mov dword [ebp - 0x14], eax
inc eax
mov dword [edi + 0x44], eax
mov dx, word [ebx + 2]
xor eax, eax
cmp dword [ebp + 0xc], ecx
mov dword [ebp - 4], ecx
sete al
mov dword [ebp - 0x28], eax
mov eax, 0x800
mov esi, eax
and dx, si
cmp dx, ax
jne 0x4c01f8
mov esi, dword [ebx + 0x10]
jmp 0x4c01fa
xor esi, esi
cmp dword [edi + 0x40], ecx
jne 0x4c03f6
mov eax, esi
call fcn.0049d8cb
test eax, eax
je 0x4c03f6
mov eax, dword [edi]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
movsx eax, word [eax + 0x1c]
mov dword [ebp - 0xc], eax
call fcn.004a985b
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [esi + 8]
mov ebx, dword [eax + 0x14]
mov esi, dword [ebx + 0x44]
mov dword [ebp - 0x10], ebx
call fcn.0049e7d7
mov esi, eax
mov eax, edi
mov dword [ebp - 0x20], esi
call fcn.004bd999
push dword [ebx]
mov ebx, dword [ebx + 0x14]
push 0
push esi
mov eax, edi
call fcn.004a4f1e
add esp, 0xc
cmp dword [ebp - 0xc], 0
jge 0x4c02c0
inc dword [edi + 0x48]
mov esi, dword [edi + 0x48]
mov ecx, dword [ebp - 8]
push esi
push 0x1a
pop eax
call fcn.004a331a
mov ecx, dword [ebp - 8]
push esi
push 1
mov ebx, eax
push 7
pop eax
call fcn.004a332b
mov esi, dword [ebp - 0x10]
push 0x26
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push edi
call fcn.004acc46
mov ecx, dword [ebp - 8]
add esp, 0x1c
mov eax, ebx
mov dword [ebp - 4], 1
call fcn.0049cada
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebx + 8]
mov ecx, edi
call fcn.004af2f9
mov esi, ebx
mov dword [ebp - 0x24], eax
call fcn.004a4133
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
imul ecx, ecx, 0x18
mov esi, dword [edx + 0xc]
mov dword [ebp - 0x30], ecx
cmp byte [ecx + esi + 0x16], al
je 0x4c02f9
cmp al, 0x62
je 0x4c02f9
and dword [ebp - 0x18], 0
jmp 0x4c0300
mov dword [ebp - 0x18], 1
mov esi, dword [edx + 0x10]
test esi, esi
je 0x4c03f3
cmp dword [ebp - 4], 0
jne 0x4c02af
cmp dword [ebp - 0x18], 0
je 0x4c03f3
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0xc]
cmp dword [eax], ecx
jne 0x4c03df
mov eax, dword [esi + 0x2c]
push 0
push dword [eax]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0xc]
movzx ecx, byte [ecx + 0x4d]
push ecx
call fcn.004a8b08
add esp, 0xc
cmp eax, dword [ebp - 0x24]
jne 0x4c03df
cmp dword [ebp - 0x28], 0
je 0x4c0365
cmp dword [esi + 4], 1
jne 0x4c03df
cmp byte [esi + 0x18], 0
je 0x4c03df
inc dword [edi + 0x48]
mov ebx, dword [edi + 0x48]
push esi
push edi
call fcn.004aff9a
mov ecx, dword [ebp - 8]
push ebx
mov dword [ebp - 4], eax
push 0x1a
pop eax
call fcn.004a331a
mov ecx, dword [ebp - 8]
push ebx
push 1
mov dword [ebp - 0x2c], eax
push 7
pop eax
call fcn.004a332b
push 0xfffffffffffffff0
push dword [ebp - 4]
push dword [ebp - 0x20]
push dword [esi + 0x14]
push dword [ebp - 0x14]
push dword [ebp - 8]
push 0x26
pop eax
call fcn.004a7b0b
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
add esp, 0x2c
mov dword [ebp - 4], 3
call fcn.0049cada
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4c03df
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x30]
cmp byte [edx + eax + 0x14], 0
jne 0x4c03df
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov dword [ecx], eax
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x4c030b
cmp dword [ebp - 4], esi
jne 0x4c02af
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
fld qword [edi + 0x1c0]
xor eax, eax
fstp qword [ebp - 0x34]
mov dword [ebp - 4], 2
cmp ecx, eax
je 0x4c0419
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov dword [ecx], eax
jmp 0x4c043c
fld1
fstp qword [edi + 0x1c0]
mov ecx, dword [ebx + 8]
cmp word [ecx + 0x1c], ax
jge 0x4c043c
mov ecx, 0x800
test word [ebx + 2], cx
jne 0x4c043c
mov dword [ebp - 4], 1
xor ecx, ecx
cmp dword [ebp - 4], 1
sete cl
push ecx
push eax
push ebx
mov eax, edi
call fcn.004af386
fld qword [ebp - 0x34]
fstp qword [edi + 0x1c0]
add esp, 0xc
jmp 0x4c02b8