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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov dword [esp + 8], edx
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esp + 0x40], eax
mov dword [esp + 4], ecx
mov esi, dword [ecx + 0x98]
mov dword [esp + 0x3c], esi
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
je 0x4f4233
lea eax, [esi + 0x20]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x20]
mov dword [edx], ecx
lea ecx, [esp + 0x30]
mov dword [ecx], edx
push 0x44aa00
push ecx
push eax
call fcn.0040a4e0
add esp, 0xc
add esi, 0x10
mov byte [esp + 0x1f], 0xff
mov eax, dword [esp + 8]
cmp byte [eax + 0x44], 0
jne 0x4f4264
lea eax, [esp + 0x1f]
mov ecx, esi
push eax
call fcn.005e2b00
test al, al
je 0x4f4494
cmp byte [esp + 0x1f], 0
je 0x4f4494
mov dword [esp + 0xc], esi
push 0
call fcn.00578f4b
add esp, 4
mov esi, eax
mov ebx, edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 4]
lea edi, [eax + 0x38]
lea eax, [esp + 0x20]
mov ecx, dword [esp + 8]
push eax
call fcn.005e51a0
lea edx, [esp + 0x3c]
mov dword [esp + 0x10], edi
mov ecx, edi
lea eax, [esp + 0x20]
push eax
push edx
mov edi, edx
call fcn.00556760
mov eax, dword [edi]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
cmp byte [eax + 0xb], 0
jns 0x4f42c6
push dword [esp + 0x20]
call fcn.00562f60
add esp, 4
mov edx, dword [esp + 4]
lea eax, [edx + 0x3c]
mov edi, dword [esp + 0x14]
cmp edi, eax
je 0x4f433f
mov byte [edx + 0x44], 1
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x4f4335
mov ecx, edi
mov eax, dword [ecx + 8]
cmp dword [eax], ecx
mov ecx, eax
jne 0x4f42e2
mov ecx, dword [esp + 0x10]
cmp dword [ecx], edi
jne 0x4f42f5
mov dword [ecx], eax
dec dword [edx + 0x40]
push edi
push dword [edx + 0x3c]
call fcn.0050ae10
add esp, 8
cmp byte [edi + 0x1b], 0
jns 0x4f4315
push dword [edi + 0x10]
call fcn.00562f60
add esp, 4
push edi
call fcn.00562f60
add esp, 4
mov edx, dword [esp + 4]
test byte [edx + 0x44], 1
mov ecx, 0x20
mov eax, 8
cmovne eax, ecx
jmp 0x4f4348
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
je 0x4f42eb
jmp 0x4f4335
mov byte [edx + 0x44], 0
mov eax, 8
lea edi, [edx + eax]
cmp dword [edx + eax + 0x14], 0
je 0x4f4387
add esi, 0xfffff1f0
adc ebx, 0xffffffff
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0x10]
mov edx, ecx
shr edx, 9
mov eax, dword [eax + edx*4]
and ecx, 0x1ff
cmp dword [eax + ecx*8], esi
mov eax, dword [eax + ecx*8 + 4]
sbb eax, ebx
jge 0x4f4387
mov ecx, edi
call fcn.0059aa30
cmp dword [edi + 0x14], 0
jne 0x4f435b
mov eax, dword [esp + 4]
mov esi, dword [eax + 0x98]
mov dword [esp + 0x38], esi
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
lea ebx, [esp + 0x20]
je 0x4f43c3
lea eax, [esi + 0x20]
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], ebx
push 0x44aa00
lea ecx, [esp + 0x40]
push ecx
push eax
call fcn.0040a4e0
add esp, 0xc
add esi, 0x10
mov dword [esp + 0x20], 0xffffffff
mov ecx, esi
push ebx
call fcn.005e2bb0
xor esi, esi
test al, al
je 0x4f43e0
mov esi, dword [esp + 0x20]
mov ebx, dword [edi + 0x14]
mov edx, dword [esp + 4]
mov eax, dword [edx + 0x98]
mov dword [esp + 0x38], eax
mov ecx, dword [eax + 0x20]
cmp ecx, 0xffffffff
je 0x4f4423
add eax, 0x20
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], ecx
push 0x44aa00
lea ecx, [esp + 0x40]
push ecx
push eax
call fcn.0040a4e0
mov edx, dword [esp + 0x10]
add esp, 0xc
test esi, esi
mov eax, 0xa
cmovne eax, esi
cmp ebx, eax
jae 0x4f448a
lea ebx, [esp + 0x30]
mov ecx, edi
push ebx
mov esi, edx
call fcn.0059aaa0
mov dword [esp + 0x3c], 0
mov ecx, dword [esi + 0x98]
push 1
lea eax, [esp + 0x40]
push eax
mov esi, dword [esp + 0x10]
push esi
call fcn.005d2c80
dec eax
cmp eax, 4
ja case.default.0x4f4464
jmp dword [eax*4 + 0x6374fc]
call fcn.00592520
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x4f44a9
mov ecx, esi
call fcn.005e3880
push esi
call fcn.00562f60
add esp, 4
jmp 0x4f44a9
mov ecx, dword [edx + 0x98]
push 1
jmp 0x4f44a0
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x98]
push 0
push dword [esp + 0xc]
call fcn.005d3690
mov ecx, dword [esp + 0x40]
xor ecx, ebp
call fcn.00566245
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x98]
push 3
push esi
call fcn.005d3690
jmp case.0x4f4464.1
xorps xmm0, xmm0
movsd qword [esp + 0x20], xmm0
mov dword [esp + 0x28], 0
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 4]
mov edx, esi
lea eax, [esp + 0x20]
push eax
call fcn.005d48c0
add esp, 4
mov edi, eax
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0xc]
push ebx
call fcn.005e2bb0
test al, al
je 0x4f451e
cmp dword [esp + 0x30], 0
je 0x4f451e
mov dword [esi + 0x5c], 0
mov eax, dword [esp + 4]
cmp byte [eax + 0x44], 1
lea edx, [esp + 0x20]
jne 0x4f4530
mov byte [esi + 0x78], 0
cmp edi, 2
je 0x4f4555
cmp edi, 1
je 0x4f457f
mov ecx, dword [eax + 0x98]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x18], esi
push edx
push esi
call fcn.005e3990
jmp 0x4f45b0
mov dword [esp + 0x3c], 0
test esi, esi
je 0x4f4575
mov ecx, esi
call fcn.005e3880
push esi
call fcn.00562f60
mov eax, dword [esp + 8]
add esp, 4
mov ecx, dword [eax + 0x98]
push 4
jmp 0x4f45a7
mov dword [esp + 0x3c], 0
test esi, esi
je 0x4f459f
mov ecx, esi
call fcn.005e3880
push esi
call fcn.00562f60
mov eax, dword [esp + 8]
add esp, 4
mov ecx, dword [eax + 0x98]
push 5
push dword [esp + 0xc]
call fcn.005d3690
cmp byte [esp + 0x2b], 0
jns case.0x4f4464.1
push dword [esp + 0x20]
call fcn.00562f60
add esp, 4
jmp case.0x4f4464.1