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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x5bd250]
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.004c524f
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 0x4eba86
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4eba86
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 0x4ebaaa
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4ebaaa
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.004bf132
test eax, eax
jne 0x4ebade
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 0x4ebf05
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 0x4ebb19
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4ebb19
mov ecx, dword [ebx + 0x4cc]
call fcn.004db745
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.004bf132
test eax, eax
jle 0x4ebc23
mov ebx, dword [esp + 0x28]
xor edi, edi
push edi
call fcn.004bf155
mov edi, eax
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0xc8]
test al, al
je 0x4ebbfd
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xf4]
test al, al
jne 0x4ebbfd
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 0x4ebb8f
inc dword [esp + 0x2c]
jmp 0x4ebbc5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
cmp dword [esp + 0x10], eax
jge 0x4ebba7
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 0x4ebbc5
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 0x4ebc01
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
inc edi
mov dword [esp + 0x20], edi
call fcn.004bf132
cmp edi, eax
jl 0x4ebb45
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 0x4ebc5f
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 0x4ebc8b
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4ebc8b
mov ecx, dword [ebx + 0x4c8]
call fcn.004db791
sub dword [esp + 0x1c], eax
mov ecx, dword [ebx + 0x4cc]
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x4ebcb7
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4ebcb7
mov ecx, dword [ebx + 0x4cc]
call fcn.004db791
sub dword [esp + 0x14], eax
and dword [esp + 0x3c], 0
lea ecx, [ebx + 0x4a4]
xor edx, edx
mov dword [esp + 0x34], edx
call fcn.004bf132
test eax, eax
jle 0x4ebedd
push edx
call fcn.004bf155
mov ebx, eax
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx + 0xc8]
test al, al
je 0x4ebeb9
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xf4]
test al, al
je 0x4ebd14
mov ebx, dword [esp + 0x24]
mov ecx, ebx
push dword [esp + 0x34]
mov eax, dword [ebx]
call dword [eax + 0x1a8]
jmp 0x4ebebd
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 0x4ebda3
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 0x4ebd6b
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 0x4ebd83
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 0x4ebde1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x80]
mov dword [esp + 0x10], eax
jmp 0x4ebde1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x78]
cmp dword [esp + 0x10], eax
jge 0x4ebdbb
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 0x4ebddd
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 0x4ebdf6
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 0x4ebe19
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 0x4ebe35
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 0x4ebebd
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
lea ecx, [ebx + 0x4a4]
inc edx
mov dword [esp + 0x34], edx
call fcn.004bf132
mov edi, dword [esp + 0x28]
cmp edx, eax
jl 0x4ebcd5
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.0053f9bc
mov esp, ebp
pop ebp
ret 0x10