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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x5bb250]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
sub esp, 0x10
lea esi, [ebp + 8]
mov edi, esp
mov ebx, ecx
mov dword [esp + 0x34], ebx
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.004c5101
mov eax, dword [ebx + 0x4b0]
lea esi, [ebx + 0x154]
mov ecx, dword [ebx + 0x4c8]
lea edi, [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add dword [ebp + 8], eax
mov eax, dword [ebx + 0x4b4]
add dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x4b8]
sub dword [ebp + 0x10], eax
mov eax, dword [ebx + 0x4bc]
sub dword [ebp + 0x14], eax
test ecx, ecx
je 0x4eb935
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4eb935
mov ecx, dword [ebx + 0x4c8]
mov eax, dword [ecx]
call dword [eax + 0x58]
sub dword [ebp + 0x10], eax
mov ecx, dword [ebx + 0x4cc]
test ecx, ecx
je 0x4eb959
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4eb959
mov ecx, dword [ebx + 0x4cc]
mov eax, dword [ecx]
call dword [eax + 0x60]
sub dword [ebp + 0x14], eax
lea eax, [ebx + 0x4a4]
mov ecx, eax
mov dword [esp + 0x30], eax
call fcn.004befe2
test eax, eax
jne 0x4eb98d
mov eax, dword [ebx]
lea esi, [ebp + 8]
push 0
push 0
sub esp, 0x10
mov ecx, ebx
mov edi, esp
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 dword [eax + 0x1ac]
jmp 0x4ebdb4
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
sub edi, dword [ebp + 8]
sub esi, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x4cc]
mov dword [esp + 0x28], edi
mov dword [esp + 0x38], esi
test ecx, ecx
je 0x4eb9c8
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4eb9c8
mov ecx, dword [ebx + 0x4cc]
call fcn.004db5f6
add edi, eax
mov dword [esp + 0x28], edi
and dword [esp + 0x2c], 0
lea ecx, [ebx + 0x4a4]
xor edx, edx
and dword [esp + 0x14], edx
and dword [esp + 0x20], edx
mov dword [esp + 0x18], edx
call fcn.004befe2
test eax, eax
jle 0x4ebad2
mov ebx, dword [esp + 0x28]
xor edi, edi
push edi
call fcn.004bf005
mov edi, eax
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0xc8]
test al, al
je 0x4ebaac
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xf4]
test al, al
jne 0x4ebaac
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push esi
push ebx
push ecx
mov ecx, edi
call dword [eax + 0x114]
cmp dword [esp + 0x10], 0
jne 0x4eba3e
inc dword [esp + 0x2c]
jmp 0x4eba74
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
cmp dword [esp + 0x10], eax
jge 0x4eba56
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x80]
cmp dword [esp + 0x10], eax
jle 0x4eba74
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x80]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
call dword [eax + 0x48]
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
lea esi, [eax + 0xc]
mov eax, dword [edi]
call dword [eax + 0x48]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 4]
add eax, dword [esp + 0x10]
add eax, dword [esi]
mov esi, dword [esp + 0x38]
add edx, eax
inc dword [esp + 0x14]
mov dword [esp + 0x18], edx
jmp 0x4ebab0
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
inc edi
mov dword [esp + 0x20], edi
call fcn.004befe2
cmp edi, eax
jl 0x4eb9f4
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x4c0]
dec ecx
and dword [esp + 0x20], 0
and dword [esp + 0x30], 0
imul eax, ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x2c]
add edx, eax
mov dword [esp + 0x18], edx
test ecx, ecx
jle 0x4ebb0e
mov eax, esi
sub eax, edx
cdq
idiv ecx
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [ebx + 0x4c8]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x4ebb3a
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4ebb3a
mov ecx, dword [ebx + 0x4c8]
call fcn.004db642
sub dword [esp + 0x1c], eax
mov ecx, dword [ebx + 0x4cc]
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x4ebb66
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4ebb66
mov ecx, dword [ebx + 0x4cc]
call fcn.004db642
sub dword [esp + 0x14], eax
and dword [esp + 0x3c], 0
lea ecx, [ebx + 0x4a4]
xor edx, edx
mov dword [esp + 0x34], edx
call fcn.004befe2
test eax, eax
jle 0x4ebd8c
push edx
call fcn.004bf005
mov ebx, eax
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx + 0xc8]
test al, al
je 0x4ebd68
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xf4]
test al, al
je 0x4ebbc3
mov ebx, dword [esp + 0x24]
mov ecx, ebx
push dword [esp + 0x34]
mov eax, dword [ebx]
call dword [eax + 0x1a8]
jmp 0x4ebd6c
mov eax, dword [ebx]
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
call dword [eax + 0x48]
sub esi, dword [esp + 0x48]
lea ecx, [esp + 0xc]
mov eax, dword [ebx]
push esi
push edi
push ecx
mov ecx, ebx
mov dword [esp + 0x44], esi
call dword [eax + 0x114]
cmp dword [esp + 0x10], 0
jne 0x4ebc52
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x10], eax
cmp ecx, dword [esp + 0x2c]
jne 0x4ebc1a
mov eax, esi
sub eax, dword [esp + 0x50]
sub eax, dword [esp + 0x18]
push 0
pop ecx
cmovs eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x78]
cmp dword [esp + 0x10], eax
jge 0x4ebc32
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x80]
cmp dword [esp + 0x10], eax
jle 0x4ebc90
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x80]
mov dword [esp + 0x10], eax
jmp 0x4ebc90
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x78]
cmp dword [esp + 0x10], eax
jge 0x4ebc6a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x80]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jle 0x4ebc8c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x80]
mov ecx, eax
mov dword [esp + 0x10], ecx
sub dword [esp + 0x18], ecx
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x58]
test eax, eax
jne 0x4ebca5
mov eax, edi
sub eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov ecx, ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
call dword [eax + 0x68]
cmp dword [esp + 0xc], eax
jge 0x4ebcc8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x70]
mov edi, dword [esp + 0xc]
cmp edi, eax
jle 0x4ebce4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x70]
mov edi, eax
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x44]
lea esi, [esp + 0x54]
mov ecx, dword [esp + 0x14]
sub esp, 0x10
add ecx, edx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x2c]
lea eax, [edx + edi]
add eax, dword [esp + 0x24]
mov edi, esp
add ecx, dword [esp + 0x58]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x60]
add eax, dword [esp + 0x20]
add eax, dword [esp + 0x58]
add eax, dword [esp + 0x2c]
mov dword [esp + 0x68], ecx
mov ecx, ebx
mov dword [esp + 0x70], eax
mov eax, dword [ebx]
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 dword [eax + 0x34]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
mov esi, dword [ebx + 0x4c0]
lea eax, [esi + edx]
add eax, ecx
add eax, dword [esp + 0x48]
add dword [esp + 0x1c], eax
lea eax, [edx + ecx]
add eax, dword [esp + 0x48]
add dword [esp + 0x20], eax
lea eax, [esi + edx]
mov esi, dword [esp + 0x38]
add eax, ecx
sub esi, eax
jmp 0x4ebd6c
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
lea ecx, [ebx + 0x4a4]
inc edx
mov dword [esp + 0x34], edx
call fcn.004befe2
mov edi, dword [esp + 0x28]
cmp edx, eax
jl 0x4ebb84
mov eax, dword [ebx + 0x4c0]
lea esi, [ebp + 8]
imul eax, dword [esp + 0x40]
mov ecx, ebx
mov edx, dword [ebx]
add eax, dword [esp + 0x20]
push eax
push 0
sub esp, 0x10
mov edi, esp
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 dword [edx + 0x1ac]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret 0x10