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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x198
mov eax, dword [0x94bd40]
xor eax, esp
mov dword [esp + 0x194], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x74], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x20], edi
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x30], eax
lea eax, [esi + 0x2c]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x58], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x5c], edx
mov edx, 1
lea edi, [eax + ecx]
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x20]
sub eax, ecx
mov dword [esp + 0x78], edi
mov ecx, dword [esi + 0xb8]
shl edx, cl
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x24], eax
sub eax, ecx
mov edi, dword [esp + 0x24]
sub edi, edx
mov dword [esp + 0x40], 3
cmp eax, edx
mov dword [esp + 0x4c], 0x1f
mov edx, dword [esi + 0x50]
mov eax, edi
mov edi, dword [esp + 0x20]
cmovbe eax, ecx
cmp dword [esi + 0x18], 0
mov dword [esp + 0x74], edx
cmovne eax, ecx
mov ecx, 5
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0xc4]
cmp eax, ecx
cmovb ecx, eax
mov eax, 1
shl eax, cl
mov ecx, esi
mov dword [esp + 0x68], eax
cmp dword [ecx + 0xdc], 0
jne 0x797554
mov eax, dword [esp + 0x44]
mov esi, dword [ecx + 0x1c]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
sub eax, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x50], 0x18
cmp eax, 0x180
jbe 0x797481
mov eax, dword [esp + 0x44]
lea edx, [esi + 0x60]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], eax
cmp esi, edx
jae 0x7973de
mov esi, dword [esp + 0x50]
sub esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x2c], esi
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x38]
imul edx, dword [eax + edi + 8], 0x9e3779b1
mov eax, edi
and eax, 7
xor edx, dword [ecx + 0x50]
mov ecx, esi
mov esi, dword [esp + 0x48]
shr edx, cl
mov ecx, dword [esi + eax*4]
mov dword [esi + eax*4], edx
mov eax, ecx
mov edx, dword [esp + 0x30]
shr eax, 3
mov dword [esp + 0x18], ecx
and eax, 0x1fffffe0
mov ecx, dword [esp + 0x44]
add edx, eax
lea esi, [ecx + eax*4]
movzx ecx, byte [edx]
dec ecx
mov eax, 0
and ecx, 0x1f
cmove eax, dword [esp + 0x4c]
add ecx, eax
mov eax, dword [esp + 0x18]
mov byte [edx], cl
mov byte [ecx + edx], al
mov dword [esi + ecx*4], edi
inc edi
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
cmp edi, dword [esp + 0x28]
jb 0x797350
mov eax, dword [ecx + 0x5c]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x24]
lea edx, [edi + 1]
mov esi, dword [esp + 0x24]
add esi, 0xffffffe0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
add eax, esi
mov dword [esp + 0x18], esi
cmp eax, edx
jbe 0x797401
xor edx, edx
jmp 0x797408
sub edx, dword [esp + 0x38]
sub edx, esi
inc edx
mov eax, 8
cmp edx, eax
cmova edx, eax
add edx, esi
mov dword [esp + 0x80], edx
cmp esi, edx
jae 0x79747d
mov eax, dword [esp + 0x50]
mov edi, esi
sub eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
nop dword [eax]
mov eax, dword [esp + 0x38]
imul edx, dword [eax + edi], 0x9e3779b1
mov eax, edi
and eax, 7
inc edi
xor edx, dword [ecx + 0x50]
mov ecx, dword [esp + 0x2c]
shr edx, cl
mov ecx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x2c], edx
cmp edi, dword [esp + 0x80]
jb 0x797430
mov eax, dword [ecx + 0x5c]
mov edx, dword [ecx + 4]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], edx
jmp 0x797481
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
cmp esi, eax
jae 0x797521
mov esi, dword [esp + 0x50]
sub esi, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x28], esi
nop dword [eax]
imul edx, dword [edx + edi + 8], 0x9e3779b1
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x84], eax
mov eax, edi
and eax, 7
xor edx, dword [ecx + 0x50]
mov ecx, esi
mov esi, dword [esp + 0x48]
shr edx, cl
mov ecx, dword [esi + eax*4]
mov dword [esi + eax*4], edx
mov eax, ecx
mov edx, dword [esp + 0x2c]
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x60]
add edx, eax
lea esi, [ecx + eax*4]
movzx ecx, byte [edx]
dec ecx
mov eax, 0
and ecx, 0x1f
cmove eax, dword [esp + 0x4c]
add ecx, eax
mov eax, dword [esp + 0x80]
mov byte [edx], cl
mov byte [ecx + edx], al
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov dword [esi + ecx*4], edi
inc edi
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
cmp edi, eax
jb 0x7974a0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
sub ecx, dword [esp + 0x14]
mov dword [esi + 0x1c], eax
imul edx, dword [edi + 8], 0x9e3779b1
mov eax, dword [esp + 0x24]
xor edx, dword [esp + 0x74]
shr edx, cl
and eax, 7
mov ecx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], edx
mov eax, ecx
mov dword [esp + 0x14], ecx
jmp 0x797572
imul eax, dword [edi], 0x9e3779b1
mov ecx, 0x18
sub ecx, dword [esp + 0x14]
xor eax, edx
shr eax, cl
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov dword [esi + 0x1c], ecx
add dword [esi + 0x58], eax
xor edx, edx
mov ecx, dword [esp + 0x44]
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x10], 0
lea ecx, [ecx + eax*4]
add eax, dword [esp + 0x30]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
xor ecx, ecx
mov dword [esp + 0x30], edx
mov al, byte [eax]
mov edx, dword [esp + 0x48]
mov byte [esp + 0x37], al
movzx eax, al
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x14]
movsx eax, al
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x80], eax
inc ecx
cmp ecx, 2
jl 0x7975d4
mov edx, dword [esp + 0x84]
mov cl, byte [esp + 0x37]
shl edx, 0x10
and cl, 0x1f
or edx, dword [esp + 0x80]
ror edx, cl
xor ecx, ecx
mov dword [esp + 0x18], ecx
test edx, edx
je 0x79767e
mov esi, dword [esp + 0x68]
xor edi, edi
nop dword [eax]
test esi, esi
je 0x797672
test edx, edx
jne 0x797630
bsf eax, ecx
add eax, 0x20
jmp 0x797633
bsf eax, edx
add eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
and eax, 0x1f
mov eax, dword [ecx + eax*4]
je 0x797652
cmp eax, dword [esp + 0x54]
jb 0x797672
mov dword [esp + edi*4 + 0x98], eax
inc edi
dec esi
mov eax, dword [esp + 0x18]
mov ecx, edx
add ecx, 0xffffffff
adc eax, 0xffffffff
and edx, ecx
mov ecx, dword [esp + 0x18]
and ecx, eax
mov dword [esp + 0x18], ecx
ja 0x797620
jb 0x797672
test edx, edx
jne 0x797620
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x4c]
mov edx, 0x1f
dec ecx
mov eax, 0
and ecx, 0x1f
cmove eax, edx
mov edx, dword [esp + 0x48]
add ecx, eax
mov eax, dword [esp + 0x14]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x44]
mov eax, dword [esi + 0x1c]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x1c]
cmp dword [esp + 0x10], 0
jbe 0x797851
mov edx, dword [esp + 0x10]
xor eax, eax
mov eax, dword [esp + eax*4 + 0x98]
cmp eax, dword [esp + 0x58]
jb 0x797765
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
add edx, eax
mov eax, dword [edx + ecx - 3]
cmp eax, dword [ecx + edi - 3]
jne 0x797808
mov esi, dword [esp + 0x3c]
mov eax, edi
add esi, 0xfffffffd
cmp edi, esi
jae 0x797725
mov eax, dword [edx]
xor eax, dword [edi]
je 0x79770b
mov esi, dword [esp + 0x3c]
bsf ecx, eax
shr ecx, 3
jmp 0x7977db
lea eax, [edi + 4]
add edx, 4
cmp eax, esi
jae 0x797725
mov ecx, dword [edx]
xor ecx, dword [eax]
jne 0x797752
add eax, 4
add edx, 4
cmp eax, esi
jb 0x797715
mov esi, dword [esp + 0x3c]
lea ecx, [esi - 1]
cmp eax, ecx
jae 0x79773e
mov cx, word [edx]
cmp cx, word [eax]
jne 0x79773e
add eax, 2
add edx, 2
cmp eax, esi
jae 0x797749
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x797749
inc eax
mov ecx, eax
sub ecx, edi
jmp 0x7977db
mov esi, dword [esp + 0x3c]
bsf ecx, ecx
shr ecx, 3
sub ecx, edi
add ecx, eax
jmp 0x7977db
mov esi, dword [esp + 0x5c]
add esi, eax
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x797833
mov ecx, dword [esp + 0x58]
lea eax, [edi + 4]
add ecx, dword [esp + 0x5c]
add esi, 4
sub eax, esi
add eax, ecx
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
cmovb ecx, eax
mov eax, dword [esp + 0x20]
push ecx
add eax, 4
push esi
push eax
call fcn.00782bc0
mov edx, dword [esp + 0x64]
mov ecx, eax
add edx, dword [esp + 0x68]
add esp, 0xc
mov edi, dword [esp + 0x20]
mov dword [esp + 0x68], ecx
lea eax, [ecx + esi]
mov esi, dword [esp + 0x3c]
cmp eax, edx
jne 0x7977d8
push esi
push dword [esp + 0x7c]
lea eax, [edi + 4]
add eax, ecx
push eax
call fcn.00782bc0
mov ecx, dword [esp + 0x74]
add esp, 0xc
add ecx, eax
add ecx, 4
cmp ecx, dword [esp + 0x40]
jbe 0x797804
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], ecx
sub eax, dword [esp + edx*4 + 0x98]
mov edx, dword [esp + 0x7c]
add eax, 3
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x797839
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp eax, edx
jb 0x7976c0
mov eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.007bcf1e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x40]
jmp 0x79780c
mov eax, dword [esp + 0x40]
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.007bcf1e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x19c]
mov eax, 3
pop edi
pop esi
xor ecx, esp
call fcn.007bcf1e
mov esp, ebp
pop ebp
ret