Function at 0x100204c0
Capabilities:
Encode data using xor
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xffffffe0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100883e7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xe8
mov eax, dword [0x100b0040]
xor eax, ebp
mov dword [ebp - 0x24], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
lea esi, [eax + 0x40c]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xac], esi
mov eax, dword [eax + 0x418]
mov dword [ebp - 0xcc], eax
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x10020536
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xcc]
xor edx, edx
mov dword [ebp - 4], 0
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xd4], 1
test eax, eax
je 0x10020646
mov esi, 0x5a4d
cmp word [eax], si
mov esi, dword [ebp - 0xac]
jne 0x10020646
mov edx, dword [eax + 0x3c]
add edx, eax
mov dword [ebp - 0xb0], edx
cmp dword [edx], 0x4550
jne 0x10020644
movzx eax, word [edx + 0x14]
add edx, 0x18
add eax, edx
xor edx, edx
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], edx
cmp di, word [eax + 6]
jae 0x10020644
mov esi, dword [ebp - 0xc8]
nop dword [eax]
mov dword [ebp - 0xc8], esi
cmp edi, ecx
je 0x100205e7
mov dword [edi], esi
add edi, 4
mov dword [ebp - 0xc0], edi
jmp 0x10020612
lea eax, [ebp - 0xc8]
push eax
push edi
lea ecx, [ebp - 0xc4]
call fcn.1002aa30
mov ecx, dword [ebp - 0xbc]
mov edi, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xb0]
movzx eax, word [eax + 6]
inc edx
add esi, 0x28
mov dword [ebp - 0xb4], edx
cmp edx, eax
mov eax, dword [ebp - 0xb0]
jb 0x100205d0
mov edx, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xac]
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xd0], edx
jmp 0x10020646
xor edx, edx
mov eax, edx
mov dword [ebp - 0xb0], edx
cmp eax, edi
je 0x10020743
nop word [eax + eax]
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
mov esi, dword [eax + 0x24]
mov edx, esi
shr edx, 0x1d
mov eax, esi
shr eax, 0x1e
and edx, 1
and eax, 1
mov ecx, esi
shr ecx, 0x1f
lea eax, [eax + edx*2]
lea eax, [ecx + eax*2]
mov eax, dword [eax*4 + 0x10098700]
mov ecx, eax
or ecx, 0x200
test esi, 0x4000000
cmove ecx, eax
cmp ecx, 4
je 0x10020720
cmp ecx, 0x40
je 0x10020720
cmp ecx, 0x80
je 0x10020720
mov ecx, dword [ebp - 0xb4]
xor edx, edx
or eax, 0xffffffff
mov esi, dword [ecx + 0xc]
add esi, dword [ebp - 0xcc]
cmp dword [ecx + 8], edx
jbe 0x100206f1
mov edi, dword [ebp - 0xb8]
nop
movzx ecx, byte [edx + esi]
inc edx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [edi + ecx*4]
mov ecx, dword [ebp - 0xb4]
cmp edx, dword [ecx + 8]
jb 0x100206d0
mov edi, dword [ebp - 0xc0]
mov esi, dword [ebp - 0xac]
not eax
mov dword [ebp - 0xa4], eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x1002070f
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x10020726
lea eax, [ebp - 0xa4]
push eax
push ecx
mov ecx, esi
call fcn.1002aa30
jmp 0x10020726
mov esi, dword [ebp - 0xac]
mov eax, dword [ebp - 0xb0]
add eax, 4
mov dword [ebp - 0xb0], eax
cmp eax, edi
jne 0x10020660
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 4], 0xffffffff
test edx, edx
je 0x100207a9
mov ecx, dword [ebp - 0xd8]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10020781
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10020992
push ecx
push edx
call fcn.1006266a
add esp, 8
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x400]
mov edi, dword [eax + 0x404]
mov eax, dword [esi + 4]
sub edi, ecx
mov esi, dword [esi]
sub eax, esi
sar edi, 2
sar eax, 2
cmp edi, eax
jne 0x10020997
xor edx, edx
test edi, edi
je 0x100207ef
sub esi, ecx
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [esi + ecx]
jne 0x1002080f
inc edx
add ecx, 4
cmp edx, edi
jb 0x100207e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.1006222d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov dword [ebp - 0xa8], 0x42282c56
mov dword [ebp - 0xa4], 0xedbd99b0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa8], 0x8b18fb2
mov dword [ebp - 0xa4], 0x5d45998a
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0xa8], 0x5bbbb847
mov dword [ebp - 0xa4], 0x616f4d9d
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0xa8], 0xeff2b6f4
mov dword [ebp - 0xa4], 0x9bcd17fa
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0xa8], 0x364b4905
mov dword [ebp - 0xa4], 0xcdd3f6d9
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0xa8], 0x28c2eeda
mov dword [ebp - 0xa4], 0x3320fce8
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0xa8], 0x3ad3db67
mov dword [ebp - 0xa4], 0x50a2af3
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0xa8], 0xeff2b6f4
mov dword [ebp - 0xa4], 0x9bcd17fa
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0xe4]
vmovdqu ymm0, ymmword [ebp - 0x60]
vpxor ymm0, ymm0, ymmword [ebp - 0xa0]
vmovdqa ymmword [ebp - 0xa0], ymm0
push eax
vzeroupper
call fcn.10010180
push 0x100a0714
lea eax, [ebp - 0xe4]
push eax
call fcn.10064b7f
call fcn.1006eb7a
mov dword [ebp - 0xa8], 0x42282c56
mov dword [ebp - 0xa4], 0xbebd99b0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0xa8], 0x4db08ffa
mov dword [ebp - 0xa4], 0x474f92c8
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0xa8], 0x4fa2be47
mov dword [ebp - 0xa4], 0x50a4692
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0xa8], 0xeff2b6f4
mov dword [ebp - 0xa4], 0x9bcd17fa
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0xa8], 0x364b4905
mov dword [ebp - 0xa4], 0xcdd3f6d9
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0xa8], 0x28c2eeda
mov dword [ebp - 0xa4], 0x3320fce8
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0xa8], 0x3ad3db67
mov dword [ebp - 0xa4], 0x50a2af3
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0xa8], 0xeff2b6f4
mov dword [ebp - 0xa4], 0x9bcd17fa
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0xc4]
vmovdqu ymm0, ymmword [ebp - 0x60]
vpxor ymm0, ymm0, ymmword [ebp - 0x80]
vmovdqa ymmword [ebp - 0x80], ymm0
push eax
vzeroupper
call fcn.10010180
push 0x100a0714
lea eax, [ebp - 0xc4]
push eax
call fcn.10064b7f
int3