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

Disassembly:
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, eax
mov eax, dword [esp + 0x78]
mov ebp, dword [eax + 0x10]
mov eax, dword [esi]
xor ebx, ebx
add ebp, 0x10
cmp eax, ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov byte [esp + 0xf], bl
je 0x4d21c0
mov eax, dword [esi + 4]
cmp eax, ebx
lea ecx, [esi + 4]
je 0x4d21c0
cmp dword [eax + 0x10], ebx
je 0x4d21b6
mov eax, dword [eax + 0x14]
mov dl, byte [eax + 0x2e]
shr dl, 4
test dl, 1
je 0x4d21b6
fld dword [eax + 0x18]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
mov eax, dword [ecx + 4]
add ecx, 4
cmp eax, ebx
jne 0x4d2198
add esi, 4
push edi
mov edi, esi
mov ecx, dword [edi]
cmp ecx, ebx
je 0x4d2243
lea esp, [esp]
mov eax, dword [ecx + 0x10]
cmp eax, ebx
je 0x4d2239
mov al, byte [eax + 4]
shr al, 1
test al, 1
je 0x4d2239
mov edx, dword [ecx + 0x14]
xor eax, eax
mov ax, word [edx + 0x2e]
mov edx, eax
shr edx, 0xd
test dl, 1
jne 0x4d2239
shr al, 6
test al, 1
je 0x4d2239
fld dword [0x858624]
push ecx
fsub dword [esp + 0x18]
lea eax, [esp + 0x2c]
fstp dword [esp]
push eax
call fcn.004cfc50
fld dword [esp + 0x44]
mov ecx, dword [edi]
fadd dword [esp + 0x2c]
mov edx, dword [ecx + 0x14]
mov al, byte [edx + 0x2e]
shr al, 7
fstp dword [esp + 0x44]
test al, 1
je 0x4d2239
fld dword [esp + 0x40]
fadd dword [esp + 0x28]
fstp dword [esp + 0x40]
mov ecx, dword [edi + 4]
add edi, 4
cmp ecx, ebx
jne 0x4d21d0
cmp dword [esi], ebx
je 0x4d2376
jmp 0x4d2250
mov ecx, dword [esi]
cmp dword [ecx + 0x10], ebx
je 0x4d2363
fld dword [0x858624]
lea edx, [esp + 0x68]
fsub dword [esp + 0x14]
lea eax, [esp + 0x28]
fstp dword [esp + 0x18]
mov edi, dword [esp + 0x18]
push edi
push edx
push eax
call fcn.004d06c0
fld dword [esp + 0x68]
fadd dword [esp + 0x58]
mov ecx, dword [esi]
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]
fld dword [esp + 0x74]
fadd dword [esp + 0x64]
fstp dword [esp + 0x64]
mov edx, dword [ecx + 0x10]
mov dl, byte [edx + 4]
shr dl, 1
test dl, 1
je 0x4d2363
mov edx, dword [ecx + 0x14]
movzx edx, word [edx + 0x2e]
mov ebx, edx
shr ebx, 0xd
test bl, 1
jne 0x4d2361
fld dword [esp + 0x1c]
mov bl, dl
fadd dword [esp + 0x28]
shr bl, 6
test bl, 1
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x20]
fld dword [esp + 0x30]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
je 0x4d2361
fld dword [esp + 0x38]
shr dl, 7
test dl, 1
fadd dword [esp + 0x2c]
fstp dword [esp + 0x38]
je 0x4d2323
fld dword [esp + 0x34]
fadd dword [esp + 0x28]
fstp dword [esp + 0x34]
or byte [esp + 0x13], al
xor ebx, ebx
cmp al, bl
je 0x4d2363
push edi
lea eax, [esp + 0x2c]
push eax
call fcn.004cfd90
fld dword [esp + 0x50]
mov ecx, dword [esi]
fadd dword [esp + 0x2c]
mov edx, dword [ecx + 0x14]
mov al, byte [edx + 0x2e]
shr al, 7
fstp dword [esp + 0x50]
test al, 1
je 0x4d2363
fld dword [esp + 0x4c]
fadd dword [esp + 0x28]
fstp dword [esp + 0x4c]
jmp 0x4d2363
xor ebx, ebx
add ecx, 0x18
mov dword [esi], ecx
mov eax, dword [esi + 4]
add esi, 4
cmp eax, ebx
jne 0x4d2250
mov ecx, dword [esp + 0x7c]
test byte [ecx], 2
pop edi
jne 0x4d23c8
mov ecx, dword [ebp + 0xc]
or ecx, 0x20003
mov eax, 0x3f800000
mov dword [ebp + 0xc], ecx
lea ecx, [esp + 0x54]
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x14], eax
mov dword [ebp], eax
mov dword [ebp + 0x10], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x30], ebx
call fcn.004d1610
push ebp
lea ecx, [esp + 0x58]
call fcn.0059c080
mov edx, dword [esp + 0x78]
test byte [edx], 4
jne 0x4d2440
fld dword [esp + 0x30]
mov eax, dword [0xb4ea0c]
fsub dword [esp + 0x3c]
mov ecx, dword [eax + 0xc]
fstp dword [ecx]
mov cl, byte [esp + 0xf]
cmp cl, bl
fld dword [esp + 0x34]
fsub dword [esp + 0x40]
mov edx, dword [eax + 0xc]
fstp dword [edx + 4]
je 0x4d2411
mov ecx, dword [eax + 0xc]
fld dword [esp + 0x48]
fadd dword [ecx]
fstp dword [ecx]
mov eax, dword [eax + 0xc]
fld dword [esp + 0x4c]
fadd dword [eax + 4]
fstp dword [eax + 4]
fld dword [esp + 0x18]
lea eax, [ebp + 0x30]
fsub dword [esp + 0x30]
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fld dword [esp + 0x1c]
mov dword [eax], ecx
fsub dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
push ebp
call fcn.007f18a0
add esp, 4
pop esi
pop ebp
pop ebx
add esp, 0x68
ret