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

Disassembly:
sub esp, 0x6b8
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x89]
mov byte [esp + 0x88], bl
mov byte [esp + 0x3a8], 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 + 0x3a9]
mov byte [esp + 0x218], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor ecx, ecx
xor edx, edx
stosb byte es:[edi], al
xor eax, eax
mov dword [esp + 0x21], ecx
mov dword [esp + 0x5d], eax
mov dword [esp + 0x25], ecx
mov dword [esp + 0x61], eax
mov dword [esp + 0x29], ecx
mov dword [esp + 0x65], eax
mov dword [esp + 0x2d], ecx
mov dword [esp + 0x69], eax
mov word [esp + 0x31], cx
mov word [esp + 0x6d], ax
mov byte [esp + 0x33], cl
mov ecx, 0x63
lea edi, [esp + 0x219]
mov byte [esp + 0x6f], al
mov dword [esp + 0x71], edx
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0x75], edx
stosw word es:[edi], ax
mov dword [esp + 0x35], ecx
mov dword [esp + 0x79], edx
mov dword [esp + 0x39], ecx
mov byte [esp + 0x538], bl
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 ecx, 0x63
lea edi, [esp + 0x539]
mov byte [esp + 0x1f], al
mov dword [esp + 0x7d], edx
rep stosd dword es:[edi], eax
mov word [esp + 0x81], dx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x83], dl
mov dword [esp + 0x49], edx
stosw word es:[edi], ax
mov dword [esp + 0x4d], edx
mov byte [esp + 0x20], bl
mov dword [esp + 0x51], edx
mov byte [esp + 0x70], bl
stosb byte es:[edi], al
mov edi, dword [esp + 0x6cc]
mov dword [esp + 0x55], edx
mov word [esp + 0x59], dx
cmp edi, ebx
mov byte [esp + 0x14], bl
mov byte [esp + 0x34], bl
mov byte [esp + 0x48], bl
mov byte [esp + 0x5b], dl
jne 0x793c71
pop edi
pop esi
pop ebp
mov eax, 0xc9
pop ebx
add esp, 0x6b8
ret
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x60], eax
xor edx, edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x6c], eax
mov esi, dword [fcn.008c9234]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], ecx
mov ecx, dword [edi]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x50], eax
push ecx
lea edx, [esp + 0x60]
mov dword [esp + 0x58], eax
push 0x768af0
push edx
mov dword [esp + 0x64], eax
call esi
mov eax, dword [edi + 4]
lea ecx, [esp + 0x2c]
push eax
push 0x768af0
push ecx
call esi
mov edx, dword [edi + 8]
lea eax, [esp + 0x88]
push edx
push 0x768af0
push eax
call esi
mov ecx, dword [esp + 0x6f4]
lea edx, [esp + 0x6c]
push ecx
push 0x768af0
push edx
call esi
lea eax, [esp + 0x78]
lea ecx, [esp + 0xa0]
push eax
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x94]
push edx
push eax
push 4
push 0x768aec
call fcn.00799d90
mov edx, eax
add esp, 0x48
cmp edx, ebx
jne 0x793d55
pop edi
pop esi
pop ebp
mov eax, 0x132
pop ebx
add esp, 0x6b8
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x218]
lea ebp, [esp + 0x218]
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 + 0x53c]
lea edx, [esp + 0x21c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x53c]
push ecx
push edx
push 0x768b40
push 3
push 0x768adc
call fcn.00799d90
mov edx, eax
add esp, 0x18
cmp edx, ebx
jne 0x793ddc
pop edi
pop esi
pop ebp
mov eax, 0x132
pop ebx
add esp, 0x6b8
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x88]
lea esi, [esp + 0x88]
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 + 0x84], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x84]
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 + 0x8c]
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 0x793e63
and ecx, 0xffff
lea esi, [esp + 0x88]
mov edi, ecx
push esi
push 0x7681c8
call fcn.00788b80
add esp, 8
add esi, 0x10
dec edi
jne 0x793e4f
mov eax, dword [esp + 0x6cc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x3a8]
push ecx
push edx
lea ecx, [esp + 0x90]
push eax
push ecx
call fcn.00795f80
add esp, 0x10
cmp eax, ebx
jne 0x793fa4
mov eax, dword [esp + 0x10]
mov cx, ax
shr cx, 4
cmp cx, bx
jbe 0x793ec7
and ecx, 0xffff
lea esi, [esp + 0x3a8]
mov edi, ecx
push esi
push 0x7681c8
call fcn.007890f0
add esp, 8
add esi, 0x10
dec edi
jne 0x793eaf
mov eax, dword [esp + 0x10]
and eax, 0xffff
xor edx, edx
mov dword [esp + 0x34], edx
mov ecx, 0x64
mov byte [esp + eax + 0x3a8], bl
xor eax, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x18], eax
lea edi, [esp + 0x218]
mov dword [esp + 0x40], edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x44], edx
lea ecx, [esp + 0x218]
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x38]
push edx
lea ecx, [esp + 0x3b0]
push eax
push ecx
push 3
push 0x768adc
call fcn.00799bd0
add esp, 0x18
cmp eax, 0xffffffff
jne 0x793f43
pop edi
pop esi
pop ebp
mov eax, 0x12f
pop ebx
add esp, 0x6b8
ret
mov esi, 0x768ad4
lea eax, [esp + 0x34]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x793f70
cmp cl, bl
je 0x793f6c
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x793f70
add eax, 2
add esi, 2
cmp cl, bl
jne 0x793f4c
xor eax, eax
jmp 0x793f75
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x793f91
lea eax, [esp + 0x14]
push eax
call fcn.00799560
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6b8
ret
mov edx, dword [esp + 0x6cc]
mov ecx, dword [esp + 0x6d0]
xor eax, eax
mov dword [edx + 0x18], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6b8
ret