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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [edx + 0x10]
push ebx
mov ebx, dword [edx + 0xc]
push esi
push edi
mov dword [esp + 0x2c], ecx
lea esi, [esp + 0x30]
mov ecx, dword [edx + 8]
sub esp, 0x10
add eax, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], eax
mov edi, esp
mov eax, dword [edx + 0x14]
sub esp, 0x10
add eax, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x60]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x30], edx
mov dword [esp + 0x44], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp + 0xc]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0050bcea
mov edx, dword [ebp + 8]
add esp, 0x14
mov edi, esp
sub esp, 0x10
mov ebx, dword [edx + 8]
mov ecx, dword [edx + 0x10]
mov esi, dword [edx + 0xc]
add ecx, ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ecx
mov ecx, dword [edx + 0x14]
add ecx, esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x5c], ecx
lea esi, [esp + 0x50]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x40], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
mov edi, esp
lea eax, [esp + 0x60]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0050bcea
mov esi, eax
lea edi, [ebp + 0xc]
add esp, 0x24
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
cmp esi, ecx
jge 0x4f8543
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
cmp eax, edi
jge 0x4f8543
sub ecx, esi
sub edi, eax
mov ebx, eax
mov dword [esp + 0x1c], ecx
sub ebx, dword [esp + 0x18]
mov eax, esi
sub eax, dword [esp + 0x20]
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x14], ecx
movzx ecx, byte [edx + 0x18]
imul ebx, dword [esp + 0x14]
imul eax, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], edi
add ebx, eax
mov eax, edx
add ebx, dword [eax + 0x30]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x1c]
sub esi, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov cl, byte [eax + 0x18]
movzx eax, cl
imul esi, eax
mov eax, dword [ebp + 0x10]
sub eax, dword [esp + 0x24]
imul eax, dword [esp + 0x18]
add esi, eax
mov eax, dword [esp + 0x10]
add esi, dword [eax + 0x30]
cmp byte [edx + 0x18], cl
jne 0x4f84f2
mov eax, dword [esp + 0xc]
imul eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
push eax
push ebx
push esi
call fcn.006f6760
add ebx, dword [esp + 0x20]
add esp, 0xc
add esi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
sub edi, 1
jne 0x4f84d4
jmp 0x4f8543
mov eax, dword [ebp + 0xc]
lea edi, [esp + 0x50]
push 0xe
pop ecx
push 0
push dword [0xcd6758]
mov esi, edx
lea edx, [esp + 0x58]
push dword [ebp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x10]
push 0
push dword [esp + 0x20]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x78], eax
mov dword [esp + 0x94], ebx
call fcn.004f6be4
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret