Function at 0x793770
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x180
mov eax, dword [0x94bd40]
xor eax, esp
mov dword [esp + 0x17c], eax
mov ecx, dword [esp + 0x18c]
mov eax, dword [esp + 0x188]
push esi
mov esi, dword [esp + 0x188]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x194]
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x78], ecx
mov ecx, dword [esi + 0x24]
push edi
mov dword [esp + 0x6c], eax
mov edi, 1
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 4]
sub eax, ecx
mov dword [esp + 0x34], edx
add edx, ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi + 0xb8]
mov dword [esp + 8], edx
mov edx, edi
shl edx, cl
mov ecx, dword [esi + 0x10]
sub eax, ecx
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x74]
sub esi, edx
mov dword [esp + 0x70], 3
cmp eax, edx
mov eax, esi
mov esi, dword [esp + 0x60]
cmovbe eax, ecx
push 0xcf1bbcdc
push 0xbb000000
cmp dword [esi + 0x18], 0
mov edx, dword [esi + 0x54]
cmovne eax, ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
mov ecx, 4
mov eax, dword [esi + 0xc4]
cmp eax, ecx
mov dword [esp + 0x28], edx
cmovb ecx, eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xb4]
shl edi, cl
mov dword [esp + 0x4c], edi
mov dword [esp + 0x40], eax
mov edi, dword [eax + 0x5c]
mov esi, dword [eax + 0x28]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x80], edi
push dword [eax + 4]
push dword [eax]
call fcn.007bcf30
mov edi, dword [esp + 0x38]
mov ecx, 0x38
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
sub ecx, dword [edi + 0x24]
call fcn.007bcf90
mov edi, dword [esp + 0x78]
mov dword [esp + 0x28], eax
shr eax, 4
and eax, 0xffffff0
mov dword [esp + 0x78], 0xf
lea ecx, [eax + esi]
mov esi, dword [esp + 0x60]
lea eax, [edi + eax*4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], eax
cmp dword [esi + 0xdc], 0
jne 0x793b98
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x74]
mov edx, dword [esi + 0x1c]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x58], eax
mov eax, edi
sub eax, edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x40], ecx
cmp eax, 0x180
jbe 0x793a9e
lea eax, [edx + 0x60]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x64], eax
cmp edx, dword [esp + 0x58]
jae 0x7939dd
mov eax, 0x38
sub eax, dword [esp + 0x54]
mov edi, eax
push 0xcf1bbcdc
push 0xbb000000
push dword [ecx + edx + 0xc]
push dword [ecx + edx + 8]
call fcn.007bcf30
xor eax, dword [esi + 0x50]
mov ecx, edi
xor edx, dword [esi + 0x54]
call fcn.007bcf90
mov ecx, eax
mov eax, dword [esp + 0x80]
and eax, 7
mov edx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], ecx
mov eax, edx
mov ecx, dword [esp + 0x50]
shr eax, 4
and eax, 0xffffff0
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x7c]
add edx, eax
lea esi, [ecx + eax*4]
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0xf
cmove eax, dword [esp + 0x78]
add ecx, eax
mov eax, dword [esp + 0x64]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x80]
mov dword [esi + ecx*4], edx
inc edx
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x80], edx
cmp edx, dword [esp + 0x58]
jb 0x793931
mov eax, dword [esi + 0x5c]
mov edi, dword [esp + 0x74]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x24]
lea edx, [edi - 0x20]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x5c]
add eax, edx
mov dword [esp + 0x80], edx
lea ecx, [edi + 1]
mov dword [esp + 0x20], edx
cmp eax, ecx
mov eax, dword [esp + 0x5c]
jbe 0x793a0b
xor ecx, ecx
jmp 0x793a10
sub ecx, eax
sub ecx, edx
inc ecx
cmp ecx, 8
mov dword [esp + 0x30], 8
cmova ecx, dword [esp + 0x30]
add ecx, edx
mov dword [esp + 0x18], ecx
cmp edx, ecx
jae 0x793aa2
mov edi, dword [esp + 0x20]
mov ecx, 0x38
sub ecx, dword [esp + 0x58]
mov dword [esp + 0x30], ecx
nop
push 0xcf1bbcdc
push 0xbb000000
push dword [edi + eax + 4]
push dword [edi + eax]
call fcn.007bcf30
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x30]
call fcn.007bcf90
mov ecx, eax
mov eax, edi
and eax, 7
inc edi
mov dword [esi + eax*4 + 0x2c], ecx
mov eax, dword [esp + 0x5c]
cmp edi, dword [esp + 0x18]
jb 0x793a40
mov eax, dword [esi + 0x5c]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x40], eax
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x74]
cmp edx, eax
jae 0x793b57
mov edi, dword [esp + 0x40]
mov eax, 0x38
sub eax, dword [esp + 0x58]
mov dword [esp + 0x18], eax
nop
push 0xcf1bbcdc
push 0xbb000000
push dword [edx + edi + 0xc]
push dword [edx + edi + 8]
call fcn.007bcf30
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x18]
call fcn.007bcf90
mov ecx, eax
mov eax, dword [esp + 0x80]
and eax, 7
mov edx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], ecx
mov eax, edx
mov ecx, dword [esp + 0x3c]
shr eax, 4
and eax, 0xffffff0
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x64]
add edx, eax
lea esi, [ecx + eax*4]
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0xf
cmove eax, dword [esp + 0x78]
add ecx, eax
mov eax, dword [esp + 0x20]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x74]
mov dword [esi + ecx*4], edx
inc edx
mov esi, dword [esp + 0x60]
mov dword [esp + 0x80], edx
cmp edx, eax
jb 0x793ac0
mov edi, dword [esp + 0x6c]
push 0xcf1bbcdc
push 0xbb000000
mov dword [esi + 0x1c], eax
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.007bcf30
xor eax, dword [esp + 0xc]
mov ecx, 0x38
xor edx, dword [esp + 0x48]
sub ecx, dword [esp + 0x54]
call fcn.007bcf90
mov ecx, eax
mov eax, dword [esp + 0x74]
and eax, 7
mov edx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], ecx
jmp 0x793bc7
movq xmm0, qword [esp + 0x1c]
mov eax, 0x38
sub eax, dword [esp + 0x54]
movq xmm1, qword [esp + 0x14]
mov edi, dword [esp + 0x6c]
xorps xmm1, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x74]
psrlq xmm1, xmm0
mov dword [esi + 0x1c], eax
movd edx, xmm1
add dword [esi + 0x58], edx
mov eax, edx
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x7c]
shr eax, 4
and eax, 0xffffff0
mov dword [esp + 0x54], edx
add esi, eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x48], esi
mov dword [esp + 0x7c], 0
lea ecx, [ecx + eax*4]
movsx eax, dl
mov dword [esp + 0x50], ecx
movzx ecx, byte [esi]
mov edx, ecx
mov dword [esp + 0x78], ecx
movd xmm0, eax
and edx, 0xf
punpcklbw xmm0, xmm0
mov ecx, edx
punpcklwd xmm0, xmm0
neg ecx
pshufd xmm1, xmm0, 0
and ecx, 0xf
movups xmm0, xmmword [esi]
pcmpeqb xmm0, xmm1
pmovmskb esi, xmm0
mov ax, si
shl ax, cl
mov cx, dx
shr si, cl
or ax, si
movzx eax, ax
cdq
mov esi, eax
test edx, edx
jne 0x793c4f
test esi, esi
je 0x793cb1
mov edi, dword [esp + 0x44]
test edi, edi
je 0x793ca9
test esi, esi
jne 0x793c63
bsf eax, edx
add eax, 0x20
jmp 0x793c66
bsf eax, esi
add eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x50]
and eax, 0xf
mov ecx, dword [ecx + eax*4]
je 0x793c93
cmp ecx, dword [esp + 0x4c]
jb 0x793ca9
mov eax, dword [esp + 0x80]
mov dword [esp + eax*4 + 0x84], ecx
inc eax
mov dword [esp + 0x80], eax
dec edi
mov ecx, esi
mov eax, edx
add ecx, 0xffffffff
adc eax, 0xffffffff
and esi, ecx
and edx, eax
ja 0x793c53
jb 0x793ca9
test esi, esi
jne 0x793c53
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x78]
mov edx, 0xf
mov esi, dword [esp + 0x60]
dec ecx
and ecx, 0xf
mov eax, 0
cmove eax, edx
mov edx, dword [esp + 0x48]
add ecx, eax
mov eax, dword [esp + 0x54]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x50]
mov eax, dword [esi + 0x1c]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x1c]
cmp dword [esp + 0x80], 0
jbe 0x793dc7
mov ecx, dword [esp + 0x80]
mov esi, 3
xor eax, eax
mov eax, dword [esp + eax*4 + 0x84]
mov edx, dword [esp + 0x5c]
add edx, eax
mov dword [esp + 0x48], eax
mov eax, dword [edx + esi - 3]
cmp eax, dword [esi + edi - 3]
jne 0x793db6
mov esi, dword [esp + 0x68]
mov eax, edi
add esi, 0xfffffffd
cmp edi, esi
jae 0x793d64
mov eax, dword [edx]
xor eax, dword [edi]
je 0x793d40
mov esi, dword [esp + 0x68]
bsf eax, eax
shr eax, 3
jmp 0x793d8a
lea eax, [edi + 4]
add edx, 4
cmp eax, esi
jae 0x793d64
nop word [eax + eax]
mov ecx, dword [edx]
xor ecx, dword [eax]
jne 0x793e63
add eax, 4
add edx, 4
cmp eax, esi
jb 0x793d50
mov esi, dword [esp + 0x68]
lea ecx, [esi - 1]
cmp eax, ecx
jae 0x793d7d
mov cx, word [edx]
cmp cx, word [eax]
jne 0x793d7d
add eax, 2
add edx, 2
cmp eax, esi
jae 0x793d88
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x793d88
inc eax
sub eax, edi
cmp eax, dword [esp + 0x70]
jbe 0x793dab
mov ecx, dword [esp + 0x74]
sub ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
add ecx, 3
mov dword [esp + 0x70], eax
add eax, edi
mov dword [edx], ecx
cmp eax, esi
je 0x793dc7
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x7c]
inc eax
mov dword [esp + 0x7c], eax
cmp eax, ecx
jb 0x793d02
mov edx, dword [esp + 0x38]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x7c], 0
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
sub eax, ecx
sub dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
movsx eax, al
mov dword [esp + 0x48], ecx
movzx ecx, byte [edx]
mov dword [esp + 0x2c], ecx
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
movups xmm0, xmmword [edx]
mov edx, ecx
and edx, 0xf
pcmpeqb xmm0, xmm1
mov ecx, edx
pmovmskb esi, xmm0
neg ecx
and ecx, 0xf
mov ax, si
shl ax, cl
mov cx, dx
shr si, cl
or ax, si
movzx eax, ax
cdq
mov esi, eax
test edx, edx
jne 0x793e49
test esi, esi
je 0x793f97
xor edi, edi
nop dword [eax + eax]
cmp dword [esp + 0x44], 0
je 0x793eba
test esi, esi
jne 0x793e74
bsf eax, edx
add eax, 0x20
jmp 0x793e77
mov esi, dword [esp + 0x68]
bsf ecx, ecx
shr ecx, 3
add eax, ecx
jmp 0x793d88
bsf eax, esi
add eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
and eax, 0xf
mov eax, dword [edi + eax*4]
mov edi, dword [esp + 0x4c]
je 0x793ea4
mov ecx, dword [esp + 0x38]
cmp eax, dword [ecx + 0xc]
jb 0x793eba
mov dword [esp + edi*4 + 0x84], eax
inc edi
dec dword [esp + 0x44]
mov dword [esp + 0x4c], edi
mov ecx, esi
mov eax, edx
add ecx, 0xffffffff
adc eax, 0xffffffff
and esi, ecx
and edx, eax
ja 0x793e50
jb 0x793eba
test esi, esi
jne 0x793e50
test edi, edi
mov edi, dword [esp + 0x6c]
je 0x793f97
xor eax, eax
nop dword [eax + eax]
mov eax, dword [esp + eax*4 + 0x84]
mov esi, dword [esp + 0x48]
add esi, eax
mov dword [esp + 0x28], eax
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x793f67
mov ecx, dword [esp + 0x68]
lea eax, [edi + 4]
add esi, 4
sub eax, esi
add eax, dword [esp + 0x78]
cmp eax, ecx
cmovb ecx, eax
lea eax, [edi + 4]
push ecx
push esi
push eax
call fcn.00782bc0
add esp, 0xc
mov dword [esp + 0x24], eax
lea ecx, [eax + esi]
cmp ecx, dword [esp + 0x78]
jne 0x793f36
mov esi, dword [esp + 0x68]
add eax, 4
push esi
push dword [esp + 0xc]
add eax, edi
push eax
call fcn.00782bc0
add esp, 0xc
add eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x70]
lea edx, [eax + 4]
cmp edx, ecx
jbe 0x793f6b
mov eax, dword [esp + 0x74]
mov ecx, edx
sub eax, dword [esp + 0x28]
sub eax, dword [esp + 0x34]
mov esi, dword [esp + 0x10]
add eax, 3
mov dword [esp + 0x70], ecx
mov dword [esi], eax
lea eax, [edx + edi]
cmp eax, dword [esp + 0x68]
je 0x793f7e
jmp 0x793f6b
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x7c]
inc eax
mov dword [esp + 0x7c], eax
cmp eax, dword [esp + 0x4c]
jb 0x793ed0
pop edi
mov eax, ecx
pop esi
mov ecx, dword [esp + 0x17c]
xor ecx, esp
call fcn.007bcf1e
add esp, 0x180
ret
mov ecx, dword [esp + 0x184]
mov eax, dword [esp + 0x70]
pop edi
pop esi
xor ecx, esp
call fcn.007bcf1e
add esp, 0x180
ret