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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x8c
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
cmp eax, 5
jle 0x79dffe
mov ebp, 0xf
cmp eax, 0x64
jg 0x79e0f7
mov ecx, 1
cmp eax, 9
jle 0x79dff1
sub eax, 9
imul eax, eax
imul ecx, eax, 0x27
mov edx, dword [ebx]
sub esp, 8
push ecx
push edx
call dword [edx + 0x3c]
add esp, 0x10
mov eax, dword [esp + 4]
test eax, eax
je 0x79e104
mov eax, dword [ebx + 0x20]
xor ebp, ebp
mov eax, dword [eax]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
xor esi, esi
lea edi, [eax + 0x64]
lea ecx, [eax + 0x68]
mov eax, 1
mov dword [esp + 0xc], edi
xor edi, edi
mov edx, dword [ecx]
cmp edx, esi
jb 0x79e043
cmp dword [esp + 4], edx
cmovae edi, eax
cmovae esi, edx
add eax, 1
add ecx, 4
cmp eax, 5
jne 0x79e033
test byte [ebx + 0x2e], 2
jne 0x79e1e0
cmp esi, dword [esp + 4]
jb 0x79e200
test edi, edi
lea ecx, [edi + 3]
sete al
mov dword [esp + 0x10], ecx
test al, al
jne 0x79e200
movzx edx, byte [ebx + 0x2b]
mov eax, dword [ebx + 4]
test dl, dl
jne 0x79e266
mov edx, dword [esp + 0x10]
call fcn.0076c4c0
mov ebp, eax
test eax, eax
jne 0x79e272
mov ecx, dword [esp + 0xc]
mov eax, dword [ebx + 4]
movzx edx, byte [ebx + 0x2b]
lea ecx, [ecx + edi*4]
mov ebp, dword [esp + 8]
mov ebp, dword [ebp + 0x60]
add ebp, 1
mov dword [ebx + 0x64], ebp
cmp dl, 2
je 0x79e320
mov dword [esp + 4], ecx
call fcn.0076c190
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
cmp eax, esi
jne 0x79e680
sub esp, 4
lea eax, [ebx + 0x34]
push 0x30
push eax
mov eax, dword [ebx + 0x20]
push dword [eax]
call sub.msvcrt.dll_memcmp
add esp, 0x10
mov ebp, eax
test eax, eax
jne 0x79e680
mov word [ebx + 0x28], di
add esp, 0x8c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [ebx + 0x32], 0
je 0x79e290
cmp byte [ebx + 0x2b], 0
mov eax, dword [ebx + 4]
jne 0x79e130
mov edx, 3
call fcn.0076c4c0
mov ebp, eax
test eax, eax
jne 0x79e665
mov eax, dword [ebx + 4]
nop
sub esp, 0xc
mov edx, dword [eax]
xor edi, edi
lea ecx, [esp + 0x58]
mov word [ebx + 0x28], di
push ecx
push 0
push 0x8000
push 0
push eax
call dword [edx + 0x34]
mov ebp, eax
add esp, 0x20
cmp eax, 0x508
je 0x79e424
mov dword [esp + 0xc], 0
cmp eax, 8
je 0x79e3ec
sub esp, 0xc
push dword [esp + 0x18]
call fcn.007677d0
add esp, 0x10
test ebp, ebp
je 0x79e0f7
mov edx, dword [ebx + 0x18]
test edx, edx
jle 0x79e1c4
mov eax, dword [ebx + 0x20]
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
lea esi, [esi]
nop
sub esp, 0xc
push dword [eax + esi*4]
call fcn.007677d0
mov eax, dword [ebx + 0x20]
add esp, 0x10
mov dword [eax + esi*4], 0
add esi, 1
cmp esi, dword [ebx + 0x18]
jl 0x79e1a0
mov dword [esp + 8], edi
mov byte [ebx + 0x32], 0
mov eax, ebx
call fcn.0076c640
mov eax, dword [esp + 8]
mov dword [eax], 1
jmp 0x79e0f7
test edi, edi
jne 0x79e250
cmp ebp, 5
je 0x79e27b
add esp, 0x8c
mov ebp, 0x508
pop ebx
mov eax, ebp
pop esi
pop edi
pop ebp
ret
mov eax, 1
mov dword [esp + 0x10], esi
mov esi, eax
cmp byte [ebx + 0x2b], 0
lea ebp, [esi + 3]
mov eax, dword [ebx + 4]
jne 0x79e330
mov ecx, 1
mov edx, ebp
call fcn.0076c500
test eax, eax
je 0x79e69b
cmp eax, 5
jne 0x79e6a9
add esi, 1
cmp esi, 5
jne 0x79e20b
mov esi, dword [esp + 0x10]
test edi, edi
je 0x79e27b
lea esi, [esi]
nop
movzx edx, byte [ebx + 0x2b]
lea eax, [edi + 3]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
test dl, dl
je 0x79e085
mov ecx, dword [esp + 0xc]
lea ecx, [ecx + edi*4]
jmp 0x79e0a6
cmp eax, 5
jne 0x79e0f7
add esp, 0x8c
mov ebp, 0xffffffff
pop ebx
mov eax, ebp
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.0079d9e0
mov ebp, eax
cmp eax, 5
je 0x79e362
test eax, eax
jne 0x79e0f7
cmp byte [ebx + 0x32], 0
jne 0x79e10e
mov eax, dword [ebx + 0x20]
mov edi, dword [ebx + 0x44]
mov eax, dword [eax]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [eax + 0x60]
cmp eax, edi
jne 0x79e01c
movzx edx, byte [ebx + 0x2b]
mov eax, dword [ebx + 4]
test dl, dl
jne 0x79e3d0
mov edx, 3
call fcn.0076c4c0
cmp byte [ebx + 0x2b], 2
mov esi, eax
je 0x79e2fc
mov eax, dword [ebx + 4]
call fcn.0076c190
test esi, esi
je 0x79e3a0
mov ebp, esi
cmp esi, 5
jne 0x79e0f7
mov eax, dword [ebx + 0x44]
mov dword [esp + 4], eax
jmp 0x79e01c
mov eax, dword [ecx]
cmp esi, eax
je 0x79e0d3
jmp 0x79e27b
mov dword [esp + 0x10], ebp
mov edi, esi
mov esi, dword [esp + 0xc]
lea ecx, [esi + edi*4]
mov esi, dword [esp + 4]
mov dword [ecx], esi
movzx edx, byte [ebx + 0x2b]
test dl, dl
jne 0x79e3e3
mov edx, dword [esp + 0x10]
mov ecx, 1
call fcn.0076c580
jmp 0x79e076
mov eax, dword [ebx + 0x20]
mov ebp, dword [eax]
test ebp, ebp
je 0x79e27b
cmp byte [ebx + 0x2b], 0
jne 0x79e27b
mov eax, dword [ebx + 4]
mov edx, 2
call fcn.0076c4c0
mov ebp, eax
test eax, eax
je 0x79e403
cmp eax, 5
mov eax, 0x105
cmove ebp, eax
jmp 0x79e0f7
lea esi, [ebx + 0x34]
mov eax, dword [ebx + 0x20]
sub esp, 4
push 0x30
push esi
push dword [eax]
call sub.msvcrt.dll_memcmp
add esp, 0x10
test eax, eax
jne 0x79e6ee
xor eax, eax
mov word [ebx + 0x28], ax
jmp 0x79e0f7
lea esi, [ebx + 0x34]
cmp dl, 2
je 0x79e646
call fcn.0076c190
jmp 0x79e3a3
mov esi, dword [esp + 4]
jmp 0x79e0a6
sub esp, 0xc
mov ebp, 0xffffffff
push 0
call fcn.007677d0
add esp, 0x10
jmp 0x79e185
cmp byte [ebx + 0x2b], 0
mov eax, dword [ebx + 4]
jne 0x79e27b
mov edx, 2
mov ebp, 0xffffffff
call fcn.0076c4e0
jmp 0x79e0f7
mov eax, dword [ebx + 0x20]
sub esp, 8
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebx + 0x34], ecx
mov ecx, dword [eax + 4]
mov dword [ebx + 0x38], ecx
mov ecx, dword [eax + 8]
mov dword [ebx + 0x3c], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebx + 0x40], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebx + 0x44], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebx + 0x48], ecx
mov ecx, dword [eax + 0x18]
mov dword [ebx + 0x4c], ecx
mov ecx, dword [eax + 0x1c]
mov dword [ebx + 0x50], ecx
mov ecx, dword [eax + 0x20]
mov dword [ebx + 0x54], ecx
mov ecx, dword [eax + 0x24]
mov dword [ebx + 0x58], ecx
mov ecx, dword [eax + 0x28]
mov dword [ebx + 0x5c], ecx
mov eax, dword [eax + 0x2c]
lea ecx, [esp + 0x60]
mov dword [ebx + 0x60], eax
mov eax, dword [ebx + 8]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x18]
mov ebp, eax
add esp, 0x10
test eax, eax
jne 0x79e66e
mov eax, 0x1f
cmp eax, dword [esp + 0x58]
mov eax, ebp
sbb eax, dword [esp + 0x5c]
jge 0x79e6b0
mov eax, dword [ebx + 8]
sub esp, 0xc
mov edx, dword [eax]
push 0
push 0
push 0x20
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [edx + 8]
mov ebp, eax
add esp, 0x20
test eax, eax
jne 0x79e66e
mov esi, dword [esp + 0x70]
cmp dword [ebx + 0x54], esi
jne 0x79e3ec
mov esi, dword [esp + 0x74]
cmp dword [ebx + 0x58], esi
jne 0x79e3ec
movzx eax, word [ebx + 0x42]
mov esi, eax
call fcn.0077b440
mov ebp, eax
test eax, eax
jne 0x79e6d7
movzx eax, si
add eax, 0x18
cdq
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.00767320
mov edi, eax
mov dword [esp + 0xc], eax
test eax, eax
je 0x79e6d7
add edi, 0x18
movzx eax, word [ebx + 0x42]
mov esi, dword [ebx + 0x44]
mov dword [esp + 0x1c], edi
mov edi, dword [ebx + 0x4c]
mov dword [esp + 0x30], edi
mov edi, dword [ebx + 0x50]
mov dword [esp + 0x34], edi
lea edi, [eax + 0x18]
mov eax, esi
mov dword [esp + 0x20], edi
mov ecx, edi
mov edi, dword [esp + 0x20]
sar ecx, 0x1f
mul edi
mov edi, dword [esp + 0x14]
imul ecx, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], edx
add dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x2c]
add eax, 0x20
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x38], eax
adc edx, 0
add esi, eax
adc edi, edx
cmp dword [esp + 0x58], esi
mov dword [esp + 0x20], esi
sbb ecx, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x3c], edx
jl 0x79e715
mov edx, 0xffffffff
mov eax, 0xffffffe0
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov ecx, edx
mov edx, eax
sub edx, dword [esp + 0x28]
sbb ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
jmp 0x79e614
sub esp, 8
mov eax, ebx
push dword [esp + 0x14]
push dword [esp + 0x28]
lea ecx, [esp + 0x64]
lea edx, [esp + 0x60]
call fcn.00766630
add esp, 0x10
test eax, eax
je 0x79e633
mov ecx, dword [esp + 0x54]
test ecx, ecx
jne 0x79e70d
add esi, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
adc edi, dword [esp + 0x14]
add eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
adc edx, dword [esp + 0x24]
add eax, esi
adc edx, edi
cmp dword [esp + 0x58], eax
mov eax, dword [esp + 0x5c]
mov ecx, edx
sbb eax, ecx
jl 0x79e633
mov eax, dword [ebx + 8]
sub esp, 0xc
mov edx, dword [eax]
push edi
push esi
push dword [esp + 0x2c]
push dword [esp + 0x24]
push eax
call dword [edx + 8]
mov ebp, eax
add esp, 0x20
test eax, eax
je 0x79e5bd
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x4c], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x50], eax
jmp 0x79e16e
sub esp, 4
push 0x30
push esi
push dword [esp + 0x14]
call sub.msvcrt.dll_memcmp
add esp, 0x10
test eax, eax
je 0x79e3be
jmp 0x79e27b
cmp eax, 5
je 0x79e3ec
sub esp, 0xc
push 0
call fcn.007677d0
add esp, 0x10
jmp 0x79e185
cmp byte [ebx + 0x2b], 0
mov eax, dword [ebx + 4]
jne 0x79e27b
mov edx, dword [esp + 0x10]
call fcn.0076c4e0
jmp 0x79e27b
mov edi, esi
mov dword [esp + 0x10], ebp
mov eax, dword [ebx + 4]
jmp 0x79e336
mov ebp, eax
jmp 0x79e0f7
mov eax, dword [esp + 8]
mov dword [eax], 1
mov esi, dword [ebx + 0x44]
test esi, esi
jne 0x79e3ec
sub esp, 0xc
push 0
call fcn.007677d0
add esp, 0x10
jmp 0x79e0f7
sub esp, 0xc
mov ebp, 7
push 0
call fcn.007677d0
add esp, 0x10
jmp 0x79e185
cmp byte [ebx + 0x2b], 0
mov eax, dword [ebx + 4]
jne 0x79e27b
mov edx, 3
or ebp, 0xffffffff
call fcn.0076c4e0
jmp 0x79e0f7
or ebp, 0xffffffff
jmp 0x79e633
sub esp, 0xc
push dword [esp + 0x18]
call fcn.007677d0
add esp, 0x10
jmp 0x79e0f7