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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
push 0x50
lea eax, [esp + 0x30]
push 0
push eax
call fcn.1000fd10
mov eax, dword fs:[0x30]
mov dword [esp + 0x60], eax
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0xc]
mov edi, dword [eax + 0x18]
mov ecx, dword [esp + 0x38]
add esp, 0xc
test edi, edi
je 0x10001177
mov ebx, 0x74
jmp 0x10001140
mov esi, dword [eax + 0x30]
movzx edx, word [esi]
cmp dx, 0x4e
je 0x10001152
cmp dx, 0x6e
jne 0x1000116a
cmp word [esi + 2], bx
jne 0x1000116a
mov edx, esi
mov si, word [edx + 6]
cmp si, word [edx + 8]
jne 0x1000116a
mov ecx, edi
mov dword [esp + 0x2c], ecx
test ecx, ecx
jne 0x10001177
mov eax, dword [eax]
mov edi, dword [eax + 0x18]
test edi, edi
jne 0x10001140
mov edx, dword [ecx + 0x3c]
mov edx, dword [edx + ecx + 0x78]
mov eax, dword [edx + ecx + 0x20]
mov ebx, dword [edx + ecx + 0x24]
add edx, ecx
add eax, ecx
mov dword [esp + 0x10], edx
add ebx, ecx
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov ebp, dword [eax + ecx + 0xc]
mov edx, dword [eax + ecx]
mov esi, dword [eax + ecx + 4]
mov edi, dword [eax + ecx + 8]
add eax, ecx
xor ebp, 0x98226719
mov dword [esp + 0x14], ebp
mov ebp, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
xor ebp, 0x98226719
xor edx, 0x98226719
xor esi, 0x98226719
xor edi, 0x98226719
xor eax, 0x98226719
cmp dword [esp + 0x38], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebp
jne 0x1000122f
cmp edx, 0xf4631043
jne 0x1000122f
cmp esi, 0xf9410875
jne 0x1000122f
cmp edi, 0xf174026d
jne 0x1000122f
cmp dword [esp + 0x14], 0xf957136b
jne 0x1000122f
cmp ebp, 0xf5472a75
jne 0x1000122f
cmp eax, 0x985b1576
jne 0x1000122f
movzx ebx, word [ebx]
mov ebp, dword [esp + 0x10]
mov ebp, dword [ebp + 0x1c]
lea ebx, [ebp + ebx*4]
mov ebx, dword [ebx + ecx]
add ebx, ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x3c], 0
jne 0x1000127d
cmp edx, 0xea641043
jne 0x1000127d
cmp esi, 0xf174027c
jne 0x1000127d
cmp edi, 0xf957136b
jne 0x1000127d
cmp dword [esp + 0x14], 0xf5472a75
jne 0x1000127d
cmp dword [esp + 0x18], 0x985b1576
jne 0x1000127d
movzx ebx, word [ebx]
mov ebp, dword [esp + 0x10]
mov ebp, dword [ebp + 0x1c]
lea ebx, [ebp + ebx*4]
mov ebx, dword [ebx + ecx]
add ebx, ecx
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x34], 0
jne 0x100012af
cmp edx, 0xd4500355
jne 0x100012af
cmp esi, 0xdc460676
jne 0x100012af
movzx ebx, word [ebx]
mov ebp, dword [esp + 0x10]
mov ebp, dword [ebp + 0x1c]
lea ebx, [ebp + ebx*4]
mov ebx, dword [ebx + ecx]
add ebx, ecx
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x30], 0
jne 0x100012fd
cmp edx, 0xdf500355
jne 0x100012fd
cmp esi, 0xea72137c
jne 0x100012fd
cmp edi, 0xfc470476
jne 0x100012fd
cmp dword [esp + 0x14], 0xd947156c
jne 0x100012fd
cmp dword [esp + 0x18], 0xfd50037d
jne 0x100012fd
movzx ebx, word [ebx]
mov ebp, dword [esp + 0x10]
mov ebp, dword [ebp + 0x1c]
lea ebx, [ebp + ebx*4]
mov ebx, dword [ebx + ecx]
add ebx, ecx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x44], 0
jne 0x1000134e
cmp edx, 0xd94e134b
jne 0x1000134e
cmp esi, 0xcb4b1477
jne 0x1000134e
cmp edi, 0xf64b156d
jne 0x1000134e
cmp dword [esp + 0x14], 0xcd4d337e
jne 0x1000134e
cmp dword [esp + 0x18], 0xf7410e77
jne 0x1000134e
cmp eax, 0xec71027d
jne 0x1000134e
movzx eax, word [ebx]
mov ebp, dword [esp + 0x10]
mov ebp, dword [ebp + 0x1c]
lea eax, [ebp + eax*4]
mov eax, dword [eax + ecx]
add eax, ecx
mov dword [esp + 0x44], eax
mov ebp, dword [esp + 0x48]
test ebp, ebp
jne 0x10001399
cmp edx, 0xde4e134b
jne 0x10001399
cmp esi, 0xcd47026b
jne 0x10001399
cmp edi, 0xf7410e77
jne 0x10001399
cmp dword [esp + 0x14], 0xec71027d
jne 0x10001399
cmp dword [esp + 0x18], 0xff4c0e6b
jne 0x10001399
movzx eax, word [ebx]
mov ebp, dword [esp + 0x10]
mov ebp, dword [ebp + 0x1c]
lea eax, [ebp + eax*4]
mov ebp, dword [eax + ecx]
add ebp, ecx
mov dword [esp + 0x48], ebp
cmp dword [esp + 0x40], 0
jne 0x100013ed
cmp edx, 0xdc4e134b
jne 0x100013ed
cmp esi, 0xf54d047c
jne 0x100013ed
cmp edi, 0xeb471569
jne 0x100013ed
cmp dword [esp + 0x14], 0xfe57256a
jne 0x100013ed
xor edx, edx
cmp dword [esp + 0x18], 0x726566
sete dl
xor edx, 0x98226719
je 0x100013ed
movzx eax, word [ebx]
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x1c]
lea eax, [edx + eax*4]
mov eax, dword [eax + ecx]
add eax, ecx
mov dword [esp + 0x40], eax
cmp dword [esp + 0x34], 0
je 0x10001414
cmp dword [esp + 0x38], 0
je 0x10001414
cmp dword [esp + 0x3c], 0
je 0x10001414
cmp dword [esp + 0x30], 0
je 0x10001414
test ebp, ebp
je 0x10001414
cmp dword [esp + 0x44], 0
jne 0x10001423
mov eax, dword [esp + 0x24]
add eax, 4
add ebx, 2
jmp 0x10001190
mov ebp, dword [esp + 0x80]
lea esi, [ebp + 4]
xor ecx, ecx
mov eax, esi
mov dx, word [ebp + 2]
add word [eax], dx
movzx edx, word [eax]
mov di, word [ebp]
xor di, dx
lea edx, [ecx + 0xf4c]
mov word [eax], di
add word [ebp], dx
inc ecx
add eax, 2
cmp ecx, 4
jl 0x10001431
mov eax, dword [ebp + 8]
and eax, 0xfffffffe
mov ecx, 4
cmp eax, 8
jbe 0x1000149b
lea eax, [ebp + 0xc]
jmp 0x10001470
mov dx, word [ebp + 2]
add word [eax], dx
movzx edx, word [eax]
mov di, word [ebp]
xor di, dx
lea edx, [ecx + 0xf4c]
mov word [eax], di
add word [ebp], dx
mov edx, dword [ebp + 8]
inc ecx
shr edx, 1
add eax, 2
cmp ecx, edx
jb 0x10001470
mov eax, dword [esi]
push 4
push 0x1000
lea ecx, [esp + 0x28]
push ecx
push 0
lea edx, [esp + 0x5c]
push edx
push 0xffffffffffffffff
mov dword [esp + 0x38], eax
call dword [esp + 0x50]
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x50]
push eax
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x54]
lea edx, [ebp + 0xc]
push edx
push eax
push ecx
push 0x102
call dword [esp + 0x58]
mov eax, dword [esp + 0x4c]
mov edx, 0x5a4d
mov dword [esp + 0x58], eax
cmp word [eax], dx
je 0x100014f6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x6c
ret 4
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov dword [esp + 0x5c], ecx
cmp dword [ecx], 0x4550
jne 0x100014ea
mov eax, dword [ecx + 0x50]
push 0x40
push 0x1000
lea ecx, [esp + 0x28]
push ecx
push 0
lea edx, [esp + 0x70]
push edx
push 0xffffffffffffffff
mov dword [esp + 0x38], eax
call dword [esp + 0x50]
mov ecx, dword [esp + 0x60]
xor eax, eax
test ecx, ecx
je 0x100017eb
mov edx, dword [esp + 0x5c]
cmp dword [edx + 0x54], eax
jbe 0x10001558
mov edi, edi
mov edx, dword [esp + 0x58]
mov dl, byte [eax + edx]
mov byte [eax + ecx], dl
mov ecx, dword [esp + 0x5c]
inc eax
cmp eax, dword [ecx + 0x54]
mov ecx, dword [esp + 0x60]
jb 0x10001540
mov edx, dword [esp + 0x58]
mov eax, dword [edx + 0x3c]
add eax, ecx
mov dword [esp + 0x64], eax
mov dword [eax + 0x34], ecx
mov esi, dword [esp + 0x64]
movzx eax, word [esi + 0x14]
xor ecx, ecx
xor edi, edi
lea eax, [eax + esi + 0x18]
cmp cx, word [esi + 6]
jae 0x100015ed
lea ecx, [eax + 0x10]
mov edx, dword [ecx]
test edx, edx
jne 0x100015b9
mov edx, dword [esp + 0x5c]
mov edx, dword [edx + 0x38]
test edx, edx
jbe 0x100015e1
xor eax, eax
test edx, edx
jbe 0x100015e1
jmp 0x100015a0
mov edx, dword [ecx - 4]
mov esi, dword [esp + 0x60]
add edx, eax
mov byte [edx + esi], 0
mov edx, dword [esp + 0x5c]
inc eax
cmp eax, dword [edx + 0x38]
jb 0x100015a0
jmp 0x100015dd
xor eax, eax
test edx, edx
jbe 0x100015e1
nop
mov edx, dword [ecx + 4]
mov ebx, dword [esp + 0x4c]
mov esi, dword [ecx - 4]
add edx, eax
mov dl, byte [edx + ebx]
mov ebx, dword [esp + 0x60]
add esi, eax
inc eax
mov byte [esi + ebx], dl
cmp eax, dword [ecx]
jb 0x100015c0
mov esi, dword [esp + 0x64]
movzx eax, word [esi + 6]
inc edi
add ecx, 0x28
cmp edi, eax
jl 0x10001581
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov ebx, eax
sub ebx, dword [ecx + 0x34]
mov dword [esp + 0x68], ebx
je 0x10001688
cmp dword [esi + 0xa4], 0
jbe 0x10001688
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx + eax]
add ecx, eax
test edx, edx
jbe 0x10001688
mov ebp, dword [ecx + 4]
lea edi, [eax + edx]
sub ebp, 8
xor edx, edx
lea esi, [ecx + 8]
test ebp, 0xfffffffe
jbe 0x10001674
jmp 0x10001640
movzx eax, word [esi]
mov ebp, eax
and ebp, 0xfffff000
cmp ebp, 0x3000
jne 0x10001660
and eax, 0xfff
add eax, edi
add dword [eax], ebx
mov ebx, dword [esp + 0x68]
mov eax, dword [ecx + 4]
sub eax, 8
inc edx
shr eax, 1
add esi, 2
cmp edx, eax
jb 0x10001640
mov eax, dword [esp + 0x60]
add ecx, dword [ecx + 4]
mov edx, dword [ecx]
test edx, edx
ja 0x10001620
mov esi, dword [esp + 0x64]
mov ebp, dword [esp + 0x80]
cmp dword [esi + 0x84], 0
jbe 0x10001795
mov ebx, dword [esi + 0x80]
add ebx, eax
je 0x10001795
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x10001791
add ecx, eax
xor eax, eax
mov dword [esp + 0x78], ecx
cmp byte [ecx], al
je 0x100016c7
lea ebx, [ebx]
inc eax
cmp byte [eax + ecx], 0
jne 0x100016c0
push 1
lea ecx, [esp + 0x78]
mov word [esp + 0x78], ax
push ecx
lea edx, [esp + 0x74]
inc eax
push edx
mov word [esp + 0x82], ax
call dword [esp + 0x50]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x70]
push ecx
push 0
push 0
call dword [esp + 0x44]
lea edx, [esp + 0x6c]
push edx
call dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
test edx, edx
je 0x100014ea
mov ecx, dword [ebx]
mov eax, dword [esp + 0x60]
test ecx, ecx
je 0x10001720
mov esi, dword [ebx + 0x10]
lea edi, [eax + ecx]
add esi, eax
jmp 0x10001728
mov ecx, dword [ebx + 0x10]
lea edi, [ecx + eax]
mov esi, edi
mov ecx, dword [edi]
test ecx, ecx
je 0x10001788
jmp 0x10001738
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x28]
test ecx, ecx
jns 0x10001745
movzx eax, word [edi]
push esi
push eax
push 0
jmp 0x1000176d
lea ecx, [ecx + eax + 2]
xor eax, eax
mov dword [esp + 0x78], ecx
cmp byte [ecx], al
je 0x1000175a
inc eax
cmp byte [eax + ecx], 0
jne 0x10001753
push esi
mov word [esp + 0x78], ax
inc eax
push 0
lea ecx, [esp + 0x7c]
mov word [esp + 0x7e], ax
push ecx
push edx
call dword [esp + 0x40]
cmp dword [esi], 0
je 0x10001784
mov ecx, dword [edi + 4]
add edi, 4
add esi, 4
test ecx, ecx
jne 0x10001730
mov eax, dword [esp + 0x60]
add ebx, 0x14
jne 0x100016a3
mov esi, dword [esp + 0x64]
mov esi, dword [esi + 0x28]
add esi, eax
xor ecx, ecx
jmp 0x100017a4
mov eax, dword [esp + 0x60]
mov byte [ecx + eax], 0
inc ecx
cmp ecx, 4
jb 0x100017a0
xor eax, eax
mov edx, dword [esp + 0x64]
mov byte [eax + edx], 0
inc eax
cmp eax, 4
jb 0x100017b0
mov eax, dword [esp + 0x64]
cmp dword [eax + 0x28], 0
je 0x100017d2
mov ecx, dword [esp + 0x60]
push ebp
push 1
push ecx
call esi
push 0x4000
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
push 0xffffffffffffffff
call dword [esp + 0x4c]
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 4