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

Disassembly:
sub esp, 0x178
mov eax, dword [0x94bd40]
xor eax, esp
mov dword [esp + 0x174], eax
mov eax, dword [esp + 0x188]
mov edx, 1
mov dword [esp + 0xc], eax
push esi
mov esi, dword [esp + 0x180]
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x188]
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x64]
push edi
mov edi, dword [esp + 0x188]
mov dword [esp + 0x38], edi
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x58], eax
lea eax, [esi + 0x2c]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x28], eax
add eax, ecx
mov dword [esp + 8], eax
mov eax, edi
sub eax, ecx
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0xb8]
shl edx, cl
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x64], eax
sub eax, ecx
mov edi, dword [esp + 0x64]
sub edi, edx
mov dword [esp + 0x6c], 3
cmp eax, edx
mov eax, edi
mov edi, dword [esp + 0x38]
mov edx, 1
cmovbe eax, ecx
cmp dword [esi + 0x18], 0
cmovne eax, ecx
mov ecx, 4
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0xc4]
cmp eax, ecx
cmovb ecx, eax
mov eax, dword [esi + 0x50]
shl edx, cl
mov ecx, 0x22
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x54], edx
imul edx, dword [edi], 0x9e3779b1
mov dword [esp + 0x18], eax
sub ecx, dword [eax + 0xc0]
mov eax, edx
shr eax, cl
mov ecx, dword [esi + 0xc4]
shl eax, 2
mov dword [esp + 0x2c], eax
cmp ecx, 4
jbe 0x78d1be
add ecx, 0xfffffffc
mov eax, 1
shl eax, cl
mov dword [esp + 0x30], eax
jmp 0x78d1c6
mov dword [esp + 0x30], 0
mov ecx, esi
mov dword [esp + 0x48], 0xf
cmp dword [ecx + 0xdc], 0
jne 0x78d448
mov eax, dword [esp + 0x1c]
mov esi, dword [ecx + 0x1c]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x64]
sub eax, esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], 0x18
cmp eax, 0x180
jbe 0x78d385
mov eax, dword [esp + 0x1c]
lea edx, [esi + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x60], edx
mov dword [esp + 0x3c], eax
cmp esi, edx
jae 0x78d2df
mov esi, dword [esp + 0x24]
sub esi, dword [esp + 0x20]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x5c], esi
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x74]
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 + 0x34]
shr edx, cl
mov ecx, dword [esi + eax*4]
mov dword [esi + eax*4], edx
mov eax, ecx
mov edx, dword [esp + 0x58]
shr eax, 4
mov dword [esp + 0x70], ecx
and eax, 0xffffff0
mov ecx, dword [esp + 0x1c]
add edx, eax
lea esi, [ecx + eax*4]
movzx ecx, byte [edx]
dec ecx
mov eax, 0
and ecx, 0xf
cmove eax, dword [esp + 0x48]
add ecx, eax
mov eax, dword [esp + 0x70]
mov byte [edx], cl
mov byte [ecx + edx], al
mov dword [esi + ecx*4], edi
inc edi
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x5c]
cmp edi, dword [esp + 0x60]
jb 0x78d254
mov eax, dword [ecx + 0x5c]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x24]
lea edx, [edi + 1]
mov esi, dword [esp + 0x64]
add esi, 0xffffffe0
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x74]
add eax, esi
mov dword [esp + 0x70], esi
cmp eax, edx
jbe 0x78d302
xor edx, edx
jmp 0x78d309
sub edx, dword [esp + 0x74]
sub edx, esi
inc edx
mov eax, 8
cmp edx, eax
cmova edx, eax
add edx, esi
mov dword [esp + 0x44], edx
cmp esi, edx
jae 0x78d381
mov eax, dword [esp + 0x24]
mov edi, esi
sub eax, dword [esp + 0x60]
mov dword [esp + 0x5c], eax
nop dword [eax + eax]
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x74]
imul edx, dword [eax + edi], 0x9e3779b1
mov eax, edi
and eax, 7
inc edi
xor edx, dword [ecx + 0x50]
mov ecx, dword [esp + 0x5c]
shr edx, cl
mov ecx, dword [esp + 0x68]
mov dword [ecx + eax*4 + 0x2c], edx
cmp edi, dword [esp + 0x44]
jb 0x78d330
mov eax, dword [ecx + 0x5c]
mov edx, dword [ecx + 4]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x60], eax
mov dword [esp + 0x3c], edx
jmp 0x78d385
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x64]
cmp esi, eax
jae 0x78d419
mov esi, dword [esp + 0x24]
sub esi, dword [esp + 0x60]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x60], esi
imul edx, dword [edx + edi + 8], 0x9e3779b1
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x44], eax
mov eax, edi
and eax, 7
xor edx, dword [ecx + 0x50]
mov ecx, esi
mov esi, dword [esp + 0x34]
shr edx, cl
mov ecx, dword [esi + eax*4]
mov dword [esi + eax*4], edx
mov eax, ecx
mov edx, dword [esp + 0x5c]
shr eax, 4
and eax, 0xffffff0
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x10]
add edx, eax
lea esi, [ecx + eax*4]
movzx ecx, byte [edx]
dec ecx
mov eax, 0
and ecx, 0xf
cmove eax, dword [esp + 0x48]
add ecx, eax
mov eax, dword [esp + 0x44]
mov byte [edx], cl
mov byte [ecx + edx], al
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
mov dword [esi + ecx*4], edi
inc edi
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x60]
cmp edi, eax
jb 0x78d3a1
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
mov dword [esi + 0x1c], eax
imul edx, dword [edi + 8], 0x9e3779b1
xor edx, dword [esp + 0x50]
shr edx, cl
and eax, 7
mov ecx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], edx
mov edx, ecx
mov dword [esp + 0x70], ecx
jmp 0x78d462
xor edx, dword [esp + 0x50]
mov ecx, 0x18
sub ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x64]
shr edx, cl
mov dword [esp + 0x70], edx
mov dword [esi + 0x1c], eax
add dword [esi + 0x58], edx
mov eax, edx
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x58]
shr eax, 4
and eax, 0xffffff0
mov dword [esp + 0x58], 0
add esi, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x44], esi
lea ecx, [ecx + eax*4]
movsx eax, dl
mov dword [esp + 0x48], ecx
movzx ecx, byte [esi]
mov edx, ecx
mov dword [esp + 0x50], 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 0x78d4e3
test esi, esi
je 0x78d538
xor edi, edi
cmp dword [esp + 0x54], 0
jbe 0x78d530
test esi, esi
jne 0x78d4f8
bsf eax, edx
add eax, 0x20
jmp 0x78d4fb
bsf eax, esi
add eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
and eax, 0xf
mov eax, dword [ecx + eax*4]
je 0x78d51a
cmp eax, dword [esp + 0x78]
jb 0x78d530
mov dword [esp + edi*4 + 0x7c], eax
inc edi
dec dword [esp + 0x54]
mov ecx, esi
mov eax, edx
add ecx, 0xffffffff
adc eax, 0xffffffff
and esi, ecx
and edx, eax
ja 0x78d4e5
jb 0x78d530
test esi, esi
jne 0x78d4e5
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
mov edx, 0xf
mov esi, dword [esp + 0x48]
dec ecx
and ecx, 0xf
mov eax, 0
cmove eax, edx
mov edx, dword [esp + 0x44]
add ecx, eax
mov eax, dword [esp + 0x70]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x68]
mov eax, dword [edx + 0x1c]
mov dword [esi + ecx*4], eax
inc dword [edx + 0x1c]
cmp dword [esp + 0x58], 0
jbe 0x78d635
mov ecx, 3
xor eax, eax
nop
mov eax, dword [esp + eax*4 + 0x7c]
mov edx, dword [esp + 0x74]
add edx, eax
mov dword [esp + 0x44], eax
mov eax, dword [edx + ecx - 3]
cmp eax, dword [ecx + edi - 3]
jne 0x78d622
mov esi, dword [esp + 0x4c]
mov eax, edi
lea ecx, [esi - 3]
cmp edi, ecx
jae 0x78d5d8
mov eax, dword [edx]
xor eax, dword [edi]
je 0x78d5b7
bsf ecx, eax
shr ecx, 3
jmp 0x78d5fc
lea eax, [edi + 4]
add edx, 4
cmp eax, ecx
jae 0x78d5d8
mov ecx, dword [edx]
xor ecx, dword [eax]
jne 0x78d87d
add eax, 4
lea ecx, [esi - 3]
add edx, 4
cmp eax, ecx
jb 0x78d5c1
lea ecx, [esi - 1]
cmp eax, ecx
jae 0x78d5ed
mov cx, word [edx]
cmp cx, word [eax]
jne 0x78d5ed
add eax, 2
add edx, 2
cmp eax, esi
jae 0x78d5f8
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x78d5f8
inc eax
mov ecx, eax
sub ecx, edi
cmp ecx, dword [esp + 0x6c]
jbe 0x78d61e
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
add eax, 3
mov dword [esp + 0x6c], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x78d635
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x58]
jb 0x78d580
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x30]
add esi, dword [esp + 0x54]
mov dword [esp + 0x54], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov dword [esp + 0x30], eax
sub eax, edx
add eax, dword [esp + 0x28]
mov dword [esp + 0x50], eax
mov eax, 3
cmp esi, eax
mov dword [esp + 0x74], edx
cmovb eax, esi
xor ecx, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x70], ecx
test eax, eax
je 0x78d760
mov eax, dword [esp + 0x2c]
lea ecx, [eax*4]
mov dword [esp + 0x78], ecx
nop word [eax + eax]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x30]
mov eax, dword [eax + 0x5c]
mov eax, dword [ecx + eax]
add esi, eax
mov dword [esp + 0x44], eax
test eax, eax
je 0x78d862
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x78d740
mov ecx, dword [esp + 0x4c]
lea eax, [edi + 4]
add esi, 4
sub eax, esi
add eax, edx
cmp eax, ecx
cmovb ecx, eax
lea eax, [edi + 4]
push ecx
push esi
push eax
call fcn.00782bc0
mov edx, dword [esp + 0x80]
add esp, 0xc
mov dword [esp + 0x28], eax
lea ecx, [eax + esi]
mov esi, dword [esp + 0x4c]
cmp ecx, edx
jne 0x78d70b
push esi
push dword [esp + 0xc]
add eax, 4
add eax, edi
push eax
call fcn.00782bc0
mov edx, dword [esp + 0x80]
add esp, 0xc
add eax, dword [esp + 0x28]
lea ecx, [eax + 4]
cmp ecx, dword [esp + 0x6c]
jbe 0x78d73c
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x44]
sub eax, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
add eax, 3
mov dword [esp + 0x6c], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
mov edx, dword [esp + 0x74]
cmp eax, esi
je 0x78d88c
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
add ecx, 4
inc eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x70], eax
cmp eax, dword [esp + 0x48]
jb 0x78d690
mov esi, dword [esp + 0x54]
mov ecx, eax
mov eax, dword [esp + 0x18]
sub esi, ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + edx*4 + 0xc]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x78], eax
shr dword [esp + 0x78], 8
movzx eax, al
cmp esi, eax
cmova esi, eax
mov dword [esp + 0x54], esi
test esi, esi
je 0x78d862
mov eax, dword [esp + 0x78]
lea ecx, [eax*4]
mov dword [esp + 0x78], ecx
nop dword [eax]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x30]
mov eax, dword [eax + 0x64]
mov eax, dword [ecx + eax]
add esi, eax
mov dword [esp + 0x44], eax
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x78d844
mov ecx, dword [esp + 0x4c]
lea eax, [edi + 4]
add esi, 4
sub eax, esi
add eax, edx
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 + 0x28], eax
lea ecx, [eax + esi]
mov esi, dword [esp + 0x4c]
cmp ecx, dword [esp + 0x74]
jne 0x78d817
push esi
push dword [esp + 0xc]
add eax, 4
add eax, edi
push eax
call fcn.00782bc0
add esp, 0xc
add eax, dword [esp + 0x28]
lea ecx, [eax + 4]
cmp ecx, dword [esp + 0x6c]
jbe 0x78d840
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x44]
sub eax, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
add eax, 3
mov dword [esp + 0x6c], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x78d862
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x2c]
add ecx, 4
mov edx, dword [esp + 0x74]
inc eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x78], ecx
cmp eax, dword [esp + 0x54]
jb 0x78d7b0
mov eax, dword [esp + 0x6c]
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.007bcf1e
add esp, 0x178
ret
bsf ecx, ecx
shr ecx, 3
sub ecx, edi
add ecx, eax
jmp 0x78d5fc
mov eax, ecx
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
xor ecx, esp
call fcn.007bcf1e
add esp, 0x178
ret