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

Disassembly:
push 0xffffffffffffffff
push 0x68c9c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [esp + 0x50]
push esi
mov esi, ecx
cmp eax, 5
mov dword [esp + 8], esi
jge 0x4eb035
mov ecx, dword [esp + 0x58]
cmp ecx, 7
jge 0x4eb035
push ebx
mov dword [esi + 0xe0], ecx
xor ebx, ebx
lea ecx, [esi + 0x108]
push ebp
push edi
mov dword [esi + 0xdc], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
jmp 0x4eac02
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], eax
je 0x4eac30
mov esi, dword [esp + 0x1c]
mov ebp, 7
mov edi, 6
mov eax, dword [esi]
test eax, eax
je 0x4eac25
mov ecx, dword [eax]
push 0
mov edx, dword [ecx]
call dword [edx + 0x3c]
add esi, 4
dec edi
jne 0x4eac16
dec ebp
jne 0x4eac11
jmp 0x4eac81
xor ebp, ebp
jmp 0x4eac38
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x64]
mov edi, 6
cmp ebp, eax
lea eax, [ebx + ebp + 0xb]
lea eax, [eax + eax*2]
lea esi, [esi + eax*8]
je 0x4eac66
mov eax, dword [esi]
test eax, eax
je 0x4eac5e
mov ecx, dword [eax]
push 0
mov edx, dword [ecx]
call dword [edx + 0x3c]
add esi, 4
dec edi
jne 0x4eac4f
jmp 0x4eac7b
mov eax, dword [esi]
test eax, eax
je 0x4eac75
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
call dword [edx + 0x3c]
add esi, 4
dec edi
jne 0x4eac66
inc ebp
cmp ebp, 7
jl 0x4eac34
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add ebx, 7
inc esi
add edx, 0xa8
cmp ebx, 0x23
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edx
jl 0x4eabfa
mov al, byte [esp + 0x64]
xor ebx, ebx
mov byte [esp + 0x20], al
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x14]
mov edi, 0x6d5744
mov eax, dword [ecx + 0xdc]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ecx + 0xe0]
lea eax, [edx + eax + 0xb]
lea edx, [eax + eax*2]
lea eax, [ebx + edx*2]
cmp dword [ecx + eax*4], 0
je 0x4eae04
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x24]
push ebp
call fcn.00403350
test al, al
je 0x4ead31
mov edi, dword [esp + 0x24]
mov ecx, ebp
mov edx, ecx
mov esi, 0x6d5744
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], ebp
mov byte [eax + ebp], 0
push ebx
lea ecx, [esp + 0x14]
push 0x6d3a54
push ecx
call fcn.0067429f
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [0x6a3564]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [esp + 0x28]
sub edx, ecx
cmp edx, esi
ja 0x4ead69
call fcn.006713ab
test esi, esi
jbe 0x4eadaf
mov eax, dword [esp + 0x28]
push 0
lea ecx, [esp + 0x24]
lea ebp, [eax + esi]
push ebp
call fcn.00403350
test al, al
je 0x4eadaf
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
lea esi, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ebp
mov byte [ecx + ebp], 0
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.00402320
mov esi, eax
test esi, esi
je 0x4eaedd
mov eax, dword [edi + 0xdc]
mov edx, dword [esi]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0xe0]
lea eax, [ecx + eax + 0xb]
lea ecx, [eax + eax*2]
lea eax, [ebx + ecx*2]
mov ecx, dword [edi + eax*4]
mov eax, dword [ecx + 0x30]
mov ecx, esi
add eax, 0x14
push eax
call dword [edx + 0x78]
mov edx, dword [esi]
push 1
mov ecx, esi
jmp 0x4eaeda
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x24]
push ebp
call fcn.00403350
test al, al
je 0x4eae45
mov edi, dword [esp + 0x24]
mov ecx, ebp
mov eax, ecx
mov esi, 0x6d5744
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ebp
mov byte [ecx + ebp], 0
push ebx
lea edx, [esp + 0x14]
push 0x6d3a54
push edx
call fcn.0067429f
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [0x6a3564]
mov edx, dword [esp + 0x28]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x4eae7c
call fcn.006713ab
test esi, esi
jbe 0x4eaec2
mov ecx, dword [esp + 0x28]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x24]
push ebp
call fcn.00403350
test al, al
je 0x4eaec2
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, esi
lea esi, [esp + 0x10]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], ebp
mov byte [eax + ebp], 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00402320
test eax, eax
je 0x4eaedd
mov edx, dword [eax]
push 0
mov ecx, eax
call dword [edx + 0x3c]
inc ebx
cmp ebx, 6
jl 0x4eacbe
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.004e7ce0
mov al, byte [esp + 0x64]
mov edi, 0x6d4e54
mov byte [esp + 0x30], al
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x34], ebx
push ecx
push 0x6d4e54
lea ecx, [esp + 0x38]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.004083a0
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 1
push ecx
mov ecx, esi
call fcn.00402320
mov esi, eax
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov byte [esp + 0x58], bl
je 0x4eaf62
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4eaf59
cmp al, 0xff
je 0x4eaf59
dec al
mov byte [ecx], al
jmp 0x4eaf62
push ecx
call fcn.006713a0
add esp, 4
mov edx, dword [esp + 0x64]
lea eax, [esp + 0x10]
inc edx
mov dword [esp + 0x34], ebx
push edx
push 0x6d3a54
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.0067429f
add esp, 0xc
cmp esi, ebx
je 0x4eaff6
mov cl, byte [esp + 0x64]
lea edi, [esp + 0x10]
mov byte [esp + 0x40], cl
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x44], ebx
push ecx
push edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.004083a0
mov eax, dword [esi]
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
mov byte [esp + 0x5c], 2
call dword [eax + 0x78]
mov eax, dword [esp + 0x44]
mov byte [esp + 0x58], 0
cmp eax, ebx
je 0x4eaff6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4eafed
cmp al, 0xff
je 0x4eafed
dec al
mov byte [ecx], al
jmp 0x4eaff6
push ecx
call fcn.006713a0
add esp, 4
mov ecx, dword [esp + 0x24]
pop edi
pop ebp
cmp ecx, ebx
mov dword [esp + 0x50], 0xffffffff
pop ebx
je 0x4eb035
mov al, byte [ecx - 1]
test al, al
je 0x4eb02b
cmp al, 0xff
je 0x4eb02b
dec al
pop esi
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 8
dec ecx
push ecx
call fcn.006713a0
add esp, 4
mov ecx, dword [esp + 0x44]
pop esi
mov dword fs:[0], ecx
add esp, 0x4c
ret 8