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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xb8
mov ebp, dword [esp + 0xcc]
cmp dword [ebp + 4], 0
jne 0x10079c29
mov edi, dword [ebp]
mov eax, dword [ebp + 8]
cmp dword [eax + 4], edi
jbe 0x10079c29
mov dword [esp + 8], edx
mov dword [esp + 0x18], ecx
mov eax, dword [eax]
mov bl, byte [eax + edi]
lea esi, [esp + 0x40]
mov ecx, esi
mov edx, ebp
push 7
call fcn.1007a00e
add esp, 4
cmp byte [esi], 0
je 0x10079c3b
mov bl, byte [esp + 0x41]
mov ecx, dword [esp + 0x18]
mov byte [ecx + 1], bl
mov byte [ecx], 1
jmp 0x10079c2e
mov word [ecx], 1
mov eax, ecx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esp + 4], bl
mov esi, dword [esp + 0x44]
mov dword [esp + 0x68], esi
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov edx, dword [eax + 4]
mov ecx, dword [ebp]
mov ebx, ebp
mov eax, dword [ebp + 4]
xor ebp, ebp
mov dword [esp + 0xc], edx
sub edx, ecx
cmovb edx, ebp
mov dword [esp + 0x10], eax
test eax, eax
cmovne edx, ebp
cmp esi, edx
jbe 0x10079dee
mov eax, dword [0x1017e714]
mov eax, dword [eax]
mov bl, 2
test eax, eax
jne 0x10079c1d
mov edi, ecx
mov al, byte [0x1017de2c]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x10079ea5
movzx eax, al
push eax
push dword [0x1017de24]
call fcn.1008c89d
add esp, 8
test al, al
je 0x10079c1d
mov ebp, dword [0x1017de24]
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x10079fa9
mov esi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 8], eax
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0x10118dd0
mov dword [esp + 0x84], 1
xor eax, eax
mov dword [esp + 0x90], eax
xor eax, eax
mov dword [esp + 0x88], 0x10118728
mov dword [esp + 0x8c], eax
cmp ecx, 1
je 0x10079fa9
mov dword [esp + 4], ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 1
cmp ecx, 2
jbe 0x10079fa9
lea ebp, [esp + 0x98]
mov dword [ebp], esi
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], 2
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
xor edx, edx
sub ecx, edi
cmovb ecx, edx
cmp dword [esp + 0x10], 0
cmovne ecx, edx
lea edx, [esp + 0x28]
mov dword [edx], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], 0x10118c64
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x50], ecx
mov ecx, 0x10118c84
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0xac]
lea eax, [esp + 0x40]
mov dword [ecx], eax
mov eax, dword [esp + 4]
lea edx, [eax + 0x1c]
mov dword [ecx + 4], 3
mov dword [ecx + 8], edx
push ecx
push eax
call fcn.1008cd25
add esp, 8
jmp 0x10079c1d
mov edx, esi
mov esi, ecx
sub esi, edi
cmp byte [esp + 4], 0
js 0x10079e22
add ecx, edx
mov eax, dword [esp + 0x10]
adc eax, 0
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x18]
mov dword [ecx + 4], 0
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x18], edx
mov byte [ecx], 0
jmp 0x10079c2e
mov edi, dword [esp + 0xc]
cmp ecx, edi
mov eax, edi
mov dword [esp + 4], ecx
cmovb eax, ecx
cmp dword [esp + 0x10], 0
cmovne eax, edi
sub edi, eax
cmp edx, edi
ja 0x10079f96
mov ecx, dword [esp + 0x14]
add eax, dword [ecx]
mov ecx, dword [esp + 8]
add ecx, 0x20
lea edi, [esp + 0x2c]
push ecx
mov dword [esp + 0xc], edx
push edx
push eax
push edi
call fcn.10088db9
add esp, 0x10
mov eax, dword [edi]
test eax, eax
mov dword [esp + 0x64], esi
je 0x10079e92
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
test cl, 1
jne 0x10079ec7
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [0x1017e7b4]
mov dword [esp + 0x1c], ecx
jmp 0x10079f29
mov al, 1
mov dword [esp + 0xc], eax
mov al, byte [esp + 0x30]
mov byte [esp + 3], al
jmp 0x10079f31
test ecx, ecx
je 0x10079c1d
push 0x1017de24
call fcn.100ff6f5
add esp, 4
test al, al
jne 0x10079c98
jmp 0x10079c1d
shr ecx, 5
lea edi, [esp + 0x6c]
push ecx
push dword [esp + 0x38]
push edx
push eax
push edi
mov edi, ecx
call fcn.100af1be
add esp, 0x14
lea ebp, [esp + 0x98]
lea eax, [esp + 0x6c]
push eax
push ebp
call fcn.100ae87e
add esp, 8
mov dword [esp + 0x28], edi
mov eax, dword [ebp + 8]
mov ecx, eax
sub ecx, edi
jb 0x10079fba
mov dword [esp + 0x20], ecx
mov eax, edi
add eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + 4]
xor ebp, ebp
mov edx, dword [esp + 4]
sub edi, edx
cmovb edi, ebp
mov ecx, dword [esp + 0x10]
test ecx, ecx
cmovne edi, ebp
mov esi, dword [esp + 8]
cmp edi, esi
jb 0x10079fa2
add edx, esi
mov dword [ebx], edx
adc ecx, 0
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov byte [ecx], dl
mov dl, byte [esp + 3]
mov byte [ecx + 1], dl
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], esi
jmp 0x10079c2e
push 0x10118d98
push edi
push edx
call fcn.10101620
push edi
push esi
call fcn.1010042a
push 0x10118da8
push 0x22
push 0x10118c02
call fcn.10101180
lea ecx, [esp + 0xac]
mov dword [ecx], eax
lea eax, [esp + 0x28]
lea edx, [esp + 0x80]
mov dword [edx], eax
mov eax, 0x1000134d
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
mov dword [esp + 0x40], 0x10118990
mov eax, 2
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
push 0x101189b8
lea eax, [esp + 0x44]
push eax
call fcn.101011a0