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

Disassembly:
sub esp, 0x6a4
push ebx
push ebp
push esi
push edi
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x75]
mov byte [esp + 0x74], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x395]
mov byte [esp + 0x394], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x205]
mov byte [esp + 0x204], 0
rep stosd dword es:[edi], eax
xor ecx, ecx
xor edx, edx
stosw word es:[edi], ax
mov dword [esp + 0x35], ecx
mov ebx, dword [esp + 0x6b8]
mov dword [esp + 0x39], ecx
mov dword [esp + 0x21], edx
stosb byte es:[edi], al
xor eax, eax
mov dword [esp + 0x3d], ecx
mov dword [esp + 0x15], eax
mov dword [esp + 0x41], ecx
mov dword [esp + 0x19], eax
mov word [esp + 0x45], cx
mov word [esp + 0x1d], ax
mov byte [esp + 0x47], cl
mov byte [esp + 0x524], cl
mov ecx, 0x63
lea edi, [esp + 0x525]
mov byte [esp + 0x1f], al
mov byte [esp + 0x34], al
mov dword [esp + 0x25], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x5d], eax
mov dword [esp + 0x49], ecx
mov dword [esp + 0x61], eax
mov dword [esp + 0x4d], ecx
mov dword [esp + 0x29], edx
mov dword [esp + 0x65], eax
mov dword [esp + 0x51], ecx
mov dword [esp + 0x2d], edx
mov dword [esp + 0x69], eax
mov dword [esp + 0x55], ecx
mov word [esp + 0x31], dx
mov word [esp + 0x6d], ax
mov word [esp + 0x59], cx
mov byte [esp + 0x14], 0
test ebx, ebx
mov byte [esp + 0x20], 0
mov byte [esp + 0x33], dl
mov byte [esp + 0x5c], dl
mov byte [esp + 0x6f], al
mov byte [esp + 0x48], al
mov byte [esp + 0x5b], cl
mov dword [esp + 0x10], ecx
jne 0x795091
pop edi
pop esi
pop ebp
mov eax, 0xc9
pop ebx
add esp, 0x6a4
ret
xor edx, edx
xor eax, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x28], edx
xor ecx, ecx
mov esi, dword [fcn.008c9234]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], edx
mov edx, dword [ebx]
mov dword [esp + 0x68], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x50], ecx
push edx
lea eax, [esp + 0x24]
mov dword [esp + 0x58], ecx
push 0x768af0
push eax
mov dword [esp + 0x64], ecx
call esi
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x68]
push ecx
push 0x768af0
push edx
call esi
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x60]
push eax
push 0x768af0
push ecx
call esi
lea edx, [esp + 0x6c]
lea eax, [esp + 0x80]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
push 3
push 0x768aec
call fcn.00799d90
mov edx, eax
add esp, 0x38
test edx, edx
jne 0x79513f
pop edi
pop esi
pop ebp
mov eax, 0x132
pop ebx
add esp, 0x6a4
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x204]
lea ebp, [esp + 0x204]
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, ebp
mov ebp, dword [fcn.008c9264]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebp
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x528]
lea edx, [esp + 0x208]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x528]
push ecx
push edx
push 0x768b84
push 3
push 0x768adc
call fcn.00799d90
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x7951c6
pop edi
pop esi
pop ebp
mov eax, 0x132
pop ebx
add esp, 0x6a4
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x74]
lea esi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x70], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x70]
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebp
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ecx
shr cx, 4
test cx, cx
jbe 0x79523b
and ecx, 0xffff
lea esi, [esp + 0x74]
mov edi, ecx
push esi
push 0x7681c8
call fcn.00788b80
add esp, 8
add esi, 0x10
dec edi
jne 0x795227
lea ecx, [esp + 0x10]
lea edx, [esp + 0x394]
push ecx
push edx
lea eax, [esp + 0x7c]
push ebx
push eax
call fcn.00795f80
add esp, 0x10
test eax, eax
jne 0x795368
mov eax, dword [esp + 0x10]
mov cx, ax
shr cx, 4
test cx, cx
jbe 0x795295
and ecx, 0xffff
lea esi, [esp + 0x394]
mov edi, ecx
push esi
push 0x7681c8
call fcn.007890f0
add esp, 8
add esi, 0x10
dec edi
jne 0x79527d
mov eax, dword [esp + 0x10]
xor ecx, ecx
and eax, 0xffff
mov dword [esp + 0x34], ecx
xor edx, edx
mov dword [esp + 0x38], ecx
mov byte [esp + eax + 0x394], 0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x40], ecx
xor eax, eax
mov dword [esp + 0x44], ecx
mov ecx, 0x64
lea edi, [esp + 0x204]
mov dword [esp + 0x18], edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x204]
mov dword [esp + 0x1c], edx
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x39c]
push edx
push eax
push 3
push 0x768adc
call fcn.00799bd0
add esp, 0x18
cmp eax, 0xffffffff
jne 0x795314
pop edi
pop esi
pop ebp
mov eax, 0x12f
pop ebx
add esp, 0x6a4
ret
mov esi, 0x768ad4
lea eax, [esp + 0x34]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x795345
test cl, cl
je 0x795341
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x795345
add eax, 2
add esi, 2
test cl, cl
jne 0x79531d
xor eax, eax
jmp 0x79534a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x795366
lea eax, [esp + 0x14]
push eax
call fcn.00799560
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6a4
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6a4
ret