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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0xa8
mov ebp, ecx
xor esi, esi
mov bl, byte [esp + 0xbc]
cmp bl, byte [ebp + 0x35]
jne 0x7979cd
xor eax, eax
add esp, 0xa8
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov dl, byte [ebp + 0x36]
test dl, dl
je 0x7979e1
test bl, bl
jne 0x7979e1
push 0
mov ecx, ebp
call fcn.00797d64
test bl, bl
jne 0x797abe
mov dl, byte [ebp + 0x34]
test dl, dl
jne 0x797d2d
mov dword [0x84ef90], 0
lea ecx, [ebp + 8]
call fcn.0078f41c
mov edx, dword [ebp + 0x38]
test edx, edx
je 0x797a14
push edx
call fcn.007703b0
pop ecx
mov edx, dword [ebp + 0x3c]
mov dword [ebp + 0x38], 0
test edx, edx
je 0x797a29
push edx
call fcn.007703b0
pop ecx
mov edx, dword [ebp + 0x40]
test edx, edx
je 0x797a37
push edx
call fcn.007703b0
pop ecx
xor edx, edx
mov dword [ebp + 0x40], edx
mov dword [ebp + 0x3c], edx
mov edx, dword [ebp + 0x44]
test edx, edx
je 0x797a4d
push edx
call fcn.007703b0
pop ecx
mov edx, dword [ebp + 0x48]
test edx, edx
je 0x797a5b
push edx
call fcn.007703b0
pop ecx
xor edx, edx
mov dword [ebp + 0x48], edx
mov dword [ebp + 0x44], edx
mov edx, dword [ebp + 0x58]
test edx, edx
je 0x797a71
push edx
call fcn.007703b0
pop ecx
mov edx, dword [ebp + 0x5c]
test edx, edx
je 0x797a7f
push edx
call fcn.007703b0
pop ecx
mov edx, dword [ebp + 0x60]
test edx, edx
je 0x797a8d
push edx
call fcn.007703b0
pop ecx
xor edx, edx
mov dword [ebp + 0x60], edx
mov dword [ebp + 0x5c], edx
mov edx, dword [ebp + 0x64]
test edx, edx
je 0x797aa3
push edx
call fcn.007703b0
pop ecx
mov edx, dword [ebp + 0x68]
test edx, edx
je 0x797ab1
push edx
call fcn.007703b0
pop ecx
xor edx, edx
mov dword [ebp + 0x68], edx
mov dword [ebp + 0x64], edx
jmp 0x797d1b
push dword [ebp + 0x30]
lea edi, [ebp + 8]
mov ecx, edi
call fcn.0078f2fc
movzx eax, al
test eax, eax
jne 0x797ae4
mov eax, 0xfffffc18
add esp, 0xa8
pop ebx
pop ebp
pop esi
pop edi
ret 4
lea eax, [esp]
xor edx, edx
and edx, 0xff
mov esi, edx
shl esi, 8
or edx, esi
mov esi, edx
shl esi, 0x10
or edx, esi
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], edx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], edx
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], edx
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], edx
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
lea edx, [esp]
mov eax, dword [ebp + 0x80]
mov dword [esp + 0xa4], eax
push edx
call fcn.007973f0
mov esi, eax
add esp, 4
test esi, esi
je 0x797bcd
mov ecx, edi
call fcn.0078f41c
mov eax, esi
add esp, 0xa8
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov byte [ebp + 0x34], 1
lea edx, [ebp + 0x6c]
lea eax, [ebp + 0x70]
push eax
push edx
call fcn.00797510
mov esi, eax
add esp, 8
test esi, esi
jne 0x797d3d
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x70]
add edx, edx
add edx, edx
add edx, edx
mov byte [ebp + 0x7c], 0
add edx, edx
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov edx, dword [ebp + 0x6c]
mov dword [ebp + 0x38], eax
test edx, edx
jne 0x797c1e
xor edx, edx
mov dword [ebp + 0x3c], edx
mov dword [ebp + 0x40], edx
mov dword [ebp + 0x64], edx
mov dword [ebp + 0x5c], edx
jmp 0x797c67
add edx, edx
add edx, edx
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, dword [ebp + 0x6c]
mov dword [ebp + 0x3c], eax
add edx, edx
add edx, edx
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, dword [ebp + 0x6c]
mov dword [ebp + 0x40], eax
add edx, edx
add edx, edx
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, dword [ebp + 0x6c]
mov dword [ebp + 0x64], eax
add edx, edx
add edx, edx
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x10
mov ecx, dword [ebp + 0x6c]
mov dword [ebp + 0x5c], eax
mov edi, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0x70]
test edi, edi
jne 0x797c7e
xor edx, edx
mov dword [ebp + 0x44], edx
mov dword [ebp + 0x48], edx
mov dword [ebp + 0x68], edx
mov dword [ebp + 0x60], edx
jmp 0x797cca
add edi, edi
add edi, edi
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, dword [ebp + 0x70]
mov dword [ebp + 0x44], eax
add edx, edx
add edx, edx
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, dword [ebp + 0x70]
mov dword [ebp + 0x48], eax
add edx, edx
add edx, edx
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, dword [ebp + 0x70]
mov dword [ebp + 0x68], eax
add edx, edx
add edx, edx
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x10
mov ecx, dword [ebp + 0x70]
mov dword [ebp + 0x60], eax
mov edi, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0x70]
add edi, dword [ebp + 0x6c]
add edi, edi
add edi, edi
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, dword [ebp + 0x6c]
add ecx, dword [ebp + 0x70]
mov dword [ebp + 0x58], eax
mov edi, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [ebp + 0x70]
test edx, edx
je 0x797cfe
mov edx, dword [ebp + 0x60]
mov edi, 9
mov dword [edx], edi
mov edx, dword [ebp + 0x60]
mov dword [edx + 4], edi
mov edx, dword [ebp + 0x6c]
test edx, edx
je 0x797d15
mov edx, dword [ebp + 0x5c]
mov edi, 5
mov dword [edx], edi
mov edx, dword [ebp + 0x5c]
mov dword [edx + 4], edi
mov dword [0x84ef90], ebp
mov byte [ebp + 0x35], bl
mov eax, esi
add esp, 0xa8
pop ebx
pop ebp
pop esi
pop edi
ret 4
call fcn.007974a0
mov esi, eax
mov byte [ebp + 0x34], 0
jmp 0x7979f4
call fcn.007974a0
mov ecx, edi
call fcn.0078f41c
mov eax, esi
add esp, 0xa8
pop ebx
pop ebp
pop esi
pop edi
ret 4