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

Disassembly:
sub esp, 0x7a4
push ebx
push ebp
push esi
push edi
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x305]
mov byte [esp + 0x304], 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 + 0x495]
mov byte [esp + 0x494], 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 + 0x75]
mov byte [esp + 0x74], 0
rep stosd dword es:[edi], eax
xor ecx, ecx
xor edx, edx
stosw word es:[edi], ax
mov dword [esp + 0x5d], ecx
mov ebx, dword [esp + 0x7b8]
mov dword [esp + 0x61], ecx
mov dword [esp + 0x21], edx
stosb byte es:[edi], al
xor eax, eax
mov dword [esp + 0x65], ecx
mov dword [esp + 0x15], eax
mov dword [esp + 0x69], ecx
mov dword [esp + 0x19], eax
mov word [esp + 0x6d], cx
mov word [esp + 0x1d], ax
mov byte [esp + 0x6f], cl
mov byte [esp + 0x624], cl
mov ecx, 0x63
lea edi, [esp + 0x625]
mov byte [esp + 0x1f], al
mov byte [esp + 0x5c], al
mov dword [esp + 0x25], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor ecx, ecx
mov dword [esp + 0x29], edx
stosb byte es:[edi], al
xor eax, eax
mov dword [esp + 0x49], ecx
mov dword [esp + 0x35], eax
mov dword [esp + 0x4d], ecx
mov dword [esp + 0x39], eax
mov dword [esp + 0x51], ecx
mov dword [esp + 0x3d], eax
mov dword [esp + 0x55], ecx
mov dword [esp + 0x41], eax
mov word [esp + 0x59], cx
mov word [esp + 0x45], ax
mov byte [esp + 0x5b], cl
mov byte [esp + 0x204], cl
mov ecx, 0x3f
lea edi, [esp + 0x205]
mov byte [esp + 0x47], al
mov byte [esp + 0x48], al
mov dword [esp + 0x2d], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [esp + 0x31], dx
mov byte [esp + 0x14], 0
test ebx, ebx
mov byte [esp + 0x20], 0
mov byte [esp + 0x33], dl
mov byte [esp + 0x34], dl
stosb byte es:[edi], al
jne 0x794665
pop edi
pop esi
pop ebp
mov eax, 0xc9
pop ebx
add esp, 0x7a4
ret
xor edx, edx
xor eax, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], edx
xor ecx, ecx
mov esi, dword [fcn.008c9234]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], edx
mov edx, dword [ebx]
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], 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 + 0x40]
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 + 0x58]
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 0x794710
pop edi
pop esi
pop ebp
mov eax, 0x132
pop ebx
add esp, 0x7a4
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x74]
lea ebp, [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
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 + 0x628]
lea edx, [esp + 0x78]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x628]
push ecx
push edx
push 0x768b60
push 3
push 0x768adc
call fcn.00799d90
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x79478e
pop edi
pop esi
pop ebp
mov eax, 0x132
pop ebx
add esp, 0x7a4
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x304]
lea esi, [esp + 0x304]
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 + 0x308]
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 0x79480f
and ecx, 0xffff
lea esi, [esp + 0x304]
mov edi, ecx
push esi
push 0x7681c8
call fcn.00788b80
add esp, 8
add esi, 0x10
dec edi
jne 0x7947fb
lea ecx, [esp + 0x10]
lea edx, [esp + 0x494]
push ecx
push edx
lea eax, [esp + 0x30c]
push ebx
push eax
call fcn.00795f80
add esp, 0x10
test eax, eax
jne 0x794994
mov eax, dword [esp + 0x10]
mov cx, ax
shr cx, 4
test cx, cx
jbe 0x79486c
and ecx, 0xffff
lea esi, [esp + 0x494]
mov edi, ecx
push esi
push 0x7681c8
call fcn.007890f0
add esp, 8
add esi, 0x10
dec edi
jne 0x794854
mov eax, dword [esp + 0x10]
xor ecx, ecx
and eax, 0xffff
mov dword [esp + 0x5c], ecx
xor edx, edx
mov dword [esp + 0x60], ecx
mov byte [esp + eax + 0x494], 0
mov dword [esp + 0x64], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x68], ecx
xor eax, eax
mov dword [esp + 0x6c], ecx
mov ecx, 0x64
lea edi, [esp + 0x74]
mov dword [esp + 0x18], edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x1c], edx
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x60]
push ecx
lea eax, [esp + 0x49c]
push edx
push eax
push 3
push 0x768adc
call fcn.00799bd0
add esp, 0x18
cmp eax, 0xffffffff
jne 0x7948e5
pop edi
pop esi
pop ebp
mov eax, 0x12f
pop ebx
add esp, 0x7a4
ret
mov esi, 0x768ad4
lea eax, [esp + 0x5c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x794916
test cl, cl
je 0x794912
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x794916
add eax, 2
add esi, 2
test cl, cl
jne 0x7948ee
xor eax, eax
jmp 0x79491b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x794937
lea eax, [esp + 0x14]
push eax
call fcn.00799560
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7a4
ret
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x204]
lea edx, [esp + 0x74]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x204]
push ecx
push edx
push 1
push 0x768aec
call fcn.00799bd0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x794978
pop edi
pop esi
pop ebp
mov eax, 0x12f
pop ebx
add esp, 0x7a4
ret
mov eax, dword [esp + 0x7bc]
push 0x60
lea ecx, [esp + 0x208]
push eax
push ecx
call fcn.00799ee0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7a4
ret