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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, ecx
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 8], ecx
mov ecx, ebx
mov dword [esp + 0x3c], ebx
mov dword [eax + 0xc], edx
call fcn.004c5f30
mov esi, dword [ebx + 0x278]
mov edx, dword [ebx + 0x27c]
mov eax, dword [ebx + 0x280]
mov ecx, dword [ebx + 0x284]
add esi, dword [ebx + 0x65c]
add edx, dword [ebx + 0x660]
sub eax, dword [ebx + 0x664]
sub ecx, dword [ebx + 0x668]
cmp dword [ebx + 0x654], 0
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ecx
je 0x4ed30f
sub eax, esi
sub ecx, edx
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x20], ecx
xor ecx, ecx
xor edi, edi
cmp dword [ebx + 0x654], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
jle 0x4ed060
mov eax, dword [ebx + 0x650]
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + ecx*4]
mov edx, dword [esi]
mov eax, dword [edx + 0xc0]
mov ecx, esi
call eax
test al, al
je 0x4ed042
mov edx, dword [esi]
mov eax, dword [edx + 0xf4]
mov ecx, esi
call eax
test al, al
jne 0x4ed042
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
mov edx, dword [edx + 0x134]
push eax
push ecx
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call edx
cmp dword [esp + 0x30], 0
jne 0x4ecfd5
inc dword [esp + 0xc]
jmp 0x4ed00d
mov eax, dword [esi]
mov edx, dword [eax + 0x68]
mov ecx, esi
call edx
cmp dword [esp + 0x30], eax
jge 0x4ecff1
mov eax, dword [esi]
mov edx, dword [eax + 0x68]
mov ecx, esi
call edx
mov dword [esp + 0x30], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x70]
mov ecx, esi
call edx
cmp dword [esp + 0x30], eax
jle 0x4ed00d
mov eax, dword [esi]
mov edx, dword [eax + 0x70]
mov ecx, esi
call edx
mov dword [esp + 0x30], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call edx
add eax, 8
mov dword [esp + 0x28], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
add edx, dword [eax]
add edx, dword [esp + 0x30]
add edi, edx
inc dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [ebx + 0x654]
mov dword [esp + 0x10], eax
jl 0x4ecf78
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
xor eax, eax
mov edx, dword [esp + 0x14]
dec edx
imul edx, dword [ebx + 0x66c]
add edi, edx
cmp ecx, eax
mov dword [esp + 0x24], eax
jle 0x4ed08f
mov eax, dword [esp + 0x1c]
sub eax, edi
cdq
idiv ecx
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and ecx, eax
mov dword [esp + 0x24], ecx
xor eax, eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], edx
mov edx, dword [ebx]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x38]
mov ecx, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edi
call eax
mov edx, dword [ebx]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x24]
mov ecx, ebx
call eax
test eax, eax
je 0x4ed0e2
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x224]
call eax
test eax, eax
je 0x4ed0e2
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x38]
call eax
sub dword [esp + 0x14], eax
xor edi, edi
cmp dword [ebx + 0x654], edi
mov dword [esp + 0x28], edi
jle 0x4ed30f
mov ecx, dword [ebx + 0x650]
mov esi, dword [ecx + edi*4]
mov edx, dword [esi]
mov eax, dword [edx + 0xc0]
mov ecx, esi
call eax
test al, al
je 0x4ed2fe
mov edx, dword [esi]
mov eax, dword [edx + 0xf4]
mov ecx, esi
call eax
test al, al
je 0x4ed133
mov edx, dword [ebx]
mov eax, dword [edx + 0x22c]
push edi
mov ecx, ebx
call eax
jmp 0x4ed2fe
mov edx, dword [esi]
mov edx, dword [edx + 0x48]
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x48]
cmp byte [ebx + 0x6a4], 0
mov dword [esp + 0x30], eax
je 0x4ed16f
fild dword [esi + 0x998]
fimul dword [esp + 0x14]
fdiv qword [0x54dbc8]
call fcn.00528350
mov edi, eax
jmp 0x4ed18f
mov ecx, dword [esp + 0x34]
mov edx, dword [esi]
mov edx, dword [edx + 0x134]
push ecx
push eax
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call edx
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
test edi, edi
jne 0x4ed1f1
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0xc]
jne 0x4ed1bf
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x50]
mov ecx, 0
sub eax, dword [esp + 0x10]
sets cl
dec ecx
and ecx, eax
mov edi, ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
cmp edi, eax
jge 0x4ed1d7
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
mov edi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
cmp edi, eax
jle 0x4ed225
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
mov edi, eax
jmp 0x4ed225
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
cmp edi, eax
jge 0x4ed209
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
mov edi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
cmp edi, eax
jle 0x4ed221
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
mov edi, eax
sub dword [esp + 0x10], edi
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
mov ecx, esi
call eax
mov ebx, eax
test ebx, ebx
jne 0x4ed244
mov ebx, dword [ebp + 0x14]
sub ebx, dword [esp + 0x54]
sub ebx, dword [esp + 0x4c]
sub ebx, dword [ebp + 0xc]
test ebx, ebx
jge 0x4ed248
xor ebx, ebx
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
mov ecx, esi
call eax
cmp ebx, eax
jge 0x4ed260
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
mov ecx, esi
call eax
mov ebx, eax
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
cmp ebx, eax
jle 0x4ed27e
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
mov ebx, eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x48]
mov eax, dword [ebp + 0xc]
add edx, ecx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x4c]
add edx, eax
mov eax, dword [esp + 0x50]
add eax, edi
add eax, dword [esp + 0x48]
sub esp, 0x10
add eax, ecx
mov ecx, dword [esp + 0x5c]
add ecx, ebx
add ecx, dword [ebp + 0xc]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x74], ecx
mov ecx, esp
mov dword [ecx], ebx
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x6c]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x74]
mov dword [ecx + 0xc], eax
mov ecx, esi
call edx
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x66c]
mov ecx, dword [esp + 0x50]
lea edx, [eax + ecx]
add edx, edi
add edx, dword [esp + 0x48]
add eax, ecx
add dword [esp + 0x18], edx
add eax, edi
sub dword [esp + 0x30], eax
mov edi, dword [esp + 0x28]
inc edi
cmp edi, dword [ebx + 0x654]
mov dword [esp + 0x28], edi
jl 0x4ed0f4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10