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

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, dword [esp + 0x38]
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
push ebx
push ebp
call fcn.004e5170
push eax
push 0xfe
push ebp
call fcn.0041cd60
mov edx, dword [ebx + 0x3c]
add esp, 0x14
xor ecx, ecx
mov dword [esp + 0x20], eax
test edx, edx
je 0x4d4f21
mov eax, dword [ebx + 0x38]
add eax, 0x10
nop dword [eax + eax]
cmp dword [eax], 0
je 0x4d5181
inc ecx
add eax, 0x14
cmp ecx, edx
jb 0x4d4f10
mov esi, dword [ebx + 0x38]
mov edi, edx
mov ebx, esi
mov eax, dword [ebx - 8]
mov dword [esp + 0x10], eax
xor eax, eax
test edi, edi
je 0x4d4f51
lea ecx, [esi + 0x10]
nop dword [eax + eax]
cmp dword [ecx], 9
je 0x4d519a
inc eax
add ecx, 0x14
cmp eax, edi
jb 0x4d4f40
mov eax, dword [esi - 8]
mov dword [esp + 0x14], eax
xor eax, eax
test edx, edx
je 0x4d4f6e
lea ecx, [esi + 0x10]
cmp dword [ecx], 0xa
je 0x4d4f71
inc eax
add ecx, 0x14
cmp eax, edx
jb 0x4d4f61
or eax, 0xffffffff
push dword [esp + 0x10]
lea eax, [eax + eax*4]
mov eax, dword [esi + eax*4 + 0xc]
push 0x9a
push ebp
mov dword [esp + 0x28], eax
call fcn.0041cd60
mov esi, eax
mov dword [esp + 0x24], 0
push 1
lea eax, [esp + 0x28]
push eax
push esi
push ebp
call fcn.004119a0
mov ebx, eax
mov dword [esp + 0x34], 1
push 1
lea eax, [esp + 0x38]
push eax
push esi
push ebp
call fcn.004119a0
mov edi, eax
mov dword [esp + 0x44], 2
push 1
lea eax, [esp + 0x48]
push eax
push esi
push ebp
call fcn.004119a0
push edi
push ebx
push 0xde
push ebp
mov esi, eax
call fcn.0041cdb0
add esp, 0x4c
push eax
push esi
push 0xd0
push ebp
call fcn.0041cdb0
push esi
push ebx
mov ebx, dword [esp + 0x58]
mov ebp, eax
push 0xde
push ebx
call fcn.0041cdb0
push eax
push edi
push 0xd0
push ebx
call fcn.0041cdb0
mov edi, eax
mov dword [esp + 0x54], 1
push 3
lea eax, [esp + 0x58]
mov dword [esp + 0x5c], 2
push eax
push dword [esp + 0x48]
mov dword [esp + 0x68], 0
push ebx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 2
mov dword [esp + 0x78], 1
call fcn.004119a0
add esp, 0x40
mov esi, eax
lea eax, [esp + 0x30]
push 3
push eax
push dword [esp + 0x18]
push ebx
call fcn.004119a0
push esi
push eax
push edi
push 0x71
push ebx
call fcn.0041ce20
push eax
push dword [esp + 0x38]
push ebp
push 0x71
push ebx
call fcn.0041ce20
mov dword [esp + 0x50], eax
lea eax, [esp + 0x5c]
push 3
push eax
push dword [esp + 0x54]
push ebx
call fcn.004119a0
add esp, 0x48
mov esi, eax
lea eax, [esp + 0x30]
push 3
push eax
push dword [esp + 0x1c]
push ebx
call fcn.004119a0
push esi
push eax
push edi
push 0x71
push ebx
call fcn.0041ce20
push eax
push dword [esp + 0x3c]
push ebp
push 0x71
push ebx
call fcn.0041ce20
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x5c]
push 3
push eax
push ebx
push dword [esp + 0x84]
call fcn.004119a0
add esp, 0x48
mov esi, eax
lea eax, [esp + 0x30]
push 3
push eax
push ebx
push dword [esp + 0x4c]
call fcn.004119a0
push esi
push eax
push edi
push 0x71
push dword [esp + 0x60]
call fcn.0041ce20
push eax
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
push 0x71
push ebx
call fcn.0041ce20
mov ebp, dword [esp + 0x50]
mov esi, eax
push 1
lea eax, [esp + 0x7c]
mov dword [esp + 0x7c], 2
push eax
push ebp
push ebx
call fcn.004119a0
add esp, 0x48
push eax
push 0xea
push ebx
call fcn.0041cd60
mov edi, eax
add esp, 0xc
cmp byte [ebp + 0x10], 2
mov dword [esp + 0x18], edi
je 0x4d515f
push 3
push ebp
push ebx
call fcn.0040f420
add esp, 0xc
mov ebp, eax
push edi
push ebp
push 0xe1
push ebx
call fcn.0041cdb0
mov ebp, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x40], eax
cmp byte [ebp + 0x10], 2
jne 0x4d51ac
mov edi, ebp
jmp 0x4d51ba
mov esi, dword [ebx + 0x38]
lea eax, [ecx + ecx*4]
mov ebx, esi
mov edi, edx
mov eax, dword [esi + eax*4 + 0xc]
mov dword [esp + 0x10], eax
xor eax, eax
jmp 0x4d4f35
lea eax, [eax + eax*4]
mov ebx, dword [ebx + eax*4 + 0xc]
xor eax, eax
mov dword [esp + 0x14], ebx
jmp 0x4d4f5e
push 3
push ebp
push ebx
call fcn.0040f420
add esp, 0xc
mov edi, eax
push 1
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 2
push eax
push ebp
push ebx
call fcn.004119a0
push eax
push dword [esp + 0x54]
push 0xe1
push ebx
call fcn.0041cdb0
push eax
push edi
push 0xf8
push ebx
call fcn.0041cdb0
mov ebp, dword [esp + 0x48]
push eax
push ebp
push 0xe1
push ebx
call fcn.0041cdb0
add esp, 0x40
mov dword [esp + 0x18], eax
cmp byte [esi + 0x10], 2
jne 0x4d520f
mov edi, esi
jmp 0x4d521d
push 3
push esi
push ebx
call fcn.0040f420
add esp, 0xc
mov edi, eax
push 1
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 2
push eax
push esi
push ebx
call fcn.004119a0
push eax
push dword [esp + 0x54]
push 0xe1
push ebx
call fcn.0041cdb0
push eax
push edi
push 0xf8
push ebx
call fcn.0041cdb0
push eax
push ebp
push 0xe1
push ebx
call fcn.0041cdb0
add esp, 0x40
push eax
push eax
push ebx
call fcn.004c54c0
mov esi, eax
mov eax, dword [esp + 0x24]
push eax
push eax
push ebx
call fcn.004c54c0
push esi
push eax
push 0xde
push ebx
call fcn.0041cdb0
mov edi, eax
mov dword [esp + 0x68], 0
push 1
lea eax, [esp + 0x6c]
push eax
push dword [esp + 0x50]
push ebx
call fcn.004119a0
push edi
mov esi, eax
push esi
push 0xe1
push ebx
call fcn.0041cdb0
add esp, 0x48
push eax
push esi
push 0xe1
push ebx
call fcn.0041cdb0
push eax
push 0xd8
push ebx
call fcn.0041cd60
movsd xmm0, qword [0x528da0]
add esp, 0x1c
mov dword [esp + 0x40], eax
push 0x20
sub esp, 8
movsd qword [esp], xmm0
call fcn.00407920
push 0x20
push 1
push dword [ebx + 0xc]
mov edi, eax
mov ebp, edx
call fcn.004097b0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4d5313
push esi
mov dword [esi + 0x30], edi
push ebx
mov dword [esi + 0x34], ebp
call fcn.0041d130
add esp, 8
add esi, 0x18
push dword [esp + 0x40]
push esi
push 0xe1
push ebx
call fcn.0041cdb0
movsd xmm0, qword [0x528988]
add esp, 0x10
mov edi, eax
push 0x20
sub esp, 8
movsd qword [esp], xmm0
call fcn.00407920
push 0x20
push 1
push dword [ebx + 0xc]
mov ebp, eax
mov dword [esp + 0x58], edx
call fcn.004097b0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4d5371
mov eax, dword [esp + 0x40]
push esi
mov dword [esi + 0x30], ebp
push ebx
mov dword [esi + 0x34], eax
call fcn.0041d130
add esp, 8
add esi, 0x18
push edi
push esi
push 0x9b
push ebx
call fcn.0041cdb0
push dword [esp + 0x54]
push eax
push ebx
call fcn.004d88d0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret