Function at 0x4bff60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x9c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xb4]
cmp dword [edi + 0xc], 0
mov byte [esp + 0x13], 0
jne 0x4bff86
mov eax, dword [esp + 0xb0]
mov dword [edi + 0xc], eax
mov edx, dword [edi + 0x10]
movzx eax, word [edx + 8]
cmp ax, 0x28
jl 0x4bff99
cmp ax, 0x3d
jle 0x4bffc0
cmp ax, 0x5d
je 0x4bffc0
cmp ax, 0x72
je 0x4bffc0
mov ecx, dword [edx + 0x10]
push ecx
call fcn.004bc9d0
mov edx, dword [edx + 0xc]
push edx
mov ebp, eax
call fcn.004bc9d0
add esp, 8
add ebp, eax
jmp 0x4bffc5
mov ebp, 1
mov ebx, dword [esp + 0xb8]
push ebx
push edi
call fcn.004bf8d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4c0226
mov eax, dword [edi + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x4c001a
mov eax, dword [eax + 0x10]
push eax
mov dword [esp + 0x30], eax
call fcn.004bc9d0
add esp, 4
cmp ebp, eax
jne 0x4c001a
push edi
mov byte [esp + 0x17], 1
call fcn.004373b0
add esp, 4
test eax, eax
je 0x4c03a7
jmp 0x4c001e
mov eax, dword [esp + 0x1c]
mov esi, dword [ebx + 0x2c]
test esi, esi
je 0x4c002e
cmp byte [esp + 0x13], 0
je 0x4c0082
mov edi, eax
mov dword [esp + 0x28], edi
mov eax, dword [edi + 0x10]
movsx edx, word [eax + 8]
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x4c0050
test esi, esi
jne 0x4c0054
test ecx, ecx
jne 0x4c03f7
mov edx, dword [esp + 0x24]
cmp edx, 0x18
je 0x4c0062
cmp edx, 0x17
jne 0x4c03f7
fldz
mov ecx, dword [esp + 0xb0]
cmp byte [ecx + 0x1cb], 0
fstp qword [esp + 0x34]
je 0x4c008a
mov dword [esp + 0x1c], 0xffffffff
jmp 0x4c0095
mov edi, esi
mov dword [esp + 0x28], esi
jmp 0x4c0032
movsx ecx, word [ecx + 0x1b3]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0xbc]
xor ebx, ebx
inc edx
lea ebp, [eax + 0xc]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], edx
lea edi, [esp + 0x64]
mov dword [esp + 0x40], ebp
jmp 0x4c00c0
mov ecx, dword [ebp]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0xb4]
mov dword [eax + 0x10], ecx
lea ecx, [edi - 0x18]
push ecx
push eax
push edx
call fcn.004bff60
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4c0226
lea ecx, [eax + 1]
cmp dword [edi], eax
je 0x4c0102
add dword [esp + 0x14], ecx
cmp dword [edi + 0x14], eax
jne 0x4c0102
add dword [esp + 0x18], ecx
add ebx, ecx
add ebp, 4
add edi, 0x30
cmp ebx, 2
jl 0x4c00c0
cmp dword [esp + 0x18], 2
je 0x4c012b
cmp dword [esp + 0x14], ecx
jl 0x4c03e2
cmp dword [esp + 0x24], 0x17
jne 0x4c03e2
or edi, 0xffffffff
cmp dword [esp + 0x14], 2
mov dword [esp + 0x20], 0
jne 0x4c01c7
mov edx, dword [esp + 0x1c]
xor eax, eax
cmp dword [esp + 0x24], 0x18
lea ecx, [esp + 0x20]
setne al
add eax, 0x1e
push eax
mov eax, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x9c]
call fcn.004bb3e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4c0226
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x18], eax
cmp eax, ecx
jb 0x4c018c
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x14], eax
cmp eax, ecx
jb 0x4c01a3
mov dword [esp + 0x14], ecx
fld qword [esp + 0xa0]
fld qword [esp + 0x70]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4c01bf
fstp st(1)
fstp qword [esp + 0x34]
jmp 0x4c01e4
fstp st(0)
fstp qword [esp + 0x34]
jmp 0x4c01e4
mov eax, dword [esp + 0x64]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4c01e2
mov edx, dword [esp + 0x94]
mov dword [esp + 0x20], edx
mov edi, ecx
jmp 0x4c01e4
xor edi, edi
cmp byte [esp + 0x13], 0
jne 0x4c02cb
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4c02cb
mov eax, dword [esp + 0xb8]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x4c02cb
lea edx, [esp + 0x20]
push 0x1f
push edx
mov edx, dword [esp + 0x24]
call fcn.004bb3e0
mov esi, eax
add esp, 8
test esi, esi
je 0x4c0242
push 0x2724
push 0
call fcn.00406f10
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret
mov ecx, dword [esp + 0xb8]
test edi, edi
jl 0x4c0264
mov edx, dword [ecx + 0x1c]
lea eax, [edi + edi*2]
shl eax, 4
mov eax, dword [esp + eax + 0x68]
cmp eax, edx
jb 0x4c026d
mov dword [esp + 0x18], edx
jmp 0x4c0271
mov eax, dword [ecx + 0x1c]
cmp dword [esp + 0x18], eax
jb 0x4c0271
mov dword [esp + 0x18], eax
test edi, edi
jl 0x4c028c
lea edx, [edi + edi*2]
shl edx, 4
mov eax, dword [esp + edx + 0x6c]
mov edx, dword [ecx + 0x20]
cmp eax, edx
jb 0x4c0295
mov dword [esp + 0x14], edx
jmp 0x4c0299
mov eax, dword [ecx + 0x20]
cmp dword [esp + 0x14], eax
jb 0x4c0299
mov dword [esp + 0x14], eax
fld qword [ecx + 0x24]
test edi, edi
jl 0x4c02b9
lea edx, [edi + edi*2]
shl edx, 4
fcomp qword [esp + edx + 0x70]
lea edx, [esp + edx + 0x70]
fnstsw ax
test ah, 0x41
jne 0x4c02c4
fld qword [edx]
jmp 0x4c02c7
fcomp qword [esp + 0x34]
fnstsw ax
test ah, 0x41
je 0x4c02cb
fld qword [ecx + 0x24]
fstp qword [esp + 0x34]
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xb0]
mov dword [eax + 0x18], ecx
mov eax, dword [edx + 4]
push eax
push fcn.00434970
xor esi, esi
lea ecx, [esp + 0x4c]
push ecx
push esi
push esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], esi
call fcn.00434d20
add esp, 0x14
mov dword [esp + 0x1c], eax
cmp eax, esi
je 0x4c03a7
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
lea ebx, [esp + 0x78]
lea ebx, [ebx]
mov eax, dword [ebx]
test eax, eax
je 0x4c0331
mov edi, eax
mov edx, dword [edi + 0x10]
mov dword [esp + esi*4 + 0x2c], edx
jmp 0x4c034c
cmp dword [ebx - 0x14], 0
jne 0x4c0344
mov eax, dword [ebp]
mov edi, dword [esp + 0x28]
mov dword [esp + esi*4 + 0x2c], eax
jmp 0x4c034c
mov dword [esp + esi*4 + 0x2c], 0
mov eax, dword [esp + esi*4 + 0x2c]
test eax, eax
je 0x4c0365
mov ecx, dword [esp + 0x1c]
push 0
push ecx
push edi
push eax
call fcn.00435690
add esp, 0x10
inc esi
add ebx, 0x30
add ebp, 4
cmp esi, 2
jl 0x4c0320
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
test eax, eax
jne 0x4c038d
test ecx, ecx
jne 0x4c038d
mov eax, dword [esp + 0xb8]
mov dword [eax + 0x2c], ecx
jmp 0x4c03cb
mov edx, dword [esp + 0x24]
push ecx
push eax
push edx
call fcn.0047ebf0
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [ecx + 0x10], eax
test eax, eax
jne 0x4c03c1
push 0x2724
push 6
call fcn.00406f10
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret
mov eax, dword [esp + 0xb8]
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x18]
fld qword [esp + 0x34]
mov edx, dword [esp + 0x14]
fstp qword [eax + 0x24]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edx
jmp 0x4c03f7
mov eax, dword [esp + 0xb8]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x4c03f7
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword [eax + 0x10], edx
xor eax, eax
pop ebx
add esp, 0x9c
ret