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

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x34]
push esi
push edi
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x48]
xor edx, edx
not ecx
dec ecx
mov esi, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, edx
mov ebx, ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], ebx
je 0x100061e1
cmp ebx, esi
jg 0x100061e1
cmp ebx, edx
jne 0x10005f26
push ebp
call fcn.10005e90
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], edx
cmp eax, edx
mov dword [esp + 0x1c], edx
je 0x10005f4c
mov edi, dword [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x24], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x68]
mov ecx, 1
cmp eax, edx
je 0x10005f5d
mov ecx, dword [esp + 0x60]
cmp dword [esp + 0x74], edx
jne 0x10005f6d
mov dword [esp + 0x18], 0x7fffffff
jmp 0x10005f75
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, esi
sub eax, ebx
cmp ecx, eax
jg 0x10006027
cmp dword [esp + 0x18], edx
jle 0x10006027
cmp ecx, edx
jle 0x10006027
lea ecx, [ecx + ebp - 1]
lea eax, [eax + ebp + 1]
mov dword [esp + 0x2c], ecx
mov esi, ecx
mov ecx, dword [esp + 0x78]
xor edi, edi
cmp ecx, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
je 0x10005fea
cmp esi, eax
jae 0x10006027
mov ecx, dword [esp + 0x48]
push ebx
push ecx
push esi
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x10005fd7
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
je 0x1000601f
add esi, ebx
jmp 0x10005fe2
cmp byte [esi], 0
jge 0x10005fe1
add esi, 2
jmp 0x10005fe2
inc esi
cmp esi, dword [esp + 0x14]
jb 0x10005fb7
jmp 0x1000601f
cmp esi, eax
jae 0x10006027
mov edx, dword [esp + 0x48]
push ebx
push edx
push esi
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x1000600e
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
je 0x1000601f
add esi, ebx
jmp 0x10006019
cmp byte [esi], 0
jge 0x10006018
add esi, 2
jmp 0x10006019
inc esi
cmp esi, dword [esp + 0x14]
jb 0x10005fee
test edi, edi
mov dword [esp + 0x10], edi
jne 0x10006038
push ebp
call fcn.10005e90
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
sub eax, ebx
imul eax, edi
add eax, esi
mov dword [esp + 0x30], eax
inc eax
push eax
call fcn.10005880
mov edi, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov esi, eax
mov eax, dword [esp + 0x7c]
add esp, 4
test eax, eax
mov eax, dword [esp + 0x14]
je 0x1000610f
cmp edi, eax
jae 0x100061cd
mov eax, dword [esp + 0x48]
push ebx
push eax
push edi
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x100060d1
mov ebx, edi
sub ebx, ebp
push ebx
push ebp
push esi
call sub.MSVCRT.dll_strncpy
mov eax, dword [esp + 0x30]
add esi, ebx
add esp, 0xc
test eax, eax
mov byte [esi], 0
je 0x100060ba
mov ebx, dword [esp + 0x1c]
push ebx
push eax
push esi
call sub.MSVCRT.dll_strncpy
add esp, 0xc
add esi, ebx
mov byte [esi], 0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
add edi, ecx
dec eax
mov ebp, edi
mov dword [esp + 0x10], eax
je 0x100060f6
mov ebx, ecx
jmp 0x100060dc
cmp byte [edi], 0
jge 0x100060db
add edi, 2
jmp 0x100060dc
inc edi
cmp edi, dword [esp + 0x14]
jb 0x10006077
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov byte [eax + ecx], 0
pop ebx
add esp, 0x24
ret
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
mov ecx, edi
sub ecx, edx
cmp ecx, eax
jg 0x100061cd
jmp 0x100061a6
cmp edi, eax
jae 0x100061cd
mov eax, dword [esp + 0x48]
push ebx
push eax
push edi
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x10006171
mov ebx, edi
sub ebx, ebp
push ebx
push ebp
push esi
call sub.MSVCRT.dll_strncpy
mov eax, dword [esp + 0x30]
add esi, ebx
add esp, 0xc
test eax, eax
mov byte [esi], 0
je 0x1000615a
mov ebx, dword [esp + 0x1c]
push ebx
push eax
push esi
call sub.MSVCRT.dll_strncpy
add esp, 0xc
add esi, ebx
mov byte [esi], 0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
add edi, ecx
dec eax
mov ebp, edi
mov dword [esp + 0x10], eax
je 0x10006196
mov ebx, ecx
jmp 0x1000617c
cmp byte [edi], 0
jge 0x1000617b
add edi, 2
jmp 0x1000617c
inc edi
cmp edi, dword [esp + 0x14]
jb 0x10006117
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov byte [eax + ecx], 0
pop ebx
add esp, 0x24
ret
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
mov ecx, edi
sub ecx, edx
cmp ecx, eax
jg 0x100061cd
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x18]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov byte [eax + ecx], 0
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret