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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x11c
mov dword [ebp - 0x1c], 3
cmp dword [ebp - 0x1c], 3
je 0x50be1a
cmp dword [ebp - 0x1c], 3
ja 0x50be35
cmp dword [ebp - 0x1c], 2
je 0x50be3b
cmp dword [ebp - 0x1c], 2
ja 0x50be35
cmp dword [ebp - 0x1c], 0
je 0x50bc53
cmp dword [ebp - 0x1c], 1
jne 0x50be35
mov eax, dword [ebp + 0x40]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x54]
mov edx, dword [eax]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x5c]
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 0x70]
mov ebx, dword [eax]
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov dword [ebp - 0x40], esi
mov eax, dword [ebp + 0x54]
mov edi, dword [eax]
mov dword [ebp - 0x44], edi
mov eax, dword [ebp + 0x4c]
mov edx, dword [eax]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp + 0x58]
fld qword [eax]
mov eax, dword [ebp + 0x18]
fld qword [eax]
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 0x60]
mov ebx, dword [eax]
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov dword [ebp - 0x58], esi
mov eax, dword [ebp + 0x54]
mov edi, dword [eax]
mov dword [ebp - 0x5c], edi
mov eax, dword [ebp + 0x44]
mov edx, dword [eax]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov dword [ebp - 0x68], ebx
mov eax, dword [ebp + 0x6c]
mov esi, dword [eax]
mov dword [ebp - 0x6c], esi
mov eax, dword [ebp + 0x54]
mov edi, dword [eax]
mov dword [ebp - 0x70], edi
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp + 0x5c]
mov ecx, dword [eax]
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
mov eax, dword [ebp + 0x34]
mov esi, dword [eax]
mov eax, dword [ebp + 8]
fld qword [eax]
mov eax, dword [ebp + 0x50]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x28]
fld qword [eax]
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
fld qword [eax]
mov eax, dword [ebp + 0x68]
fld qword [eax]
mov eax, dword [ebp + 0x20]
fld qword [eax]
mov eax, dword [ebp + 0x6c]
mov edx, dword [eax]
mov eax, dword [ebp + 0x58]
fld qword [eax]
fxch st(7)
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x98], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x94], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x90], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x88], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 0x84], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0x80], eax
fstp qword [esp + 0x78]
fxch st(5)
fstp qword [esp + 0x70]
fxch st(3)
mov eax, dword [ebp - 0x50]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 0x68], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 0x58], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 0x54], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0x50], eax
mov eax, dword [ebp - 0x70]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 0x48], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], esi
fstp qword [esp + 0x34]
fxch st(1)
mov dword [esp + 0x30], ebx
fstp qword [esp + 0x28]
mov dword [esp + 0x24], ecx
fstp qword [esp + 0x1c]
fstp qword [esp + 0x14]
fstp qword [esp + 0xc]
mov dword [esp + 8], edx
fstp qword [esp]
call sym._ByteFree
mov dword [ebp - 0x1c], 2
jmp 0x50be36
mov eax, dword [ebp + 0x48]
fld qword [eax]
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov eax, dword [ebp + 0x2c]
fld qword [eax]
fstp qword [ebp - 0x30]
mov eax, dword [ebp + 0x54]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x34]
mov ebx, dword [eax]
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp + 0x40]
mov edi, dword [eax]
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp + 0x1c]
mov ebx, dword [eax]
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp + 0x28]
fld qword [eax]
fstp qword [ebp - 0x50]
mov eax, dword [ebp + 0x6c]
mov edi, dword [eax]
mov dword [ebp - 0x54], edi
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp + 0x34]
mov ebx, dword [eax]
mov dword [ebp - 0x60], ebx
mov eax, dword [ebp + 0x6c]
mov edi, dword [eax]
mov dword [ebp - 0x64], edi
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp + 0x3c]
fld qword [eax]
mov eax, dword [ebp + 0x2c]
fld qword [eax]
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp + 0x24]
mov ebx, dword [eax]
mov dword [ebp - 0x70], ebx
mov eax, dword [ebp + 0x64]
mov edi, dword [eax]
mov dword [ebp - 0x74], edi
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp + 8]
fld qword [eax]
mov eax, dword [ebp + 0x30]
fld qword [eax]
mov eax, dword [ebp + 0x54]
mov edi, dword [eax]
mov eax, dword [ebp + 0x68]
fld qword [eax]
mov eax, dword [ebp + 0x18]
fld qword [eax]
mov eax, dword [ebp + 0x20]
fld qword [eax]
fxch st(7)
mov eax, dword [ebp + 0x6c]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax]
mov eax, dword [0x5cbfe0]
add eax, 0x300
shl eax, 0xa
add eax, 0x5cbfe0
lea edx, [eax + 4]
fstp qword [esp + 0xa0]
mov dword [esp + 0x9c], esi
fld qword [ebp - 0x30]
fstp qword [esp + 0x94]
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x90], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x88], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x84], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 0x80], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0x7c], eax
fld qword [ebp - 0x50]
fstp qword [esp + 0x74]
fxch st(5)
mov eax, dword [ebp - 0x54]
mov dword [esp + 0x70], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0x68], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 0x60], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 0x5c], eax
fstp qword [esp + 0x54]
fxch st(3)
fstp qword [esp + 0x4c]
fxch st(1)
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0x48], eax
mov eax, dword [ebp - 0x70]
mov dword [esp + 0x44], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 0x40], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x3c], eax
fstp qword [esp + 0x34]
fstp qword [esp + 0x2c]
mov dword [esp + 0x28], edi
fstp qword [esp + 0x20]
fstp qword [esp + 0x18]
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x14], eax
fstp qword [esp + 0xc]
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp], edx
call sym._StrCpyW
mov dword [ebp - 0x1c], 1
jmp 0x50be36
mov eax, dword [ebp + 0x78]
mov eax, dword [eax]
test eax, eax
je 0x50be2c
mov dword [ebp - 0x1c], 0
jmp 0x50be36
mov dword [ebp - 0x1c], 1
jmp 0x50be36
nop
jmp 0x50ba67
nop
add esp, 0x11c
pop ebx
pop esi
pop edi
pop ebp
ret