Function at 0x1000b014
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
push ebx
push esi
push edi
push 0x50
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.10133bf0
mov eax, dword fs:[0x30]
add esp, 0xc
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x60], eax
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
mov esi, dword [ecx + 0x18]
test esi, esi
je 0x1000b07f
mov edi, dword [ecx + 0x30]
movzx eax, word [edi]
cmp eax, 0x4e
je 0x1000b05f
cmp eax, 0x6e
jne 0x1000b077
cmp word [edi + 2], 0x74
jne 0x1000b077
mov ax, word [edi + 6]
cmp ax, word [edi + 8]
cmove edx, esi
mov dword [ebp - 0x88], edx
test edx, edx
jne 0x1000b07f
mov ecx, dword [ecx]
jmp 0x1000b048
mov eax, dword [edx + 0x3c]
mov edi, dword [eax + edx + 0x78]
mov eax, dword [ebp - 0x6c]
add edi, edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [edi + 0x20]
mov esi, dword [edi + 0x24]
add ecx, edx
mov dword [ebp - 0x1c], eax
add esi, edx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + edx + 4]
mov ebx, dword [eax + edx]
xor ecx, 0x5be01c10
mov dword [ebp - 0xc], ecx
xor ebx, 0x5be01c10
mov ecx, dword [eax + edx + 8]
xor ecx, 0x5be01c10
mov dword [ebp - 4], ecx
mov ecx, dword [eax + edx + 0xc]
xor ecx, 0x5be01c10
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edx + 0x10]
mov eax, dword [eax + edx + 0x14]
xor ecx, 0x5be01c10
xor eax, 0x5be01c10
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
jne 0x1000b165
cmp ebx, 0x37a16b4a
jne 0x1000b165
cmp ecx, 0x3a83737c
jne 0x1000b165
cmp eax, 0x32b67964
jne 0x1000b165
cmp dword [ebp - 0x10], 0x3a956862
jne 0x1000b165
cmp dword [ebp - 8], 0x3685517c
jne 0x1000b165
cmp dword [ebp - 0x24], 0x5b996e7f
jne 0x1000b165
movzx ecx, word [esi]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + edx]
add eax, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x28], 0
jne 0x1000b1a8
cmp ebx, 0x29a66b4a
jne 0x1000b1a8
cmp ecx, 0x32b67975
jne 0x1000b1a8
cmp eax, 0x3a956862
jne 0x1000b1a8
cmp dword [ebp - 0x10], 0x3685517c
jne 0x1000b1a8
cmp dword [ebp - 8], 0x5b996e7f
jne 0x1000b1a8
movzx ecx, word [esi]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x34], 0
mov eax, dword [ebp - 0xc]
jne 0x1000b1d7
cmp ebx, 0x1792785c
jne 0x1000b1d7
cmp eax, 0x1f847d7f
jne 0x1000b1d7
movzx ecx, word [esi]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 4]
jne 0x1000b223
cmp ebx, 0x1c92785c
jne 0x1000b223
cmp eax, 0x29b06875
jne 0x1000b223
cmp ecx, 0x3f857f7f
jne 0x1000b223
cmp dword [ebp - 0x10], 0x1a856e65
jne 0x1000b223
cmp dword [ebp - 8], 0x3e927874
jne 0x1000b223
movzx ecx, word [esi]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
jne 0x1000b277
cmp ebx, 0x1a8c6842
jne 0x1000b277
cmp eax, 0x8896f7e
jne 0x1000b277
cmp ecx, 0x35896e64
mov ecx, dword [ebp - 0x10]
jne 0x1000b27a
cmp ecx, 0xe8f4877
jne 0x1000b27a
cmp dword [ebp - 8], 0x3483757e
jne 0x1000b27a
cmp dword [ebp - 0x24], 0x2fb37974
jne 0x1000b27a
movzx ecx, word [esi]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 0x30], 0
jne 0x1000b2c0
cmp ebx, 0x1d8c6842
jne 0x1000b2c0
cmp eax, 0xe857962
mov eax, dword [ebp - 4]
jne 0x1000b2c3
cmp eax, 0x3483757e
jne 0x1000b2c3
cmp ecx, 0x2fb37974
mov ecx, dword [ebp - 8]
jne 0x1000b2c6
cmp ecx, 0x3c8e7562
jne 0x1000b2c6
movzx ecx, word [esi]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x1c], 0
jne 0x1000b313
cmp ebx, 0x1f8c6842
jne 0x1000b313
cmp dword [ebp - 0xc], 0x368f7f75
jne 0x1000b313
cmp eax, 0x28856e60
jne 0x1000b313
cmp dword [ebp - 0x10], 0x3d955e63
jne 0x1000b313
xor eax, eax
cmp ecx, 0x726566
sete al
xor eax, 0x5be01c10
je 0x1000b313
movzx ecx, word [esi]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x34], 0
je 0x1000b338
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1000b338
cmp dword [ebp - 0x28], 0
je 0x1000b338
cmp dword [ebp - 0x2c], 0
je 0x1000b338
cmp dword [ebp - 0x30], 0
je 0x1000b338
cmp dword [ebp - 0x14], 0
jne 0x1000b346
mov ecx, dword [ebp - 0x18]
add ecx, 4
add esi, 2
jmp 0x1000b0bf
mov esi, dword [ebp + 8]
xor edi, edi
push 4
pop ecx
push 0xc
pop edx
mov ax, word [esi + 2]
add word [ecx + esi], ax
mov ax, word [esi]
xor word [ecx + esi], ax
lea eax, [edi + 0x128e]
add word [esi], ax
add ecx, 2
inc edi
cmp ecx, edx
jl 0x1000b351
mov eax, dword [esi + 8]
and eax, 0xfffffffe
push 4
pop ecx
cmp eax, 8
jbe 0x1000b3a4
mov ax, word [esi + 2]
add word [edx + esi], ax
mov ax, word [esi]
xor word [edx + esi], ax
lea eax, [ecx + 0x128e]
add word [esi], ax
lea edx, [edx + 2]
mov eax, dword [esi + 8]
inc ecx
shr eax, 1
cmp ecx, eax
jb 0x1000b37f
mov eax, dword [esi + 4]
mov edi, 0x1000
push 4
push edi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x68]
push eax
push 0xffffffffffffffff
call ebx
lea eax, [ebp - 0x64]
push eax
push dword [esi + 8]
lea eax, [esi + 0xc]
push eax
push dword [esi + 4]
push dword [ebp - 0x68]
push 0x102
call dword [ebp - 0x74]
mov ecx, dword [ebp - 0x68]
mov eax, 0x5a4d
mov dword [ebp - 0x5c], ecx
cmp word [ecx], ax
je 0x1000b3f0
xor eax, eax
jmp 0x1000b6ae
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x58], eax
cmp dword [eax], 0x4550
jne 0x1000b3e9
mov eax, dword [eax + 0x50]
push 0x40
push edi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x54]
push eax
push 0xffffffffffffffff
call dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x1000b3e9
mov eax, dword [ebp - 0x58]
xor edx, edx
cmp dword [eax + 0x54], edx
jbe 0x1000b43e
mov eax, dword [ebp - 0x5c]
mov al, byte [edx + eax]
mov byte [edx + ecx], al
inc edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
cmp edx, dword [eax + 0x54]
jb 0x1000b429
mov eax, dword [ebp - 0x5c]
xor edi, edi
mov eax, dword [eax + 0x3c]
add eax, ecx
mov dword [ebp - 0x50], eax
mov dword [eax + 0x34], ecx
xor ecx, ecx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x14], ecx
movzx eax, word [edx + 0x14]
cmp di, word [edx + 6]
jae 0x1000b4c7
lea edi, [edx + 0x28]
add edi, eax
cmp dword [edi], 0
jne 0x1000b491
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x1000b4b8
xor ebx, ebx
test eax, eax
je 0x1000b4b8
mov ecx, dword [edi - 4]
mov eax, dword [ebp - 0x54]
add ecx, ebx
inc ebx
mov byte [ecx + eax], 0
mov eax, dword [ebp - 0x58]
cmp ebx, dword [eax + 0x38]
jb 0x1000b47a
jmp 0x1000b4b2
xor ebx, ebx
cmp dword [edi], ebx
jbe 0x1000b4b8
mov ecx, dword [edi + 4]
mov eax, dword [ebp - 0x68]
add ecx, ebx
mov edx, dword [edi - 4]
add edx, ebx
inc ebx
mov cl, byte [ecx + eax]
mov eax, dword [ebp - 0x54]
mov byte [edx + eax], cl
cmp ebx, dword [edi]
jb 0x1000b497
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x50]
movzx eax, word [edx + 6]
inc ecx
add edi, 0x28
mov dword [ebp - 0x14], ecx
cmp ecx, eax
jl 0x1000b465
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov ebx, ecx
sub ebx, dword [eax + 0x34]
mov dword [ebp - 0x4c], ebx
je 0x1000b562
cmp dword [edx + 0xa4], 0
jbe 0x1000b562
mov edi, dword [edx + 0xa0]
add edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [edi]
test eax, eax
je 0x1000b562
add eax, ecx
lea edx, [edi + 8]
mov dword [ebp - 0x14], eax
xor esi, esi
lea eax, [edi + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [eax]
sub eax, 8
test eax, 0xfffffffe
jbe 0x1000b54e
mov edi, dword [ebp - 0x18]
movzx ecx, word [edx]
mov eax, ecx
mov dword [ebp - 0x24], 0x3000
and eax, 0xf000
cmp ax, word [ebp - 0x24]
jne 0x1000b539
and ecx, 0xfff
add ecx, dword [ebp - 0x14]
add dword [ecx], ebx
mov ebx, dword [ebp - 0x4c]
mov eax, dword [edi]
inc esi
sub eax, 8
add edx, 2
shr eax, 1
cmp esi, eax
jb 0x1000b514
mov ecx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add edi, dword [eax]
mov dword [ebp - 0x1c], edi
mov eax, dword [edi]
test eax, eax
jne 0x1000b4f5
mov edx, dword [ebp - 0x50]
mov esi, dword [ebp + 8]
cmp dword [edx + 0x84], 0
jbe 0x1000b663
mov edi, dword [edx + 0x80]
add edi, ecx
je 0x1000b663
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1000b660
add ecx, eax
xor eax, eax
mov dword [ebp - 0x3c], ecx
cmp byte [ecx], al
je 0x1000b59a
inc eax
cmp byte [eax + ecx], 0
jne 0x1000b593
mov word [ebp - 0x40], ax
inc eax
mov word [ebp - 0x3e], ax
lea eax, [ebp - 0x40]
push 1
push eax
lea eax, [ebp - 0x48]
push eax
call dword [ebp - 0x70]
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
call dword [ebp - 0x80]
lea eax, [ebp - 0x48]
push eax
call dword [ebp - 0x6c]
mov edx, dword [ebp - 0x8c]
test edx, edx
je 0x1000b3e9
mov eax, dword [edi]
mov ecx, dword [ebp - 0x54]
test eax, eax
je 0x1000b5e9
mov ebx, dword [edi + 0x10]
add eax, ecx
add ebx, ecx
jmp 0x1000b5f0
mov eax, dword [edi + 0x10]
add eax, ecx
mov ebx, eax
mov dword [ebp - 0x18], eax
mov eax, dword [eax]
test eax, eax
je 0x1000b657
mov esi, dword [ebp - 0x18]
test eax, eax
jns 0x1000b609
movzx eax, word [esi]
push ebx
push eax
push 0
jmp 0x1000b62e
add ecx, 2
add ecx, eax
xor eax, eax
mov dword [ebp - 0x3c], ecx
cmp byte [ecx], al
je 0x1000b61e
inc eax
cmp byte [eax + ecx], 0
jne 0x1000b617
mov word [ebp - 0x40], ax
inc eax
push ebx
mov word [ebp - 0x3e], ax
lea eax, [ebp - 0x40]
push 0
push eax
push edx
call dword [ebp - 0x84]
cmp dword [ebx], 0
je 0x1000b651
add esi, 4
add ebx, 4
mov eax, dword [esi]
test eax, eax
je 0x1000b651
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x8c]
jmp 0x1000b5fc
mov ecx, dword [ebp - 0x54]
mov esi, dword [ebp + 8]
add edi, 0x14
jne 0x1000b57d
mov edx, dword [ebp - 0x50]
mov edx, dword [edx + 0x28]
add edx, ecx
xor eax, eax
mov byte [eax + ecx], 0
inc eax
cmp eax, 4
jae 0x1000b679
mov ecx, dword [ebp - 0x54]
jmp 0x1000b66a
xor ecx, ecx
mov eax, dword [ebp - 0x50]
mov byte [ecx + eax], 0
inc ecx
cmp ecx, 4
jb 0x1000b67b
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x28], 0
je 0x1000b699
push esi
push 1
push dword [ebp - 0x54]
call edx
push 0x4000
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x68]
push eax
push 0xffffffffffffffff
call dword [ebp - 0x78]
mov eax, dword [ebp - 0x54]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4