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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8f4
mov eax, dword [0x57a040]
xor eax, esp
mov dword [esp + 0x8f0], eax
mov eax, dword [ebp + 8]
mov ecx, 0xc
push ebx
mov ebx, dword [0xa0cdc0]
mov edx, 0xffff
push esi
push edi
mov edi, dword [eax*4 + 0x20a514c]
xor esi, esi
xor eax, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x504]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x620]
mov dword [esp + 0x30], ecx
add eax, 4
mov ecx, 0x78
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], esi
mov edi, 0x12c
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
nop word [eax + eax]
movzx eax, word [eax + 4]
cmp ax, dx
je 0x4b890a
cmp ax, di
jb 0x4b890a
mov edi, eax
mov ecx, 0xa0cdc0
lea eax, [esp + 0x28]
mov dword [esp + 0x28], edi
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00405650
mov esi, dword [esp + 0x58]
cmp byte [esi + 0xd], 0
jne 0x4b87bf
cmp edi, dword [esi + 0x10]
jge 0x4b87c1
mov esi, ebx
cmp esi, ebx
je 0x4b88f8
inc dword [esp + 0x20]
lea edi, [esp + 0x68]
add esi, 0x14
mov ecx, 0x24
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xcc]
mov edi, dword [esp + 0x68]
mov dword [esp + ecx + 0xfc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + ecx + 0xf8], edi
add ecx, 8
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
movzx eax, word [eax + 0xcc]
mov cl, byte [ecx]
mov al, byte [esp + eax*4 + 0xdc]
mov byte [esp + 0x38], al
lea eax, [ecx + 1]
movzx ecx, cl
mov byte [esp + 0x39], al
mov eax, dword [esp + 0x78]
mov dword [esp + 0x2c], ecx
lea esi, [eax - 1]
cmp ecx, eax
jge 0x4b8836
mov esi, ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x28], edi
push eax
lea eax, [esp + 0x60]
mov ecx, 0xa0cdc0
push eax
call fcn.00405650
mov eax, dword [esp + 0x64]
cmp byte [eax + 0xd], 0
jne 0x4b885d
cmp edi, dword [eax + 0x10]
jge 0x4b885f
mov eax, ebx
cmp eax, ebx
jne 0x4b886d
mov dword [esp + 0x3c], 0
jmp 0x4b8879
movss xmm0, dword [eax + esi*4 + 0x28]
movss dword [esp + 0x3c], xmm0
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x78]
inc esi
cmp esi, eax
jl 0x4b8889
lea esi, [eax - 1]
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], edi
push eax
lea eax, [esp + 0x48]
mov ecx, 0xa0cdc0
push eax
call fcn.00405650
mov eax, dword [esp + 0x4c]
cmp byte [eax + 0xd], 0
jne 0x4b88b0
cmp edi, dword [eax + 0x10]
jge 0x4b88b2
mov eax, ebx
cmp eax, ebx
jne 0x4b88c0
mov dword [esp + 0x40], 0
jmp 0x4b88cc
movss xmm0, dword [eax + esi*4 + 0x28]
movss dword [esp + 0x40], xmm0
mov ecx, dword [esp + 0x30]
movq xmm0, qword [esp + 0x38]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x10]
add dword [esp + 0x24], 0xc
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
add ecx, 0xc
inc esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10], esi
jmp 0x4b88fc
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edi, 0x12c
mov edx, 0xffff
mov eax, dword [esp + 0x14]
add eax, 0x14
sub ecx, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jne 0x4b8780
mov ecx, dword [esp + 0x1c]
mov eax, ecx
mov ebx, dword [esp + 0x34]
shr eax, 8
mov byte [esp + 0xf9], al
movzx eax, word [esp + 0x49]
mov word [esp + 0xfd], ax
movzx eax, byte [esp + 0x4b]
mov byte [esp + 0xff], al
mov eax, dword [esp + 0x20]
mov dword [esp + 0x100], eax
lea eax, [esp + 0xf8]
push ecx
push eax
push dword [ebx]
mov byte [esp + 0x104], 0xc2
mov byte [esp + 0x106], cl
mov word [esp + 0x107], 0xf4f3
call fcn.005192f0
mov ecx, dword [esp + 0x24]
mov eax, ecx
shr eax, 8
mov byte [esp + 0x4f9], al
movzx eax, word [esp + 0x49]
mov word [esp + 0x4fd], ax
movzx eax, byte [esp + 0x4b]
mov byte [esp + 0x4ff], al
lea eax, [esp + 0x4f8]
push ecx
push eax
push dword [ebx]
mov byte [esp + 0x504], 0xc2
mov byte [esp + 0x506], cl
mov word [esp + 0x507], 0x53f3
mov dword [esp + 0x50c], esi
call fcn.005192f0
mov ecx, dword [esp + 0x8fc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 4