Function at 0x100c9f20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x100d5d50
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov edx, dword [esi]
test edx, edx
je 0x100ca030
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov ecx, dword [eax + 0x18]
movsd xmm2, qword [eax + 0x10]
movsd qword [ebp - 0x3c], xmm1
mov dword [ebp - 0x2c], ecx
movsd qword [ebp - 0x34], xmm2
movsd qword [ebp - 0x44], xmm0
movzx ecx, byte [ebp - 0x3c]
cmp cl, 2
mov byte [ebp - 0x28], cl
jne 0x100ca05a
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x64]
push ecx
push eax
call fcn.100f6df0
add esp, 8
mov ebx, dword [ebp - 0x48]
lock inc dword [ebx]
jle 0x100ca5d2
mov esi, dword [ebp - 0x68]
lock inc dword [esi + 0xe4]
lock inc dword [esi]
jle 0x100ca5d2
movsd xmm1, qword [ebp - 0x5f]
movzx eax, byte [ebp - 0x57]
lea edx, [ebp - 0x38]
movsd xmm0, qword [ebp - 0x64]
movzx ecx, word [ebp - 0x56]
movsd xmm2, qword [edx]
movsd qword [ebp - 0xbc], xmm1
movsd xmm1, qword [edx + 8]
cmp al, 2
movsd qword [ebp - 0xc1], xmm0
movsd qword [ebp - 0x79], xmm2
movsd qword [ebp - 0x71], xmm1
jne 0x100ca120
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp - 0x24]
jmp 0x100ca09d
mov ecx, dword [eax + 0x18]
movsd xmm0, qword [eax + 0x10]
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
xor edx, edx
mov dword [ebp - 0x2c], ecx
movsd qword [ebp - 0x34], xmm0
movsd qword [ebp - 0x3c], xmm1
movsd qword [ebp - 0x44], xmm2
jmp 0x100ca434
movzx ecx, byte [eax + 0xb]
movsd xmm0, qword [eax + 0xc]
movsd xmm1, qword [eax + 0x14]
mov ebx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x40]
mov byte [ebp - 0x62], cl
movzx ecx, word [eax + 9]
mov word [ebp - 0x64], cx
movsd qword [ebp - 0x59], xmm1
movsd qword [ebp - 0x61], xmm0
mov eax, dword [ebp - 0x55]
movsd xmm0, qword [ebp - 0x64]
movsd xmm1, qword [ebp - 0x5c]
mov dword [ebp - 0x6d], eax
movsd qword [ebp - 0x7c], xmm0
movsd qword [ebp - 0x74], xmm1
movzx eax, byte [ebp - 0x28]
movsd xmm0, qword [ebp - 0x7c]
movsd xmm1, qword [ebp - 0x74]
mov ecx, dword [ebp - 0x6d]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], esi
mov byte [ebp - 0x5c], al
movsd qword [ebp - 0x53], xmm1
movsd qword [ebp - 0x5b], xmm0
mov dword [ebp - 0x4c], ecx
jmp 0x100ca0d2
pause
mov eax, dword [edx + 4]
nop word cs:[eax + eax]
nop
cmp eax, 0xffffffff
je 0x100ca0d0
test eax, eax
js 0x100ca598
lea ecx, [eax + 1]
lock cmpxchg dword [edx + 4], ecx
jne 0x100ca0e0
mov eax, dword [ebp - 0x4c]
movsd xmm0, qword [ebp - 0x54]
movsd xmm2, qword [ebp - 0x64]
movsd xmm1, qword [ebp - 0x5c]
mov dword [ebp - 0x2c], eax
movsd qword [ebp - 0x34], xmm0
movsd qword [ebp - 0x3c], xmm1
movsd qword [ebp - 0x44], xmm2
jmp 0x100ca434
movsd xmm0, qword [ebp - 0x74]
mov edx, dword [ebp - 0x6d]
movsd xmm1, qword [ebp - 0x7c]
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], esi
mov byte [ebp - 0x94], 2
movsd xmm2, qword [ebp - 0xc4]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], esi
mov byte [ebp - 0x5c], 2
movsd qword [ebp - 0x8b], xmm0
mov dword [ebp - 0x84], edx
movsd qword [ebp - 0x93], xmm1
movsd xmm1, qword [ebp - 0xbc]
mov edx, dword [ebp - 0x24]
movsd qword [ebp - 0x5b], xmm2
movsd qword [ebp - 0x53], xmm1
mov byte [ebp - 0x4b], al
lea eax, [edx + 8]
mov word [ebp - 0x4a], cx
mov cl, 1
mov dword [ebp - 0x28], eax
xor eax, eax
lock cmpxchg byte [edx + 8], cl
je 0x100ca1b2
mov byte [ebp - 0x1e], 1
mov byte [ebp - 0x1f], 1
mov dword [ebp - 0x10], 6
push dword [ebp - 0x28]
call fcn.101cb6e0
mov edx, dword [ebp - 0x24]
add esp, 4
mov eax, dword [0x10284a20]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x100ca209
mov byte [ebp - 0x1e], 1
mov byte [ebp - 0x1f], 1
mov dword [ebp - 0x10], 6
call fcn.101cb650
mov edx, dword [ebp - 0x24]
mov ecx, eax
xor cl, 1
movzx eax, byte [edx + 9]
mov edi, dword [ebp + 0x10]
test al, al
jne 0x100ca216
movzx edx, byte [edi]
mov dword [ebp - 0x48], ecx
test edx, edx
je 0x100ca248
cmp edx, 1
jne 0x100ca24c
movzx eax, byte [edi + 1]
mov dword [ebp - 0x10], 9
shl eax, 8
jmp 0x100ca2ae
xor ecx, ecx
movzx eax, byte [edx + 9]
mov edi, dword [ebp + 0x10]
test al, al
je 0x100ca1e7
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], 0xb
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], cl
lea eax, [ebp - 0x44]
push 0x101df0e4
push 0x101dee18
push eax
push 0x2b
push 0x101dedec
call fcn.101cc840
add esp, 0x14
jmp 0x100ca5d2
mov eax, edx
jmp 0x100ca2ae
mov dword [ebp - 0x80], edx
mov esi, dword [edi + 4]
movzx eax, byte [0x10284b09]
push 4
push 0x10
call fcn.10013450
add esp, 8
test eax, eax
mov dword [ebp - 0x68], eax
je 0x100ca5bb
mov eax, dword [esi]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
add esi, 0xc
lea edi, [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x10], 0xa
push edx
push ecx
push esi
push edi
call eax
add esp, 0x10
movsd xmm0, qword [ebp - 0x44]
mov ecx, dword [ebp - 0x68]
movsd xmm1, qword [ebp - 0x3c]
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp - 0x80]
xor eax, eax
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
or eax, edx
mov edx, dword [edi + 0xc]
lea esi, [edi + 0x14]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], ecx
mov ecx, dword [edi + 8]
mov edi, dword [edi + 0x10]
lea eax, [ebp - 0xac]
mov ecx, dword [ecx]
mov dword [ebp - 0x10], 9
push edi
push edx
push esi
push eax
call ecx
add esp, 0x10
mov eax, dword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x8c]
movsd xmm1, qword [ebp - 0x94]
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x10], 7
lea edx, [ebp - 0xb4]
lea ecx, [eax + 0x10]
mov eax, dword [ebp - 0x84]
movsd qword [ebp - 0x34], xmm0
movsd xmm0, qword [ebp - 0x9c]
movsd qword [ebp - 0x3c], xmm1
mov dword [ebp - 0x2c], eax
movsd qword [ebp - 0x44], xmm0
lea eax, [ebp - 0x44]
push dword [ebp + 0xc]
push eax
call fcn.100ca7e0
add esp, 8
mov eax, dword [ebp - 0x24]
mov byte [ebp - 0x1d], 0
add eax, 0x20
push dword [ebp + 0x10]
push eax
call fcn.100b3800
add esp, 8
mov eax, dword [ebp - 0x24]
mov byte [ebp - 0x1d], 0
add eax, 0x60
push dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.100b3a70
add esp, 0xc
xor eax, eax
cmp eax, dword [ebp - 0x44]
jo 0x100ca398
lea eax, [ebp - 0x44]
mov dword [ebp - 0x10], 8
push eax
call fcn.100b23d0
add esp, 4
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x100ca398
shl eax, 2
push 4
push eax
push dword [ebp - 0x40]
call fcn.10013460
add esp, 0xc
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0x18]
lea ecx, [eax + 1]
cmp ecx, 2
jae 0x100ca579
mov eax, dword [ebp - 0x4c]
movsd xmm0, qword [ebp - 0x54]
movsd xmm2, qword [ebp - 0x64]
movsd xmm1, qword [ebp - 0x5c]
cmp byte [ebp - 0x48], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 0x2c], eax
movsd qword [ebp - 0x34], xmm0
movsd qword [ebp - 0x3c], xmm1
movsd qword [ebp - 0x44], xmm2
jne 0x100ca408
mov eax, dword [0x10284a20]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x100ca408
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x1f], 0
mov dword [ebp - 0x10], 6
call fcn.101cb650
test al, al
jne 0x100ca408
mov eax, dword [ebp - 0x24]
mov byte [eax + 9], 1
mov ecx, dword [ebp - 0x28]
xor eax, eax
xor edx, edx
xchg byte [ecx], al
cmp al, 2
jne 0x100ca431
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x1f], 0
mov dword [ebp - 0x10], 6
push dword [ebp - 0x28]
call fcn.101cb780
xor edx, edx
add esp, 4
mov edi, dword [ebp + 0x10]
movzx ecx, byte [edi]
mov eax, dword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x34]
movsd xmm2, qword [ebp - 0x44]
movsd xmm1, qword [ebp - 0x3c]
mov dword [ebp - 0x24], edx
test ecx, ecx
mov dword [ebp - 0x4c], eax
movsd qword [ebp - 0x54], xmm0
movsd qword [ebp - 0x5c], xmm1
movsd qword [ebp - 0x64], xmm2
je 0x100ca4cb
cmp ecx, 2
jne 0x100ca4cf
mov dword [ebp - 0x48], ecx
mov esi, dword [edi + 4]
movzx eax, byte [0x10284b09]
push 4
push 0x10
call fcn.10013450
add esp, 8
test eax, eax
mov dword [ebp - 0x28], eax
je 0x100ca5a6
mov eax, dword [esi]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
add esi, 0xc
lea edi, [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x10], 4
push edx
push ecx
push esi
push edi
call eax
add esp, 0x10
movsd xmm0, qword [ebp - 0x44]
mov edx, dword [ebp - 0x28]
movsd xmm1, qword [ebp - 0x3c]
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x48]
xor eax, eax
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
jmp 0x100ca4dd
mov eax, ecx
jmp 0x100ca4dd
movzx eax, byte [edi + 1]
mov dword [ebp - 0x10], 3
shl eax, 8
or eax, ecx
mov ecx, dword [edi + 8]
lea esi, [edi + 0x14]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov edx, dword [edi + 0xc]
mov edi, dword [edi + 0x10]
lea eax, [ebp - 0x3c]
mov ecx, dword [ecx]
mov dword [ebp - 0x10], 3
push edi
push edx
push esi
push eax
call ecx
add esp, 0x10
mov esi, dword [ebp + 8]
movsd xmm1, qword [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
movsd xmm0, qword [ebp - 0x54]
movsd xmm3, qword [ebp - 0x64]
mov ecx, dword [ebp + 0x10]
movsd xmm2, qword [ebp - 0x44]
mov dword [ebp - 0x10], 0xffffffff
movsd qword [esi + 0x20], xmm1
movsd xmm1, qword [ebp - 0x3c]
mov dword [esi + 0x30], eax
movsd qword [esi + 0x28], xmm0
movsd qword [esi + 0x18], xmm3
mov byte [esi + 0x38], 0
mov eax, dword [ebp - 0x24]
movsd qword [esi], xmm2
movsd qword [esi + 8], xmm1
movsd xmm1, qword [ebp - 0x34]
movsd qword [esi + 0x10], xmm1
mov dword [esi + 0x34], eax
call fcn.100c6c20
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
lock dec dword [eax + 4]
jne 0x100ca3aa
push 8
push 0x90
push eax
call fcn.10013460
add esp, 0xc
jmp 0x100ca3aa
mov dword [ebp - 0x10], 5
call fcn.101c64d0
jmp 0x100ca5d2
mov dword [ebp - 0x10], 2
push 0x10
push 4
call fcn.101cc329
add esp, 8
jmp 0x100ca5d2
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 7
push 0x10
push 4
call fcn.101cc329
add esp, 8
ud2