Function at 0x1010b3e0
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.100f60f0
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 0x1010b455
mov ebx, 0x74
lea ecx, [ecx]
mov esi, dword [eax + 0x30]
movzx edx, word [esi]
cmp edx, 0x4e
je 0x1010b430
cmp edx, 0x6e
jne 0x1010b448
cmp word [esi + 2], bx
jne 0x1010b448
mov edx, esi
mov si, word [edx + 6]
cmp si, word [edx + 8]
jne 0x1010b448
mov ecx, edi
mov dword [esp + 0x30], ecx
test ecx, ecx
jne 0x1010b455
mov eax, dword [eax]
mov edi, dword [eax + 0x18]
test edi, edi
jne 0x1010b420
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 + 0x2c], 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, 0x80961413
mov dword [esp + 0x14], ebx
mov ebx, dword [eax + 0xc]
xor ebx, 0x80961413
mov dword [esp + 0x18], ebx
mov ebx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
xor ebx, 0x80961413
xor edx, 0x80961413
xor esi, 0x80961413
xor eax, 0x80961413
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebx
jne 0x1010b511
cmp edx, 0xecd76349
jne 0x1010b511
cmp esi, 0xe1f57b7f
jne 0x1010b511
cmp dword [esp + 0x14], 0xe9c07167
jne 0x1010b511
cmp dword [esp + 0x18], 0xe1e36061
jne 0x1010b511
cmp ebx, 0xedf3597f
jne 0x1010b511
cmp eax, 0x80ef667c
jne 0x1010b511
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 0x1010b560
cmp edx, 0xf2d06349
jne 0x1010b560
cmp esi, 0xe9c07176
jne 0x1010b560
cmp dword [esp + 0x14], 0xe1e36061
jne 0x1010b560
cmp dword [esp + 0x18], 0xedf3597f
jne 0x1010b560
cmp dword [esp + 0x1c], 0x80ef667c
jne 0x1010b560
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 0x1010b591
cmp edx, 0xcce4705f
jne 0x1010b591
cmp esi, 0xc4f2757c
jne 0x1010b591
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 0x1010b5e0
cmp edx, 0xc7e4705f
jne 0x1010b5e0
cmp esi, 0xf2c66076
jne 0x1010b5e0
cmp dword [esp + 0x14], 0xe4f3777c
jne 0x1010b5e0
cmp dword [esp + 0x18], 0xc1f36666
jne 0x1010b5e0
cmp dword [esp + 0x1c], 0xe5e47077
jne 0x1010b5e0
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
mov ebx, dword [ebp + 8]
jne 0x1010b638
cmp edx, 0xc1fa6041
jne 0x1010b638
cmp esi, 0xd3ff677d
jne 0x1010b638
cmp dword [esp + 0x14], 0xeeff6667
jne 0x1010b635
cmp dword [esp + 0x18], 0xd5f94074
jne 0x1010b635
cmp dword [esp + 0x1c], 0xeff57d7d
jne 0x1010b635
cmp eax, 0xf4c57177
jne 0x1010b635
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 ebx, dword [ebp + 8]
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x1010b687
cmp edx, 0xc6fa6041
jne 0x1010b687
cmp esi, 0xd5f37161
jne 0x1010b687
cmp dword [esp + 0x14], 0xeff57d7d
jne 0x1010b687
cmp dword [esp + 0x18], 0xf4c57177
jne 0x1010b687
cmp dword [esp + 0x1c], 0xe7f87d61
jne 0x1010b687
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 0x1010b6dd
cmp edx, 0xc4fa6041
jne 0x1010b6dd
cmp esi, 0xedf97776
jne 0x1010b6dd
cmp dword [esp + 0x14], 0xf3f36663
jne 0x1010b6dd
cmp dword [esp + 0x18], 0xe6e35660
jne 0x1010b6dd
xor edx, edx
cmp dword [esp + 0x1c], 0x726566
sete dl
xor edx, 0x80961413
je 0x1010b6dd
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 0x1010b704
cmp dword [esp + 0x3c], 0
je 0x1010b704
cmp dword [esp + 0x40], 0
je 0x1010b704
cmp dword [esp + 0x34], 0
je 0x1010b704
test eax, eax
je 0x1010b704
cmp dword [esp + 0x48], 0
jne 0x1010b713
mov eax, dword [esp + 0x2c]
add eax, 4
add edi, 2
jmp 0x1010b46e
xor ecx, ecx
mov eax, 4
lea ebx, [ebx]
movzx edx, word [ebx + 2]
add word [eax + ebx], dx
mov si, word [ebx]
xor si, word [eax + ebx]
lea edx, [ecx + 0xa12]
mov word [eax + ebx], si
add word [ebx], dx
add eax, 2
inc ecx
cmp eax, 0xc
jl 0x1010b720
mov eax, dword [ebx + 8]
and eax, 0xfffffffe
mov ecx, 4
cmp eax, 8
jbe 0x1010b789
mov eax, 0xc
lea ebx, [ebx]
movzx edx, word [ebx + 2]
add word [eax + ebx], dx
mov si, word [ebx]
xor si, word [eax + ebx]
lea edx, [ecx + 0xa12]
mov word [eax + ebx], si
add word [ebx], dx
mov edx, dword [ebx + 8]
inc ecx
shr edx, 1
add eax, 2
cmp ecx, edx
jb 0x1010b760
mov eax, dword [ebx + 4]
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]
lea eax, [esp + 0x54]
push eax
mov eax, dword [ebx + 4]
push ecx
mov ecx, dword [esp + 0x58]
lea edx, [ebx + 0xc]
push edx
push eax
push ecx
push 0x102
call dword [esp + 0x5c]
mov eax, dword [esp + 0x50]
mov edx, 0x5a4d
mov dword [esp + 0x5c], eax
cmp word [eax], dx
je 0x1010b7e5
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 0x1010b7da
mov eax, dword [ecx + 0x50]
push 0x40
push 0x1000
lea ecx, [esp + 0x2c]
push ecx
push 0
lea edx, [esp + 0x74]
push edx
push 0xffffffffffffffff
mov dword [esp + 0x3c], eax
call dword [esp + 0x54]
mov ecx, dword [esp + 0x64]
xor eax, eax
test ecx, ecx
je 0x1010baeb
mov edx, dword [esp + 0x60]
cmp dword [edx + 0x54], eax
jbe 0x1010b848
lea ecx, [ecx]
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 0x1010b830
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
lea ecx, [eax + esi + 0x28]
mov dword [esp + 0x2c], 0
cmp dx, word [esi + 6]
jae 0x1010b8e5
mov edx, dword [ecx]
test edx, edx
jne 0x1010b8a9
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 0x38]
test edx, edx
je 0x1010b8d1
xor eax, eax
test edx, edx
je 0x1010b8d1
jmp 0x1010b890
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 0x1010b890
jmp 0x1010b8cd
xor eax, eax
test edx, edx
je 0x1010b8d1
nop
mov edx, dword [ecx + 4]
mov edi, dword [esp + 0x50]
mov esi, dword [ecx - 4]
add edx, eax
mov dl, byte [edx + edi]
mov edi, dword [esp + 0x64]
add esi, eax
inc eax
mov byte [esi + edi], dl
cmp eax, dword [ecx]
jb 0x1010b8b0
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x2c]
movzx edx, word [esi + 6]
inc eax
add ecx, 0x28
mov dword [esp + 0x2c], eax
cmp eax, edx
jl 0x1010b874
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov ecx, eax
sub ecx, dword [edx + 0x34]
mov dword [esp + 0x6c], ecx
je 0x1010b973
cmp dword [esi + 0xa4], 0
jbe 0x1010b973
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx + eax]
add ecx, eax
test edx, edx
je 0x1010b973
mov ebx, dword [ecx + 4]
lea edi, [eax + edx]
sub ebx, 8
xor edx, edx
lea esi, [ecx + 8]
test ebx, 0xfffffffe
jbe 0x1010b963
lea ebx, [ebx]
movzx eax, word [esi]
mov ebx, eax
and ebx, 0xfffff000
cmp ebx, 0x3000
jne 0x1010b94f
mov ebx, dword [esp + 0x6c]
and eax, 0xfff
add dword [eax + edi], ebx
mov eax, dword [ecx + 4]
sub eax, 8
inc edx
shr eax, 1
add esi, 2
cmp edx, eax
jb 0x1010b930
mov eax, dword [esp + 0x64]
add ecx, dword [ecx + 4]
mov edx, dword [ecx]
test edx, edx
jne 0x1010b914
mov esi, dword [esp + 0x68]
mov ebx, dword [ebp + 8]
cmp dword [esi + 0x84], 0
jbe 0x1010ba95
mov ecx, dword [esi + 0x80]
add ecx, eax
mov dword [esp + 0x20], ecx
je 0x1010ba95
mov edi, dword [esp + 0x20]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x1010ba91
add ecx, eax
xor eax, eax
mov dword [esp + 0x7c], ecx
cmp byte [ecx], al
je 0x1010b9b7
lea ecx, [ecx]
inc eax
cmp byte [eax + ecx], 0
jne 0x1010b9b0
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 + 0x28]
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]
cmp dword [esp + 0x28], 0
je 0x1010b7da
mov ecx, dword [edi]
mov eax, dword [esp + 0x64]
test ecx, ecx
je 0x1010ba0f
mov edx, dword [edi + 0x10]
lea esi, [eax + ecx]
add edx, eax
jmp 0x1010ba16
mov esi, dword [edi + 0x10]
add esi, eax
mov edx, esi
mov ecx, dword [esi]
test ecx, ecx
je 0x1010ba86
mov edi, edx
jmp 0x1010ba24
mov eax, dword [esp + 0x64]
test ecx, ecx
jns 0x1010ba36
movzx edx, word [esi]
mov eax, dword [esp + 0x28]
push edi
push edx
push 0
push eax
jmp 0x1010ba6c
lea ecx, [ecx + eax + 2]
xor eax, eax
mov dword [esp + 0x7c], ecx
cmp byte [ecx], al
je 0x1010ba4b
inc eax
cmp byte [eax + ecx], 0
jne 0x1010ba44
mov edx, dword [esp + 0x28]
push edi
push 0
lea ecx, [esp + 0x80]
mov word [esp + 0x80], ax
inc eax
push ecx
mov word [esp + 0x86], ax
push edx
call dword [esp + 0x44]
cmp dword [edi], 0
je 0x1010ba82
mov ecx, dword [esi + 4]
add esi, 4
add edi, 4
test ecx, ecx
jne 0x1010ba20
mov eax, dword [esp + 0x64]
add dword [esp + 0x20], 0x14
jne 0x1010b992
mov esi, dword [esp + 0x68]
mov esi, dword [esi + 0x28]
add esi, eax
xor ecx, ecx
jmp 0x1010baa4
mov eax, dword [esp + 0x64]
mov byte [ecx + eax], 0
inc ecx
cmp ecx, 4
jb 0x1010baa0
xor eax, eax
mov ecx, dword [esp + 0x68]
mov byte [eax + ecx], 0
inc eax
cmp eax, 4
jb 0x1010bab0
mov edx, dword [esp + 0x68]
cmp dword [edx + 0x28], 0
je 0x1010bad2
mov eax, dword [esp + 0x64]
push ebx
push 1
push eax
call esi
push 0x4000
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x58]
push edx
push 0xffffffffffffffff
call dword [esp + 0x50]
mov eax, dword [esp + 0x64]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4