Function at 0x1002ff10
Capabilities:
Encode data using xor
Hash data with crc32
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10098740
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x100c0040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x41c
mov dword [ebp - 0x20], 0
call fcn.100720a9
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
push 0x10033390
push 0x100333f0
push 2
lea ebx, [edi + 0x400]
mov dword [ebp - 4], 0
push 0xc
push ebx
mov dword [ebp - 0x2c], ebx
call fcn.1007255b
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [edi + 0x418], eax
mov ecx, esi
mov eax, esi
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
test al, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0xedb88320
test dl, 1
cmove eax, ecx
mov dword [edi + esi*4], eax
inc esi
cmp esi, 0x100
jb 0x1002ff80
mov ecx, dword [ebx]
mov eax, dword [edi + 0x418]
mov dword [ebp - 0x28], eax
cmp ecx, dword [ebx + 4]
je 0x10030033
mov dword [ebx + 4], ecx
mov dword [ebp - 4], 1
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x18], edx
xor esi, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], 1
test eax, eax
je 0x100300f2
mov edi, 0x5a4d
cmp word [eax], di
mov edi, dword [ebp - 0x10]
jne 0x100300f2
mov edx, dword [eax + 0x3c]
add edx, eax
mov dword [ebp + 8], edx
cmp dword [edx], 0x4550
jne 0x100300f0
movzx eax, word [edx + 0x14]
xor ebx, ebx
add edx, 0x18
add eax, edx
xor edx, edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], edx
cmp bx, word [eax + 6]
lea ebx, [edi + 0x400]
jae 0x100300f0
mov ebx, dword [ebp - 0x24]
mov edi, eax
mov dword [ebp + 8], ebx
cmp esi, ecx
je 0x100300b7
mov dword [esi], ebx
add esi, 4
mov dword [ebp - 0x34], esi
jmp 0x100300cd
lea eax, [ebp + 8]
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.1003a780
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x14]
movzx eax, word [edi + 6]
inc edx
add ebx, 0x28
mov dword [ebp - 0x14], edx
cmp edx, eax
jb 0x100300a6
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
lea ebx, [edi + 0x400]
jmp 0x100300f2
xor edx, edx
mov eax, edx
mov dword [ebp - 0x14], edx
cmp eax, esi
je 0x100301b9
nop
mov edi, dword [eax]
mov dword [ebp + 8], edi
mov edx, dword [edi + 0x24]
mov ecx, edx
shr ecx, 0x1d
mov eax, edx
shr eax, 0x1e
and ecx, 1
and eax, 1
lea ecx, [eax + ecx*2]
mov eax, edx
shr eax, 0x1f
lea eax, [eax + ecx*2]
mov eax, dword [eax*4 + 0x100a8720]
mov ecx, eax
or ecx, 0x200
test edx, 0x4000000
cmove ecx, eax
cmp ecx, 4
je 0x100301a2
cmp ecx, 0x40
je 0x100301a2
cmp ecx, 0x80
je 0x100301a2
mov ecx, dword [ebp + 8]
xor edx, edx
mov edi, dword [edi + 0xc]
or eax, 0xffffffff
add edi, dword [ebp - 0x28]
cmp dword [ecx + 8], edx
jbe 0x10030181
mov esi, dword [ebp - 0x10]
movzx ecx, byte [edx + edi]
inc edx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [esi + ecx*4]
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx + 8]
jb 0x10030163
mov esi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebx + 4]
not eax
mov dword [ebp + 8], eax
cmp ecx, dword [ebx + 8]
je 0x10030196
mov dword [ecx], eax
add dword [ebx + 4], 4
jmp 0x100301a2
lea eax, [ebp + 8]
push eax
push ecx
mov ecx, ebx
call fcn.1003a780
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
cmp eax, esi
jne 0x10030100
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x100301e9
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x100301df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100301ff
push ecx
push edx
call fcn.1007250d
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.1007e90a
int3