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

Disassembly:
sub esp, 0x538
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x99]
mov byte [esp + 0x98], bl
mov byte [esp + 0x228], bl
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 + 0x229]
mov byte [esp + 0x3b8], bl
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 + 0x3b9]
xor edx, edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor ecx, ecx
mov dword [esp + 0x41], edx
stosb byte es:[edi], al
xor eax, eax
mov dword [esp + 0x15], ecx
mov dword [esp + 0x21], eax
mov dword [esp + 0x19], ecx
mov dword [esp + 0x25], eax
mov word [esp + 0x1d], cx
mov word [esp + 0x29], ax
mov byte [esp + 0x1f], cl
mov dword [esp + 0x55], ecx
mov byte [esp + 0x2b], al
mov dword [esp + 0x2d], eax
mov dword [esp + 0x59], ecx
mov dword [esp + 0x31], eax
mov dword [esp + 0x5d], ecx
mov dword [esp + 0x35], eax
mov dword [esp + 0x61], ecx
mov dword [esp + 0x39], eax
mov word [esp + 0x65], cx
mov word [esp + 0x3d], ax
mov byte [esp + 0x67], cl
mov ecx, 0xa
lea edi, [esp + 0x6d]
mov byte [esp + 0x3f], al
mov byte [esp + 0x6c], bl
mov dword [esp + 0x45], edx
mov byte [esp + 0x54], bl
rep stosd dword es:[edi], eax
mov dword [esp + 0x49], edx
mov esi, dword [fcn.008c9234]
mov dword [esp + 0x4d], edx
lea ecx, [esp + 0x54]
mov word [esp + 0x51], dx
mov byte [esp + 0x20], bl
stosw word es:[edi], ax
mov byte [esp + 0x53], dl
mov dword [esp + 0x54], edx
stosb byte es:[edi], al
mov eax, dword [esp + 0x550]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edx
push eax
mov dword [esp + 0x64], edx
push 0x768af0
push ecx
mov byte [esp + 0x20], bl
mov byte [esp + 0x4c], bl
mov byte [esp + 0x38], bl
mov dword [esp + 0x70], edx
call esi
xor edx, edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x558]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x48], edx
push ecx
lea edx, [esp + 0x3c]
push 0x768af0
push edx
call esi
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x84]
push 0x15
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x570]
lea eax, [esp + 0x88]
push eax
push ecx
call fcn.00799ea0
lea edx, [esp + 0x90]
lea eax, [esp + 0x78]
push edx
lea ecx, [esp + 0x54]
push eax
push ecx
push 3
push 0x768aec
call fcn.00799d90
mov edx, eax
add esp, 0x38
cmp edx, ebx
jne 0x7938ec
pop edi
pop esi
pop ebp
mov eax, 0x132
pop ebx
add esp, 0x538
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x98]
lea ebp, [esp + 0x98]
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
lea edx, [esp + 0x24]
xor ecx, ecx
lea eax, [esp + 0x9c]
push edx
mov dword [esp + 0x28], ecx
push eax
push 0x768b34
mov dword [esp + 0x34], ecx
push 3
push 0x768adc
mov dword [esp + 0x40], ecx
call fcn.00799d90
mov edx, eax
add esp, 0x18
cmp edx, ebx
jne 0x79396e
pop edi
pop esi
pop ebp
mov eax, 0x132
pop ebx
add esp, 0x538
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x228]
lea esi, [esp + 0x228]
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 + 0x68], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x68]
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 + 0x22c]
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
cmp cx, bx
jbe 0x7939ef
and ecx, 0xffff
lea esi, [esp + 0x228]
mov edi, ecx
push esi
push 0x7681c8
call fcn.00788b80
add esp, 8
add esi, 0x10
dec edi
jne 0x7939db
mov eax, dword [esp + 0x54c]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x3b8]
push ecx
push edx
lea ecx, [esp + 0x230]
push eax
push ecx
call fcn.00795f80
add esp, 0x10
cmp eax, ebx
jne 0x793b1f
mov eax, dword [esp + 0x10]
mov cx, ax
shr cx, 4
cmp cx, bx
jbe 0x793a53
and ecx, 0xffff
lea esi, [esp + 0x3b8]
mov edi, ecx
push esi
push 0x7681c8
call fcn.007890f0
add esp, 8
add esi, 0x10
dec edi
jne 0x793a3b
mov eax, dword [esp + 0x10]
and eax, 0xffff
xor edx, edx
mov dword [esp + 0x40], edx
mov ecx, 0x64
mov byte [esp + eax + 0x3b8], bl
xor eax, eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x18], eax
lea edi, [esp + 0x98]
mov dword [esp + 0x4c], edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x50], edx
lea ecx, [esp + 0x98]
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x3c0]
push eax
push ecx
push 3
push 0x768adc
call fcn.00799bd0
add esp, 0x18
cmp eax, 0xffffffff
jne 0x793acf
pop edi
pop esi
pop ebp
mov eax, 0x12f
pop ebx
add esp, 0x538
ret
mov esi, 0x768ad4
lea eax, [esp + 0x40]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x793afc
cmp cl, bl
je 0x793af8
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x793afc
add eax, 2
add esi, 2
cmp cl, bl
jne 0x793ad8
xor eax, eax
jmp 0x793b01
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x793b1d
lea eax, [esp + 0x14]
push eax
call fcn.00799560
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x538
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x538
ret