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

Disassembly:
sub esp, 0x80
mov eax, dword [0x537eb4]
xor eax, esp
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x8c]
push ebx
push ebp
mov ebp, dword [esp + 0x98]
push esi
push edi
push dword [edx + 0x6858]
mov edi, dword [esp + 0x9c]
lea esi, [ecx + ebp]
add eax, edi
mov dword [esp + 0x4c], edi
push ecx
mov dword [esp + 0x2c], eax
lea ecx, [edx + 0x1004]
xor eax, eax
mov dword [esp + 0x34], esi
mov esi, dword [edx + 0x685c]
mov ebx, edi
mov edi, dword [edx + 0x6860]
push ebp
mov dword [esp + 0x2c], eax
add edi, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [edx + 0x1808]
push ecx
push eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x24], edi
lea edi, [edx + 0x1004]
push edx
push eax
mov dword [esp + 0x50], edi
lea eax, [esp + 0x38]
mov edi, dword [edx + 0x6814]
push eax
mov dword [esp + 0x64], edi
lea eax, [esp + 0x38]
mov edi, dword [edx + 0x6818]
mov dword [esp + 0x60], edi
mov edi, dword [edx + 0x681c]
push eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x60], edi
call fcn.004d958e
mov edi, dword [esp + 0x34]
add esp, 0x24
cmp eax, 0xffffff88
ja 0x4d9ecc
add eax, ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x28], eax
test ebp, ebp
je 0x4d9e95
push 0xc
lea eax, [esp + 0x84]
push 0
push eax
call fcn.004e4930
mov ecx, dword [esp + 0x28]
xor edx, edx
mov eax, dword [esp + 0x2c]
inc edx
add eax, ecx
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x34]
sub ecx, eax
push ecx
push eax
lea eax, [esp + 0x60]
mov dword [esp + 0x9c], edx
push eax
mov dword [esp + 0x8c], edx
call fcn.004d23fa
add esp, 0x18
cmp eax, 0xffffff88
ja 0x4d9e9d
push dword [esp + 0x30]
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.004d86e3
push dword [esp + 0x40]
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004d86e3
push dword [esp + 0x50]
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.004d86e3
lea eax, [esp + 0x70]
push eax
call fcn.004d101a
add esp, 0x28
cmp eax, 2
jg 0x4d9e91
test ebp, ebp
je 0x4d9ea2
lea eax, [esp + 0x4c]
dec ebp
push eax
lea eax, [esp + 0x84]
push eax
call fcn.004d989a
pop ecx
pop ecx
push dword [esp + 0x3c]
lea eax, [esp + 0x18]
push dword [esp + 0x44]
lea esi, [esp + 0x88]
push dword [esp + 0x4c]
push edi
push eax
sub esp, 0xc
mov edi, esp
push dword [esp + 0x44]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004da098
add esp, 0x28
cmp eax, 0xffffff88
ja 0x4d9ecc
add ebx, eax
lea eax, [esp + 0x4c]
push eax
call fcn.004d101a
mov edi, dword [esp + 0x14]
pop ecx
cmp eax, 2
jle 0x4d9e2b
mov esi, dword [esp + 0x14]
test ebp, ebp
jne 0x4d9e9d
mov eax, edi
sub eax, esi
cmp esi, edi
jbe 0x4d9ea8
push 0xffffffffffffffec
pop eax
jmp 0x4d9ecc
mov esi, dword [esp + 0x14]
jmp 0x4d9e95
lea edi, [eax + ebx]
cmp edi, dword [esp + 0x24]
jbe 0x4d9eb5
push 0xffffffffffffffba
jmp 0x4d9e9f
test eax, eax
je 0x4d9ec6
push eax
push esi
push ebx
call fcn.004e4a90
add esp, 0xc
mov ebx, edi
sub ebx, dword [esp + 0x48]
mov eax, ebx
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e3fdc
add esp, 0x80
ret