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

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [esp + 0x78]
mov ebp, dword [eax + 0x10]
mov eax, dword [edi]
xor bl, bl
test eax, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
je 0x4d1b2d
mov eax, dword [edi + 4]
lea esi, [edi + 4]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4d1b23
mov eax, dword [eax + 0x14]
xor ecx, ecx
mov cx, word [eax + 0x2e]
mov dl, cl
shr dl, 4
test dl, 1
je 0x4d1b23
shr ecx, 0xa
test cl, 1
jne 0x4d1b23
fld dword [eax + 0x18]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x4d1af6
lea esi, [edi + 4]
mov edi, esi
mov ecx, dword [edi]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4d1b8d
mov al, byte [eax + 4]
shr al, 1
test al, 1
je 0x4d1b8d
mov edx, dword [ecx + 0x14]
mov al, byte [edx + 0x2e]
shr al, 6
test al, 1
je 0x4d1b8d
fld dword [0x858624]
push ecx
fsub dword [esp + 0x14]
lea edx, [esp + 0x28]
fstp dword [esp]
push edx
call fcn.004cfc50
fld dword [esp + 0x24]
fadd dword [esp + 0x3c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x28]
fadd dword [esp + 0x40]
fstp dword [esp + 0x40]
fld dword [esp + 0x2c]
fadd dword [esp + 0x44]
fstp dword [esp + 0x44]
mov eax, dword [edi + 4]
add edi, 4
test eax, eax
jne 0x4d1b32
mov ecx, dword [esi]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4d1c94
fld dword [0x858624]
lea eax, [esp + 0x64]
fsub dword [esp + 0x10]
lea edx, [esp + 0x24]
fstp dword [esp + 0x14]
mov edi, dword [esp + 0x14]
push edi
push eax
push edx
call fcn.004d06c0
fld dword [esp + 0x64]
fadd dword [esp + 0x54]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x10]
mov dl, byte [edx + 4]
fstp dword [esp + 0x54]
shr dl, 1
test dl, 1
fld dword [esp + 0x68]
fadd dword [esp + 0x58]
fstp dword [esp + 0x58]
fld dword [esp + 0x6c]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x5c]
fld dword [esp + 0x70]
fadd dword [esp + 0x60]
fstp dword [esp + 0x60]
je 0x4d1c94
fld dword [esp + 0x24]
mov edx, dword [ecx + 0x14]
fadd dword [esp + 0x18]
mov dl, byte [edx + 0x2e]
shr dl, 6
test dl, 1
fstp dword [esp + 0x18]
fld dword [esp + 0x28]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x2c]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
je 0x4d1c94
fld dword [esp + 0x24]
or bl, al
test al, al
fadd dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x28]
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
fld dword [esp + 0x2c]
fadd dword [esp + 0x38]
fstp dword [esp + 0x38]
je 0x4d1c94
push edi
lea eax, [esp + 0x28]
push eax
call fcn.004cfd90
fld dword [esp + 0x24]
fadd dword [esp + 0x48]
fstp dword [esp + 0x48]
fld dword [esp + 0x28]
fadd dword [esp + 0x4c]
fstp dword [esp + 0x4c]
fld dword [esp + 0x2c]
fadd dword [esp + 0x50]
fstp dword [esp + 0x50]
add dword [esi], 0x18
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x4d1b97
mov ecx, dword [esp + 0x78]
test byte [ecx], 2
jne 0x4d1cd3
lea ecx, [esp + 0x54]
call fcn.004d1610
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [ebp], edx
mov edx, dword [esp + 0x60]
mov dword [ebp + 4], eax
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
mov edx, dword [esp + 0x78]
test byte [edx], 4
jne 0x4d1d9a
test bl, bl
fld dword [esp + 0x30]
fsub dword [esp + 0x3c]
mov ecx, dword [0xb4ea0c]
mov esi, dword [ecx + 0xc]
lea eax, [ebp + 0x10]
fstp dword [esp + 0x54]
mov edi, dword [esp + 0x54]
fld dword [esp + 0x34]
mov dword [esi], edi
fsub dword [esp + 0x40]
fstp dword [esp + 0x58]
fld dword [esp + 0x38]
mov edi, dword [esp + 0x58]
fsub dword [esp + 0x44]
mov dword [esi + 4], edi
fstp dword [esp + 0x5c]
mov edi, dword [esp + 0x5c]
mov dword [esi + 8], edi
je 0x4d1d47
mov ecx, dword [ecx + 0xc]
fld dword [esp + 0x48]
fadd dword [ecx]
fstp dword [ecx]
fld dword [esp + 0x4c]
fadd dword [ecx + 4]
fstp dword [ecx + 4]
fld dword [esp + 0x50]
fadd dword [ecx + 8]
fstp dword [ecx + 8]
fld dword [esp + 0x18]
mov ecx, eax
fsub dword [esp + 0x30]
fstp dword [esp + 0x18]
mov esi, dword [esp + 0x18]
fld dword [esp + 0x1c]
mov dword [ecx], esi
fsub dword [esp + 0x34]
fstp dword [esp + 0x1c]
mov esi, dword [esp + 0x1c]
fld dword [esp + 0x20]
mov dword [ecx + 4], esi
fsub dword [esp + 0x38]
fstp dword [esp + 0x20]
mov esi, dword [esp + 0x20]
mov dword [ecx + 8], esi
fld dword [edx + 4]
fadd dword [eax]
fstp dword [eax]
fld dword [edx + 8]
fadd dword [eax + 4]
fstp dword [eax + 4]
fld dword [edx + 0xc]
fadd dword [eax + 8]
fstp dword [eax + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret