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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xdc
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 2
je 0x50dc80
cmp dword [ebp - 0x1c], 2
ja 0x50dc7a
cmp dword [ebp - 0x1c], 0
je 0x50db29
cmp dword [ebp - 0x1c], 1
jne 0x50dc7a
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0x80], 1
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 2
fld qword [0x592b60]
fstp qword [esp + 0x6c]
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 5
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], edi
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], 9
mov dword [esp + 0x4c], 4
mov esi, dword [ebp - 0x30]
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], 9
fld qword [0x592b38]
fstp qword [esp + 0x3c]
mov edi, dword [ebp - 0x34]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], 5
mov dword [esp + 0x30], 6
mov ecx, dword [ebp - 0x38]
mov dword [esp + 0x2c], ecx
mov esi, dword [ebp - 0x3c]
mov dword [esp + 0x28], esi
fld qword [0x592b68]
fstp qword [esp + 0x20]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 5
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 8
mov dword [esp + 8], eax
mov dword [esp + 4], 7
mov dword [esp], 1
call sym._SetupRat
mov dword [ebp - 0x1c], 2
jmp 0x50dc7b
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [ebp - 0x40], edi
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
fldz
fstp qword [esp + 0x90]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], 9
mov dword [esp + 0x84], 9
fld qword [0x592b50]
fstp qword [esp + 0x7c]
mov dword [esp + 0x78], 3
mov dword [esp + 0x74], ecx
fld qword [0x592b30]
fstp qword [esp + 0x6c]
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 9
fld qword [0x592b30]
fstp qword [esp + 0x58]
mov dword [esp + 0x54], 3
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x50], edx
mov ecx, dword [ebp - 0x30]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], 3
mov esi, dword [ebp - 0x34]
mov dword [esp + 0x44], esi
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x40], edx
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], 0
fld qword [0x592b60]
fstp qword [esp + 0x30]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 3
mov dword [esp + 0x24], 2
mov dword [esp + 0x20], 0x590f9a
mov esi, dword [ebp - 0x40]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 8
fld qword [0x592b38]
fstp qword [esp + 4]
mov dword [esp], 6
call sym._SearchAllFiles
mov dword [ebp - 0x1c], 1
jmp 0x50dc7b
nop
jmp 0x50d9cf
nop
add esp, 0xdc
pop ebx
pop esi
pop edi
pop ebp
ret