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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52d528
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
push esi
mov eax, dword [eax + 8]
push edi
cmp eax, 0xffffffff
mov dword [esp + 0x10], ebx
je 0x4eb1f8
mov dword [ebx + 0x270], eax
mov eax, dword [ebx + 0x264]
xor esi, esi
cmp eax, esi
je 0x4eb213
push eax
call fcn.0051aee4
add esp, 4
mov dword [ebx + 0x264], esi
mov dword [ebx + 0x26c], esi
mov dword [ebx + 0x268], esi
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x20]
mov edi, dword [esi + 0x30]
call fcn.004ecdb0
push 0xa
push 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x78], 0
mov dword [esp + 0x28], 0x53b640
call fcn.004ecdd0
mov eax, dword [esi + 0x30]
xor edx, edx
cmp eax, edx
mov dword [esp + 0x70], 1
je 0x4eb264
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 8]
jmp 0x4eb266
xor eax, eax
imul edi, eax
cmp edi, 0xffffffff
je 0x4eb272
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x24]
cmp eax, edx
je 0x4eb28d
push eax
call fcn.0051aee4
add esp, 4
mov dword [esp + 0x24], 0
xor edx, edx
mov eax, dword [esi + 0x30]
mov dword [esp + 0x2c], edx
cmp eax, edx
mov dword [esp + 0x28], edx
je 0x4eb2a4
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 8]
jmp 0x4eb2a6
xor eax, eax
cmp eax, 0xffffffff
je 0x4eb2b1
mov dword [ebx + 0x254], eax
mov eax, dword [ebx + 0x248]
cmp eax, edx
je 0x4eb2d0
push eax
call fcn.0051aee4
add esp, 4
mov dword [ebx + 0x248], 0
xor edx, edx
mov dword [ebx + 0x250], edx
mov dword [ebx + 0x24c], edx
mov dword [esp + 0xc], edx
mov ecx, dword [esi + 0x30]
cmp ecx, edx
je 0x4eb2ef
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 8]
jmp 0x4eb2f1
xor eax, eax
cmp dword [esp + 0xc], eax
jge 0x4eb384
cmp ecx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], edx
jle 0x4eb35d
xor edi, edi
mov ecx, dword [esi + 0x2c]
mov eax, dword [esp + 0xc]
mov edx, dword [edi + ecx + 4]
mov esi, dword [edx + eax*4]
test esi, esi
je 0x4eb345
mov ecx, dword [esp + 0x28]
push esi
push ecx
lea ecx, [esp + 0x28]
call fcn.004a6b80
fld qword [esi + 0x1d8]
fcomp qword [0x531cf0]
fnstsw ax
test ah, 0x41
jne 0x4eb345
movsx edx, word [esi + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
inc eax
add edi, 0x14
mov edx, dword [ecx + 0x30]
mov dword [esp + 0x14], eax
cmp eax, edx
mov esi, ecx
jl 0x4eb309
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x24c]
lea ecx, [ebx + 0x244]
push edx
push eax
call fcn.004a6b80
mov eax, dword [esp + 0xc]
inc eax
xor edx, edx
mov dword [esp + 0xc], eax
jmp 0x4eb2e0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 0x4edab0
push 4
push ecx
push edx
nop
call fcn.0061f676
mov eax, dword [esp + 0x38]
add esp, 0x10
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], eax
call fcn.004ec9b0
mov eax, dword [ebx + 0xe4]
xor edx, edx
test eax, eax
mov byte [esp + 0x70], 2
mov dword [esp + 0xc], edx
jle 0x4eb52f
jmp 0x4eb3d1
mov edx, dword [esp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [ebx + 0xe0]
xor eax, eax
lea edi, [esp + 0x48]
lea ebx, [ecx + edx*4]
mov ecx, 8
rep stosd dword es:[edi], eax
mov eax, dword [ebx]
mov ecx, esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], eax
call fcn.004ec990
push eax
push 0
lea ecx, [esp + 0x3c]
call fcn.004ecdd0
mov edi, dword [esp + 0x1c]
xor esi, esi
test edi, edi
jle 0x4eb45f
mov edx, dword [esp + 0x24]
mov eax, dword [edx + esi*4]
lea ecx, [eax + 0x18]
call fcn.0047e180
mov ecx, dword [ebx]
mov eax, dword [eax]
push ecx
push eax
nop
call fcn.0061f67f
add esp, 8
test eax, eax
jne 0x4eb45a
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + esi*4]
push ecx
lea ecx, [esp + 0x38]
call fcn.004ecf10
mov edx, dword [esp + 0x24]
mov eax, dword [edx + esi*4]
fld qword [eax + 0x1d8]
fadd qword [esp + 0x60]
inc dword [esp + 0x5c]
fstp qword [esp + 0x60]
inc esi
cmp esi, edi
jl 0x4eb40e
fld qword [esp + 0x60]
fmul qword [0x5340e8]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
dec ecx
test ecx, ecx
fstp qword [esp + 0x14]
jl 0x4eb4e4
lea edx, [esi + ecx*4]
mov eax, dword [edx]
fld qword [eax + 0x1d8]
fld qword [esp + 0x60]
fsub st(1)
dec dword [esp + 0x5c]
fstp qword [esp + 0x60]
fstp st(0)
fld qword [esp + 0x60]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 1
jne 0x4eb4ae
dec ecx
sub edx, 4
test ecx, ecx
jge 0x4eb47d
jmp 0x4eb4e4
mov ecx, dword [esi + ecx*4]
fld qword [ecx + 0x1d8]
fld qword [esp + 0x14]
fsub qword [esp + 0x60]
fxch st(1)
fadd qword [esp + 0x60]
fsub qword [esp + 0x14]
fcompp
fnstsw ax
test ah, 1
je 0x4eb4e4
fld qword [ecx + 0x1d8]
fadd qword [esp + 0x60]
inc dword [esp + 0x5c]
fstp qword [esp + 0x60]
mov ecx, dword [esi]
sub esp, 0x20
lea esi, [esp + 0x68]
mov edi, esp
mov edx, dword [ecx + 0x1b0]
mov ecx, 8
mov eax, dword [edx + 0x28]
mov dword [esp + 0x74], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x30]
add ecx, 0x260
call fcn.004eca70
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
inc eax
mov ebx, edx
mov ecx, dword [edx + 0xe4]
mov dword [esp + 0xc], eax
cmp eax, ecx
jl 0x4eb3ca
mov eax, dword [ebx + 0x268]
mov ecx, dword [ebx + 0x264]
push 0x4eb1a0
push 0x20
push eax
push ecx
nop
call fcn.0061f688
xor eax, eax
add esp, 0x10
mov dword [ebx + 0x258], eax
mov dword [ebx + 0x25c], eax
mov edx, dword [ebx + 0x268]
dec edx
mov dword [esp + 0xc], edx
js 0x4eb616
mov ecx, edx
shl ecx, 5
mov dword [esp + 0x1c], ecx
mov eax, dword [ebx + 0x264]
mov esi, dword [ebp + 0xc]
add eax, ecx
mov esi, dword [esi + 4]
mov edi, dword [eax + 8]
mov dword [esp + 0x14], esi
cmp dword [esi + edi*4], 1
jle 0x4eb5f3
mov ecx, 8
mov esi, eax
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + ecx*4]
mov esi, eax
dec ecx
push ecx
mov ecx, 8
sub esp, 0x20
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push edx
lea ecx, [ebx + 0x260]
call fcn.004ecbe0
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x50]
mov eax, dword [edx + 4]
mov edx, dword [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xc]
fild dword [esp + 0x14]
fmul qword [esp + 0x60]
fadd qword [ebx + 0x258]
fstp qword [ebx + 0x258]
jmp 0x4eb602
fld qword [eax + 0x18]
fadd qword [ebx + 0x258]
fstp qword [ebx + 0x258]
dec edx
sub ecx, 0x20
test edx, edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x1c], ecx
jge 0x4eb575
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], 1
call fcn.004ec9f0
lea ecx, [esp + 0x20]
mov dword [esp + 0x70], 0xffffffff
call fcn.004ec9f0
mov ecx, dword [esp + 0x68]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8