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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov esi, dword [ebp + 8]
cmp ecx, 0x80
jae 0x1007975b
cmp esi, 8
jae 0x1007982c
test esi, esi
je 0x10079bf9
dec esi
nop dword [eax]
sub esi, 1
setb bl
cmp byte [edx], cl
sete al
je 0x10079bfb
inc edx
test bl, bl
je 0x10079740
jmp 0x10079bfb
mov eax, ecx
cmp ecx, 0x800
mov dword [esp + 0x10], 0
jae 0x10079845
shr eax, 6
and cl, 0x3f
or al, 0xc0
or cl, 0x80
mov byte [esp + 0x10], al
mov eax, 2
mov byte [esp + 0x11], cl
cmp eax, esi
jae 0x100798b8
lea ecx, [esp + 0x10]
lea edi, [esp + 0x40]
push eax
push ecx
push esi
push edx
push edi
call fcn.10182f70
add esp, 0x14
cmp dword [esp + 0x40], 0
je 0x100799f9
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 0x7c]
cmp ecx, 0xffffffff
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], ecx
je 0x10079a48
mov ebx, dword [esp + 0x5c]
xor eax, eax
lea ecx, [ebx + edi - 1]
cmp ecx, edx
jae 0x10079bfb
mov edx, dword [esp + 0x58]
lea eax, [edi - 1]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
sub edi, edx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], eax
neg eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], edx
jmp 0x100798f6
movzx eax, cl
push esi
push edx
push eax
call fcn.101823b0
add esp, 0xc
cmp eax, 1
sete al
jmp 0x10079bfb
cmp ecx, 0x10000
jae 0x1007987c
shr eax, 0xc
or al, 0xe0
mov byte [esp + 0x10], al
mov eax, ecx
and cl, 0x3f
shr eax, 6
or cl, 0x80
and al, 0x3f
or al, 0x80
mov byte [esp + 0x11], al
mov byte [esp + 0x12], cl
mov eax, 3
cmp eax, esi
jb 0x10079791
jmp 0x100798b8
shr eax, 0x12
and al, 7
or al, 0xf0
mov byte [esp + 0x10], al
mov eax, ecx
shr eax, 0xc
and al, 0x3f
or al, 0x80
mov byte [esp + 0x11], al
mov eax, ecx
and cl, 0x3f
shr eax, 6
or cl, 0x80
and al, 0x3f
or al, 0x80
mov byte [esp + 0x12], al
mov byte [esp + 0x13], cl
mov eax, 4
cmp eax, esi
jb 0x10079791
jne 0x10079bf9
lea eax, [esp + 0x10]
push esi
push edx
push eax
call fcn.10193bb4
add esp, 0xc
test eax, eax
sete al
jmp 0x10079bfb
add ebx, dword [esp + 0x14]
mov dword [esp + 8], 0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x18]
lea ecx, [ebx + eax]
cmp ecx, edi
jae 0x10079bf9
mov edx, dword [esp + 0xc]
xor esi, esi
mov eax, 1
mov edi, 1
movzx ecx, byte [edx + ecx]
shld esi, eax, cl
shl edi, cl
test cl, 0x20
mov eax, 0
cmovne esi, edi
cmovne edi, eax
and esi, dword [esp + 0x28]
and edi, dword [esp + 0x2c]
or edi, esi
je 0x100798d7
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
cmp edx, ecx
cmova ecx, edx
add ebx, ecx
lea edi, [eax + ecx]
mov dword [esp + 0x38], ecx
sub esi, ecx
mov ecx, 0
cmovb esi, ecx
nop word cs:[eax + eax]
nop
sub esi, 1
jb 0x10079994
cmp ebx, dword [esp + 4]
jae 0x10079c5d
movzx eax, byte [edi]
mov edx, dword [esp + 0xc]
inc edi
lea ecx, [ebx + 1]
cmp al, byte [edx + ebx]
mov ebx, ecx
je 0x10079960
add ecx, dword [esp + 0x34]
mov dword [esp + 8], 0
mov ebx, ecx
jmp 0x100798e3
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 4]
nop dword [eax]
cmp dword [esp + 8], ecx
mov eax, dword [esp + 0x1c]
jae 0x10079b73
dec ecx
cmp ecx, dword [esp + 0x14]
jae 0x10079c76
lea esi, [ecx + eax]
cmp esi, edi
jae 0x10079c85
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0xc]
movzx edx, byte [eax + ecx]
cmp dl, byte [ebx + esi]
je 0x100799a0
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
add ebx, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
lea ecx, [ebx + eax]
cmp ecx, edi
jb 0x100798f6
jmp 0x10079bf9
cmp byte [esp + 0x4e], 0
jne 0x10079bf9
mov esi, dword [esp + 0x74]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x70]
movzx ebx, byte [esp + 0x4c]
test edx, edx
mov eax, esi
je 0x10079b80
mov eax, esi
sub eax, edx
jbe 0x10079b7a
cmp byte [ecx + edx], 0xc0
jge 0x10079b80
mov edi, ecx
push 0x101b4050
push esi
push edx
push esi
push edi
call fcn.101af790
add esp, 0x14
ud2
mov esi, dword [esp + 0x5c]
lea ecx, [esi + edi - 1]
cmp ecx, edx
jae 0x10079bf9
lea eax, [edi - 1]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
cmp edx, edi
lea ebx, [edx - 1]
mov dword [esp + 8], edx
mov dword [esp + 0x2c], eax
mov eax, edi
cmova eax, edx
cmp ebx, edi
mov dword [esp + 0x1c], eax
mov eax, edx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
jae 0x10079ca3
mov eax, dword [esp + 0x58]
mov dword [esp + 0x18], eax
jmp 0x10079ab0
mov ebx, dword [esp + 4]
add esi, edi
mov eax, dword [esp + 0x20]
lea ecx, [esi + eax]
xor eax, eax
cmp ecx, ebx
jae 0x10079bfb
mov ebx, dword [esp + 0xc]
xor eax, eax
mov edx, 1
movzx ecx, byte [ebx + ecx]
shld eax, edx, cl
shl edx, cl
test cl, 0x20
mov ecx, 0
cmovne eax, edx
cmovne edx, ecx
and eax, dword [esp + 0x28]
and edx, dword [esp + 0x2c]
or edx, eax
je 0x10079a99
mov edx, dword [esp + 8]
lea ecx, [ebx + esi]
mov ebx, dword [esp + 4]
mov eax, esi
neg eax
mov edi, edx
nop
cmp dword [esp + 0x1c], edi
je 0x10079b23
lea edx, [esi + edi]
cmp edx, ebx
jae 0x10079d6b
mov edx, dword [esp + 0x24]
dec eax
movzx edx, byte [edx + edi]
cmp dl, byte [ecx + edi]
mov edx, dword [esp + 8]
lea edi, [edi + 1]
je 0x10079af0
mov edi, dword [esp + 0x14]
neg eax
mov esi, eax
jmp 0x10079a9f
mov ecx, dword [esp + 0xc]
lea eax, [esi - 1]
mov ebx, edx
mov edi, edx
lea ecx, [ecx + esi - 1]
nop word cs:[eax + eax]
nop dword [eax]
sub edi, 1
jb 0x10079b73
lea edx, [eax + ebx]
cmp edx, dword [esp + 4]
jae 0x10079c90
mov edx, dword [esp + 0x24]
movzx edx, byte [edx + ebx - 1]
cmp dl, byte [ecx + ebx]
mov ebx, edi
je 0x10079b40
add esi, dword [esp + 0x18]
mov ebx, dword [esp + 4]
mov edi, dword [esp + 0x14]
jmp 0x10079a9f
mov al, 1
jmp 0x10079bfb
jne 0x10079a33
test eax, eax
je 0x10079bd1
mov bh, byte [ecx + edx]
movzx edi, bh
test bh, bh
jns 0x10079beb
mov eax, ecx
movzx ecx, byte [ecx + edx + 1]
and edi, 0x1f
and ecx, 0x3f
cmp bh, 0xe0
jb 0x10079bd9
mov dword [esp + 0xc], eax
movzx eax, byte [eax + edx + 2]
shl ecx, 6
and eax, 0x3f
or eax, ecx
cmp bh, 0xf0
jb 0x10079be2
mov ecx, dword [esp + 0xc]
and edi, 7
shl eax, 6
shl edi, 0x12
movzx ecx, byte [ecx + edx + 3]
and ecx, 0x3f
or ecx, eax
or edi, ecx
jmp 0x10079be7
mov al, 1
test bl, bl
jne 0x10079bfb
jmp 0x10079bf9
shl edi, 6
or edi, ecx
mov ecx, eax
jmp 0x10079beb
shl edi, 0xc
or edi, eax
mov ecx, dword [esp + 0xc]
mov al, 1
test bl, bl
jne 0x10079bfb
cmp edi, 0x110000
jne 0x10079c03
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, 1
cmp edi, 0x80
jb 0x10079c2b
mov ebx, 2
cmp edi, 0x800
jb 0x10079c2b
cmp edi, 0x10000
mov ebx, 4
sbb ebx, 0
mov edi, ecx
add edx, ebx
je 0x10079c42
mov ecx, esi
sub ecx, edx
jbe 0x10079c46
cmp byte [edi + edx], 0xc0
jge 0x10079c4c
jmp 0x10079a35
mov ecx, esi
jmp 0x10079c4c
jne 0x10079a35
test ecx, ecx
je 0x10079bfb
movzx ecx, byte [edi + edx]
test cl, cl
jns 0x10079bfb
cmp cl, 0xe0
jmp 0x10079bfb
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 4]
add ecx, dword [esp + 0x38]
cmp eax, ecx
cmova ecx, eax
push 0x101b3fc4
push eax
jmp 0x10079c7f
push 0x101b3fd4
push dword [esp + 0x18]
push ecx
jmp 0x10079d7b
push 0x101b3fe4
push edi
jmp 0x10079d7a
lea eax, [esi + ebx - 1]
push 0x101b3fe4
push dword [esp + 8]
push eax
jmp 0x10079d7b
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc]
mov edx, 1
movzx ecx, byte [eax + ecx]
xor eax, eax
shld eax, edx, cl
shl edx, cl
test cl, 0x20
mov ecx, 0
cmovne eax, edx
cmovne edx, ecx
mov ecx, dword [esp + 0x1c]
and eax, dword [esp + 0x28]
and edx, dword [esp + 0x2c]
or edx, eax
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
mov edx, esi
je 0x10079d30
mov edi, dword [esp + 8]
mov dword [esp + 0x38], ecx
cmp edi, ecx
je 0x10079d50
mov eax, edi
mov edi, edx
add edx, eax
cmp edx, dword [esp + 4]
jae 0x10079d67
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx + eax]
inc ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x34], dl
mov edx, dword [esp + 0x30]
movzx eax, byte [esp + 0x34]
dec ecx
cmp al, byte [edx + edi]
lea eax, [edi + 1]
mov edx, eax
je 0x10079ced
jmp 0x10079d36
add esi, dword [esp + 0x14]
mov eax, esi
mov esi, eax
mov eax, dword [esp + 0x20]
lea ecx, [esi + eax]
xor eax, eax
cmp ecx, dword [esp + 4]
jb 0x10079cb1
jmp 0x10079bfb
mov ecx, dword [esp + 0x14]
mov al, 1
test edi, edi
je 0x10079bfb
push 0x101b3fd4
push ecx
push ebx
jmp 0x10079d7b
mov ebx, dword [esp + 4]
add esi, dword [esp + 8]
cmp ebx, esi
cmova esi, ebx
push 0x101b3fc4
push ebx
push esi
call fcn.101af280
add esp, 0xc
ud2