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

Disassembly:
sub esp, 0x68
mov eax, dword [0x8815d0]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x78]
push edi
mov dword [esp + 0x18], esi
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push dword [ecx + 0x24]
mov eax, dword [eax + 0x2764]
mov edi, dword [ecx + 0x240]
mov dword [esp + 0x3c], eax
call fcn.004f0eb0
mov ecx, dword [esi]
add esp, 4
mov edx, dword [ecx + 0x244]
cmp eax, edx
cmovb edx, eax
cmp edi, edx
mov dword [esp + 0x2c], edx
mov eax, edx
mov edx, dword [esi + 4]
cmovb eax, edi
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
mov eax, dword [edx + 0x2688]
mov dword [esp + 0x54], eax
cmp dword [ecx + 0x10], 0
je 0x4eaf27
cmp dword [ecx + 0x14], 0
je 0x4eae61
cmp dword [edx + 0x25c8], 0
je 0x4eae61
mov eax, dword [edx + 0x25cc]
xor edx, edx
test eax, eax
sete dl
test eax, eax
mov eax, 0
setne al
jmp 0x4eae68
mov edx, 1
mov eax, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
test eax, eax
je 0x4eaf1e
cmp dword [ecx + 0x1c], 0x20
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
jae 0x4eaec7
xor ebx, ebx
cmp dword [ecx + 0x24], ebx
jbe 0x4eaf1e
mov edi, dword [esi + 4]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov edx, dword [eax + ebx*4]
sub edx, dword [ecx + ebx*4]
mov eax, dword [edi + 0x28]
mov dword [eax + ebx*4], edx
mov edi, dword [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
mov edx, dword [eax + ebx*4]
add edx, dword [ecx + ebx*4]
mov eax, dword [edi + 0x24]
sar edx, 1
mov dword [eax + ebx*4], edx
inc ebx
mov ecx, dword [esi]
cmp ebx, dword [ecx + 0x24]
jb 0x4eae91
jmp 0x4eaf1e
xor ebp, ebp
nop dword [eax]
mov ebx, dword [esi + 4]
mov eax, dword [ebx + 8]
mov eax, dword [eax + ebp*4]
cdq
mov ecx, eax
mov edi, edx
mov eax, dword [ebx + 4]
mov eax, dword [eax + ebp*4]
cdq
sub eax, ecx
mov ecx, dword [ebx + 0x2c]
sbb edx, edi
mov dword [ecx + ebp*8], eax
mov dword [ecx + ebp*8 + 4], edx
mov ebx, dword [esi + 4]
mov eax, dword [ebx + 8]
mov eax, dword [eax + ebp*4]
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [ebx + 4]
mov eax, dword [eax + ebp*4]
cdq
add edi, eax
mov eax, dword [ebx + 0x24]
adc ecx, edx
shrd edi, ecx, 1
mov dword [eax + ebp*4], edi
inc ebp
mov ecx, dword [esi]
cmp ebp, dword [ecx + 0x24]
jbe 0x4eaed0
cmp dword [esp + 0x10], 0
je 0x4eaf8c
jmp 0x4eaf37
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0
xor edi, edi
cmp dword [ecx + 0x18], edi
jbe 0x4eaf8c
xor ebx, ebx
mov eax, dword [esi + 4]
push dword [ecx + 0x24]
push dword [eax + edi*4 + 4]
call fcn.004e8f90
mov ecx, dword [esi]
lea ebx, [ebx + 0x360]
add esp, 8
mov edx, dword [ecx + 0x1c]
cmp eax, edx
cmovbe edx, eax
mov eax, dword [esi + 4]
mov dword [eax + ebx + 0x150], edx
mov eax, dword [esi + 4]
mov dword [eax + ebx - 0x60], edx
mov eax, dword [esi]
mov ecx, dword [eax + 0x1c]
mov eax, dword [esi + 4]
sub ecx, edx
mov dword [eax + edi*4 + 0xdc], ecx
inc edi
mov ecx, dword [esi]
cmp edi, dword [ecx + 0x18]
jb 0x4eaf40
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x4eb0db
xor ebx, ebx
mov edx, 0x24
xor ebp, ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edx
nop dword [eax]
mov eax, dword [esi]
cmp dword [eax + 0x1c], 0x20
jb 0x4eb067
test ebx, ebx
je 0x4eb067
mov ebx, dword [eax + 0x24]
xorps xmm0, xmm0
mov eax, dword [esi + 4]
xor edi, edi
mov dword [esp + 0x1c], ebx
movlpd qword [esp + 0x64], xmm0
mov ecx, dword [eax + edx]
mov ebp, dword [eax + 0x2c]
mov dword [esp + 0x34], ecx
test ebx, ebx
je 0x4eb031
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
nop
mov eax, ecx
and eax, 1
or eax, 0
jne 0x4eb007
or ecx, dword [ebp + edi*8]
or edx, dword [ebp + edi*8 + 4]
inc edi
cmp edi, ebx
jb 0x4eaff0
mov eax, ecx
or eax, edx
je 0x4eb031
mov eax, ecx
xor ebx, ebx
and eax, 1
or eax, ebx
jne 0x4eb061
shrd ecx, edx, 1
inc ebx
mov eax, ecx
sar edx, 1
and eax, 1
or eax, 0
je 0x4eb018
test ebx, ebx
je 0x4eb061
xor edi, edi
jmp 0x4eb03e
xor edi, edi
mov ebx, 1
cmp dword [esp + 0x1c], edi
jbe 0x4eb061
mov esi, dword [esp + 0x34]
mov eax, dword [ebp + edi*8]
mov ecx, ebx
mov edx, dword [ebp + edi*8 + 4]
call fcn.00433b00
inc edi
mov dword [esi], eax
lea esi, [esi + 4]
cmp edi, dword [esp + 0x1c]
jb 0x4eb042
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x28]
jmp 0x4eb07a
push dword [eax + 0x24]
mov eax, dword [esi + 4]
push dword [edx + eax]
call fcn.004e8f90
add esp, 8
mov ebx, eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov edx, dword [ecx + 0x1c]
cmp ebx, edx
cmovbe edx, ebx
mov ebx, dword [esp + 0x20]
mov dword [eax + ebp + 0x1fb0], edx
xor ecx, ecx
mov eax, dword [esi + 4]
test ebx, ebx
setne cl
inc ebx
mov dword [esp + 0x20], ebx
mov dword [eax + ebp + 0x1e00], edx
add ebp, 0x360
mov eax, dword [esi]
mov dword [esp + 0x28], ebp
add ecx, dword [eax + 0x1c]
mov eax, dword [esi + 4]
sub ecx, edx
mov edx, dword [esp + 0x24]
mov dword [edx + eax + 0xd8], ecx
add edx, 4
mov dword [esp + 0x24], edx
cmp edx, 0x2c
jb 0x4eafb0
mov ebp, dword [esp + 0x14]
cmp dword [esp + 0x10], 0
je 0x4eb1a8
mov ecx, dword [esi]
xor edi, edi
cmp dword [ecx + 0x18], edi
jbe 0x4eb1a8
mov edx, dword [esi + 4]
lea ebx, [edi + 1]
nop dword [eax]
cmp dword [ecx + 0x258], 0
je 0x4eb11f
test ebx, ebx
je 0x4eb11f
lea eax, [edi + 1]
cmp eax, dword [ecx + 0x18]
jne 0x4eb11f
mov dword [edx + 0x2764], 1
mov ecx, dword [esi + 4]
lea eax, [edi + 0x964]
lea eax, [ecx + eax*4]
push eax
lea eax, [edi + 0x95a]
lea eax, [ecx + eax*4]
push eax
lea eax, [edi*8 + 0x104]
add eax, ecx
push eax
lea eax, [edi + 0x49d]
lea eax, [ecx + eax*8]
push eax
lea eax, [edi + 0x463]
lea eax, [ecx + eax*8]
push eax
push dword [ecx + edi*4 + 4]
lea eax, [esp + 0x54]
push dword [ecx + edi*4 + 0xdc]
push eax
push dword [esp + 0x4c]
push dword [esp + 0x54]
push esi
call fcn.004ea5a0
add esp, 0x2c
test eax, eax
je 0x4eb2e2
mov edx, dword [esi + 4]
xor ecx, ecx
mov eax, dword [edx + edi*4 + 0x2568]
lea eax, [eax + edi*2]
imul eax, eax, 0x1b0
cmp dword [eax + edx + 0x158], ecx
cmovne ebx, ecx
mov ecx, dword [esi]
inc edi
cmp edi, dword [ecx + 0x18]
jb 0x4eb100
test ebp, ebp
je 0x4eb437
xor ebx, ebx
xor edi, edi
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [esi + 4]
mov ebp, dword [ecx + edi + 0xfc]
cmp ebp, 0x20
ja 0x4eb1d5
mov edx, dword [ecx + edi + 0x24]
jmp 0x4eb1d8
mov edx, dword [ecx + 0x2c]
lea eax, [ecx + 0x25b0]
add eax, edi
push eax
lea eax, [ecx + 0x2588]
add eax, edi
push eax
lea eax, [ecx + 0x144]
add eax, ebx
push eax
lea eax, [ecx + 0x2528]
add eax, ebx
push eax
lea eax, [ecx + 0x2358]
add eax, ebx
push eax
push edx
push ebp
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x4c]
push dword [esp + 0x54]
push esi
call fcn.004ea5a0
add esp, 0x2c
test eax, eax
je 0x4eb2e2
add edi, 4
add ebx, 8
cmp edi, 8
jb 0x4eb1c0
mov eax, dword [esi]
xor ebx, ebx
mov edi, dword [esi + 4]
xor ebp, ebp
mov eax, dword [eax + 0x14]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4eb25b
cmp dword [edi + 0x25c8], ebx
jbe 0x4eb25b
mov edi, dword [edi + 0x25cc]
neg edi
sbb edi, edi
and edi, 3
jmp 0x4eb2bc
mov edx, dword [edi + 0x2594]
mov eax, dword [edi + 0x2590]
mov ecx, dword [edi + 0x25b4]
lea ebx, [eax + edx]
add eax, ecx
mov dword [esp + 0x68], eax
lea eax, [ecx + edx]
mov dword [esp + 0x6c], eax
xor edx, edx
mov eax, dword [edi + 0x25b0]
add eax, ecx
mov dword [esp + 0x64], ebx
xor ecx, ecx
mov dword [esp + 0x70], eax
cmp dword [esp + 0x18], ecx
setne cl
lea ecx, [ecx*2 + 1]
nop
mov eax, dword [esp + ecx*4 + 0x64]
mov edi, ecx
cmp eax, ebx
cmovae edi, edx
inc ecx
cmp eax, ebx
mov edx, edi
cmovae eax, ebx
mov ebx, eax
cmp ecx, 3
jle 0x4eb2a0
xor ebx, ebx
mov eax, dword [esi + 4]
mov dword [esp + 0x48], edi
push dword [eax + 0x25c0]
lea eax, [esp + 0x40]
push eax
call fcn.004fb6f0
add esp, 8
test eax, eax
jne 0x4eb2f7
mov eax, dword [esi]
mov dword [eax], 7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00432bfc
add esp, 0x68
ret
cmp edi, 3
ja case.default.0x4eb300
jmp dword [edi*4 + 0x4eb524]
mov ecx, dword [esi + 4]
imul ebx, dword [ecx + 0x2568], 0x1b0
lea ebp, [ecx + 0x4b8]
imul eax, dword [ecx + 0x256c], 0x1b0
add ebx, 0x158
add ebx, ecx
add ebp, eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xdc]
mov edi, dword [eax + 0xe0]
jmp 0x4eb3f2
mov ecx, dword [esi + 4]
imul ebx, dword [ecx + 0x2568], 0x1b0
lea ebp, [ecx + 0x1fb8]
imul eax, dword [ecx + 0x258c], 0x1b0
add ebx, 0x158
add ebx, ecx
add ebp, eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xdc]
mov edi, dword [eax + 0x100]
jmp 0x4eb3f2
mov ecx, dword [esi + 4]
imul ebx, dword [ecx + 0x258c], 0x1b0
lea ebp, [ecx + 0x4b8]
imul eax, dword [ecx + 0x256c], 0x1b0
add ebx, 0x1fb8
add ebx, ecx
add ebp, eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x100]
mov edi, dword [eax + 0xe0]
jmp 0x4eb3f2
mov ecx, dword [esi + 4]
imul ebx, dword [ecx + 0x2588], 0x1b0
lea ebp, [ecx + 0x1fb8]
imul eax, dword [ecx + 0x258c], 0x1b0
add ebx, 0x1c58
add ebx, ecx
add ebp, eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xfc]
mov edi, dword [eax + 0x100]
jmp 0x4eb3f2
xor ebx, ebx
xor ebp, ebp
xor edi, edi
xor ecx, ecx
mov eax, dword [esi + 4]
push dword [eax + 0x25c0]
push ebx
push ecx
push dword [esp + 0x48]
push esi
call fcn.004e8280
add esp, 0x14
test eax, eax
je 0x4eb2e2
mov eax, dword [esi + 4]
push dword [eax + 0x25c0]
push ebp
push edi
push dword [esp + 0x48]
push esi
call fcn.004e8280
add esp, 0x14
test eax, eax
je 0x4eb2e2
jmp 0x4eb4c4
mov eax, dword [esi + 4]
push dword [eax + 0x25c0]
lea eax, [esp + 0x40]
push eax
call fcn.004fb6f0
mov ecx, dword [esi]
add esp, 8
test eax, eax
jne 0x4eb46c
pop edi
pop esi
pop ebp
mov dword [ecx], 7
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00432bfc
add esp, 0x68
ret
xor edi, edi
cmp dword [ecx + 0x18], edi
jbe 0x4eb4c4
mov ebx, 0xdc
nop dword [eax + eax]
mov ecx, dword [esi + 4]
mov eax, dword [ebx + ecx + 0x248c]
push dword [ecx + 0x25c0]
lea eax, [eax + edi*2]
imul eax, eax, 0x1b0
add eax, 0x158
add eax, ecx
push eax
push dword [ebx + ecx]
push dword [esp + 0x48]
push esi
call fcn.004e8280
add esp, 0x14
test eax, eax
je 0x4eb2e2
mov eax, dword [esi]
inc edi
add ebx, 4
cmp edi, dword [eax + 0x18]
jb 0x4eb480
mov eax, dword [esi]
cmp dword [eax + 0x14], 0
je 0x4eb4f0
mov eax, dword [esi + 4]
inc dword [eax + 0x25c8]
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x25c8]
cmp eax, dword [ecx + 0x25c4]
jb 0x4eb4f0
mov dword [ecx + 0x25c8], 0
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x48]
pop edi
mov dword [ecx + 0x25cc], eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x34]
pop esi
pop ebp
mov dword [eax + 0x2764], ecx
mov eax, 1
mov ecx, dword [esp + 0x68]
pop ebx
xor ecx, esp
call fcn.00432bfc
add esp, 0x68
ret