Function at 0x78f260
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 + 8]
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x60], ecx
push esi
mov ecx, dword [eax + 0x5c]
mov edx, dword [eax + 4]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x24], ecx
lea ecx, [eax + 0x2c]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x5c], ecx
add ecx, edx
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x78], ecx
mov ecx, edi
sub ecx, edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov edx, 1
mov ecx, dword [eax + 0xb8]
shl edx, cl
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x10]
sub esi, edx
mov dword [esp + 0x2c], edi
cmp eax, edx
mov dword [esp + 0x1c], 3
mov eax, dword [esp + 0x20]
cmovbe esi, ecx
push 0xcf1bbcdc
push 0xbb000000
cmp dword [eax + 0x18], 0
mov edx, dword [eax + 0xc4]
push dword [edi + 4]
cmovne esi, ecx
mov dword [esp + 0x54], edx
push dword [edi]
mov ecx, 5
mov dword [esp + 0x5c], esi
mov esi, dword [eax + 0x54]
cmp edx, ecx
mov dword [esp + 0x7c], esi
cmovb ecx, edx
mov dword [esp + 0x84], esi
mov edx, dword [eax + 0x50]
mov eax, dword [eax + 0xb4]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x80], edx
mov edx, 1
shl edx, cl
mov dword [esp + 0x18], edx
mov dword [esp + 0x68], eax
call fcn.007bcf30
mov esi, dword [esp + 0x58]
mov ecx, 0x42
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
sub ecx, dword [esi + 0xc0]
call fcn.007bcf90
mov ecx, dword [esp + 0x48]
shl eax, 2
mov dword [esp + 0x5c], eax
cmp ecx, 5
jbe 0x78f3a6
add ecx, 0xfffffffb
mov eax, 1
shl eax, cl
mov dword [esp + 0x48], eax
jmp 0x78f3ae
mov dword [esp + 0x48], 0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], 0x1f
cmp dword [ecx + 0xdc], 0
jne 0x78f697
mov eax, dword [esp + 0x44]
mov esi, dword [ecx + 0x1c]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
sub eax, esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x54], edx
mov dword [esp + 0x3c], 0x38
cmp eax, 0x180
jbe 0x78f596
lea eax, [esi + 0x60]
mov dword [esp + 0x54], edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
cmp esi, dword [esp + 0x38]
jae 0x78f4dd
mov esi, dword [esp + 0x3c]
sub esi, dword [esp + 0x40]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x50], esi
nop dword [eax]
push 0xcf1bbcdc
push 0xbb000000
push dword [edx + edi + 0xc]
push dword [edx + edi + 8]
call fcn.007bcf30
mov ecx, dword [esp + 0x20]
xor eax, dword [ecx + 0x50]
xor edx, dword [ecx + 0x54]
mov ecx, esi
call fcn.007bcf90
mov esi, dword [esp + 0x18]
mov ecx, edi
and ecx, 7
mov edx, dword [esi + ecx*4]
mov dword [esi + ecx*4], eax
mov eax, edx
mov ecx, dword [esp + 0x44]
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x28]
add edx, eax
lea esi, [ecx + eax*4]
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x14]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0xc]
mov dword [esi + ecx*4], edi
inc edi
mov esi, dword [esp + 0x50]
cmp edi, dword [esp + 0x38]
jb 0x78f440
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
mov eax, dword [ecx + 0x5c]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 0x24]
lea edx, [edi + 1]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add esi, 0xffffffe0
mov dword [esp + 0x38], eax
mov dword [esp + 0x64], esi
lea eax, [ecx + esi]
cmp eax, edx
jbe 0x78f501
xor edx, edx
jmp 0x78f506
sub edx, ecx
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 0x78f592
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x14], eax
nop dword [eax]
push 0xcf1bbcdc
push 0xbb000000
push dword [ecx + esi + 4]
push dword [ecx + esi]
call fcn.007bcf30
xor eax, dword [edi + 0x50]
xor edx, dword [edi + 0x54]
mov ecx, dword [esp + 0x14]
call fcn.007bcf90
mov ecx, esi
inc esi
and ecx, 7
mov dword [edi + ecx*4 + 0x2c], eax
mov ecx, dword [esp + 0xc]
cmp esi, dword [esp + 0x80]
jb 0x78f530
mov eax, dword [edi + 0x5c]
mov edx, dword [edi + 4]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x24]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x54], edx
jmp 0x78f596
mov edx, dword [esp + 0x54]
cmp esi, dword [esp + 0x10]
jae 0x78f64d
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x80], eax
nop dword [eax]
nop word [eax + eax]
push 0xcf1bbcdc
push 0xbb000000
push dword [edi + edx + 0xc]
push dword [edi + edx + 8]
call fcn.007bcf30
mov ecx, dword [esp + 0x20]
xor eax, dword [ecx + 0x50]
xor edx, dword [ecx + 0x54]
mov ecx, dword [esp + 0x80]
call fcn.007bcf90
mov esi, dword [esp + 0x18]
mov ecx, edi
and ecx, 7
mov edx, dword [esi + ecx*4]
mov dword [esi + ecx*4], eax
mov eax, edx
mov ecx, dword [esp + 0x50]
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x14]
add edx, eax
lea esi, [ecx + eax*4]
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x70]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x54]
mov dword [esi + ecx*4], edi
inc edi
mov esi, dword [esp + 0x10]
cmp edi, esi
jb 0x78f5c0
mov edi, dword [esp + 0x2c]
jmp 0x78f651
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push 0xcf1bbcdc
push 0xbb000000
mov dword [edx + 0x1c], esi
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.007bcf30
mov ecx, dword [esp + 0x3c]
xor eax, dword [esp + 0x7c]
xor edx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x40]
call fcn.007bcf90
mov ecx, esi
mov esi, dword [esp + 0x18]
and ecx, 7
mov edx, dword [esi + ecx*4]
mov dword [esi + ecx*4], eax
mov ecx, dword [esp + 0x20]
jmp 0x78f6c5
movq xmm0, qword [esp + 0x70]
mov eax, 0x38
sub eax, dword [esp + 0x40]
movq xmm1, qword [esp + 0x80]
xorps xmm1, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x10]
psrlq xmm1, xmm0
mov dword [ecx + 0x1c], eax
movd edx, xmm1
add dword [ecx + 0x58], edx
mov eax, edx
mov ecx, dword [esp + 0x44]
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x40], edx
mov dword [esp + 0x14], 0
lea ecx, [ecx + eax*4]
add eax, dword [esp + 0x28]
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ecx
xor ecx, ecx
mov dword [esp + 0x28], 0
mov al, byte [eax]
mov byte [esp + 0x37], al
movzx eax, al
mov dword [esp + 0x30], eax
movsx eax, dl
mov edx, dword [esp + 0x44]
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
nop dword [eax + eax]
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 0x78f730
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 0x78f7d3
mov esi, dword [esp + 8]
xor edi, edi
test esi, esi
je 0x78f7c7
test edx, edx
jne 0x78f785
bsf eax, ecx
add eax, 0x20
jmp 0x78f788
bsf eax, edx
add eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
and eax, 0x1f
mov eax, dword [ecx + eax*4]
je 0x78f7a7
cmp eax, dword [esp + 0x4c]
jb 0x78f7c7
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 0x78f775
jb 0x78f7c7
test edx, edx
jne 0x78f775
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x30]
mov edx, 0x1f
mov esi, dword [esp + 0x3c]
dec ecx
and ecx, 0x1f
mov eax, 0
cmove eax, edx
mov edx, dword [esp + 0x44]
add ecx, eax
mov eax, dword [esp + 0x40]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x1c]
mov dword [esi + ecx*4], eax
inc dword [edx + 0x1c]
cmp dword [esp + 0x28], 0
mov esi, dword [esp + 0x24]
jbe 0x78f8d4
mov ecx, 3
xor eax, eax
nop
mov eax, dword [esp + eax*4 + 0x98]
mov edx, dword [esp + 0xc]
add edx, eax
mov dword [esp + 0x4c], eax
mov eax, dword [edx + ecx - 3]
cmp eax, dword [ecx + edi - 3]
jne 0x78f8c1
lea ecx, [esi - 3]
mov eax, edi
cmp edi, ecx
jae 0x78f877
mov eax, dword [edx]
xor eax, dword [edi]
je 0x78f856
bsf ecx, eax
shr ecx, 3
jmp 0x78f89b
lea eax, [edi + 4]
add edx, 4
cmp eax, ecx
jae 0x78f877
mov ecx, dword [edx]
xor ecx, dword [eax]
jne 0x78fb06
add eax, 4
lea ecx, [esi - 3]
add edx, 4
cmp eax, ecx
jb 0x78f860
lea ecx, [esi - 1]
cmp eax, ecx
jae 0x78f88c
mov cx, word [edx]
cmp cx, word [eax]
jne 0x78f88c
add eax, 2
add edx, 2
cmp eax, esi
jae 0x78f897
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x78f897
inc eax
mov ecx, eax
sub ecx, edi
cmp ecx, dword [esp + 0x1c]
jbe 0x78f8bd
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x68]
add eax, 3
mov dword [esp + 0x1c], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x78f8d4
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jb 0x78f820
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x48]
add esi, dword [esp + 8]
mov dword [esp + 0x2c], esi
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x48], eax
sub eax, ecx
add eax, dword [esp + 0x60]
mov dword [esp + 0x30], eax
mov eax, 3
cmp esi, eax
mov dword [esp + 0xc], ecx
cmovb eax, esi
xor edx, edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x18], edx
test eax, eax
je 0x78f9f4
mov eax, dword [esp + 0x5c]
lea edx, [eax*4]
mov dword [esp + 8], edx
nop word [eax + eax]
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x48]
mov eax, dword [eax + 0x5c]
mov eax, dword [edx + eax]
add esi, eax
mov dword [esp + 0x4c], eax
test eax, eax
je 0x78faee
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x78f9d4
add esi, 4
lea eax, [edi + 4]
sub eax, esi
add eax, ecx
mov ecx, dword [esp + 0x24]
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 + 0x60], eax
lea ecx, [eax + esi]
mov esi, dword [esp + 0x24]
cmp ecx, dword [esp + 0xc]
jne 0x78f99f
push esi
push dword [esp + 0x7c]
add eax, 4
add eax, edi
push eax
call fcn.00782bc0
add esp, 0xc
add eax, dword [esp + 0x60]
lea ecx, [eax + 4]
cmp ecx, dword [esp + 0x1c]
jbe 0x78f9cc
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x30]
mov edx, dword [esp + 0x68]
add eax, 3
mov dword [esp + 0x1c], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x78fb15
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
add edx, 4
inc eax
mov dword [esp + 8], edx
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x6c]
jb 0x78f930
mov esi, dword [esp + 0x2c]
mov edx, eax
mov eax, dword [esp + 0x58]
sub esi, edx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x5c], 0
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + ecx*4 + 0xc]
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], eax
shr dword [esp + 8], 8
movzx eax, al
cmp esi, eax
cmova esi, eax
mov dword [esp + 0x2c], esi
test esi, esi
je 0x78faee
mov eax, dword [esp + 8]
lea edx, [eax*4]
mov dword [esp + 8], edx
nop dword [eax]
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x48]
mov eax, dword [eax + 0x64]
mov eax, dword [edx + eax]
add esi, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x78fad0
add esi, 4
lea eax, [edi + 4]
sub eax, esi
add eax, ecx
mov ecx, dword [esp + 0x24]
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 + 0x60], eax
lea ecx, [eax + esi]
mov esi, dword [esp + 0x24]
cmp ecx, dword [esp + 0xc]
jne 0x78faa3
push esi
push dword [esp + 0x7c]
add eax, 4
add eax, edi
push eax
call fcn.00782bc0
add esp, 0xc
add eax, dword [esp + 0x60]
lea ecx, [eax + 4]
cmp ecx, dword [esp + 0x1c]
jbe 0x78facc
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x30]
mov edx, dword [esp + 0x68]
add eax, 3
mov dword [esp + 0x1c], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x78faee
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x5c]
add edx, 4
mov ecx, dword [esp + 0xc]
inc eax
mov dword [esp + 0x5c], eax
mov dword [esp + 8], edx
cmp eax, dword [esp + 0x2c]
jb 0x78fa40
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.007bcf1e
mov esp, ebp
pop ebp
ret
bsf ecx, ecx
shr ecx, 3
sub ecx, edi
add ecx, eax
jmp 0x78f89b
mov eax, ecx
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
xor ecx, esp
call fcn.007bcf1e
mov esp, ebp
pop ebp
ret