Function at 0x10080e70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fbed8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x1013c014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x28], eax
lea eax, [ebx + 0x3c]
mov ecx, eax
mov dword [ebp - 0x28], eax
call fcn.10062cc0
mov eax, dword [ebx + 0x30]
lea edi, [ebx + 8]
mov ecx, edi
mov dword [ebx + 0x34], eax
call fcn.10022f70
push 0x1014e9e0
mov dword [ebp - 0x30], 0x1014e9e0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1014ea28], 0
mov dword [ebp - 0x2c], 0x1014ea28
jne 0x10080ef9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1014ea28], eax
jmp 0x10080f00
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
mov ecx, dword [0x1014e948]
mov esi, dword [edi]
sub esi, 0x10
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x10080f6b
mov eax, dword [esi + 0xc]
lea ebx, [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x10080f60
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x10080f60
mov ecx, edx
call fcn.10021e50
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x10080f55
mov edx, dword [esi]
push esi
mov ecx, dword [edx]
mov eax, dword [ecx + 4]
mov ecx, edx
call eax
mov eax, dword [ebp - 0x20]
add eax, 0x10
mov byte [ebp - 4], 0
mov dword [edi], eax
jmp 0x10080f6b
push dword [ecx - 0xc]
push ecx
mov ecx, edi
call fcn.10021eb0
mov esi, dword [0x1014e914]
cmp dword [esi], 0
je 0x10080f9b
cmp dword [esi + 4], 1
jne 0x10080f93
push str.SearchSubWord
push dword [esi]
call fcn.100dc721
add esp, 8
test eax, eax
je 0x10081096
add esi, 0x60
cmp dword [esi], 0
jne 0x10080f76
mov byte [ebp - 0x11], 0
mov eax, dword [0x1014e948]
push dword [ebp + 8]
cmp dword [eax - 0xc], 0
jne 0x10081356
cmp byte [0x1014e9b8], 0
mov ecx, 0x1014e978
mov eax, 0x1014e990
cmovne eax, ecx
mov dword [ebp - 0x18], eax
mov edi, dword [eax + 4]
mov esi, edi
mov ecx, dword [eax]
sub esi, ecx
mov eax, 0x2aaaaaab
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, edi
push eax
call fcn.100847e0
xor edx, edx
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], edx
add esp, 8
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x34], ecx
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
mov edi, dword [edi]
cmp edi, dword [eax + 4]
je 0x10081186
cmp dword [edi], 1
jne 0x1008117a
mov esi, dword [0x1014e944]
lea edx, [edi + 4]
push dword [ebp - 0x11]
mov ecx, esi
call fcn.100814f0
add esp, 4
test al, al
jne 0x10081052
push dword [ebp - 0x11]
lea edx, [edi + 8]
mov ecx, esi
call fcn.100814f0
add esp, 4
test al, al
je 0x10081171
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 0xd], 0
cmp esi, ebx
je 0x10081152
mov ebx, dword [esi]
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 4]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100810d8
test dx, dx
je 0x10081092
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100810d8
add eax, 4
add ecx, 4
test dx, dx
jne 0x10081070
xor eax, eax
jmp 0x100810dd
push 0x10158d3c
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
cmp word [esi + 0x38], 3
jne 0x100810c3
cmp dword [esi + 0x40], 1
jne 0x100810c3
push 0x10158d3c
mov bl, 1
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov byte [ebp - 0x11], bl
jmp 0x10080f9f
push 0x10158d3c
xor bl, bl
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov byte [ebp - 0x11], bl
jmp 0x10080f9f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10081144
mov al, byte [edi + 0x14]
cmp al, byte [ebx + 0x14]
jne 0x10081144
cmp byte [ebp - 0xd], 0
jne 0x10081106
push 0
push 4
push dword [edi + 0xc]
mov ecx, 0x1014be70
mov byte [ebp - 0xd], 1
call fcn.1002b890
mov ebx, dword [esi]
push 0
push 4
push dword [ebx + 0xc]
mov ecx, 0x1014be70
call fcn.1002b890
push 0x1014be70
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov eax, dword [esi]
mov ecx, dword [edi + 0xc]
add ecx, 0x50
mov edx, dword [eax + 0xc]
add edx, 0x50
call fcn.10035480
push 0x1014be70
test al, al
jne 0x10081168
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov ebx, dword [ebp - 0x38]
add esi, 4
cmp esi, ebx
jne 0x10081061
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x10]
cmp dword [edx + 0x14], ecx
je 0x100811b3
mov eax, dword [edi + 0xc]
mov dword [ecx], eax
add dword [edx + 0x10], 4
jmp 0x100811c0
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add edi, 0x18
cmp edi, dword [eax + 4]
jne 0x10081017
mov byte [ebp - 4], 0
test edx, edx
je 0x100811fc
sub ecx, edx
mov eax, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x100811f2
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100814db
jmp 0x100811f2
lea eax, [edi + 0xc]
push eax
push ecx
lea ecx, [edx + 0xc]
call fcn.10012820
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edi
cmp ecx, ebx
je 0x100811d4
mov dword [ebx], edi
add ebx, 4
mov dword [ebp - 0x38], ebx
jmp 0x10081174
lea eax, [ebp - 0x24]
push eax
push ebx
lea ecx, [ebp - 0x3c]
call fcn.10020380
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
jmp 0x10081177
push ecx
push edx
call fcn.100d4917
add esp, 8
cmp byte [0x1014e9b9], 0
mov ecx, 0x1014e984
mov eax, 0x1014e99c
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov esi, dword [eax]
mov ecx, dword [eax + 4]
cmp esi, ecx
je 0x1008127c
nop
mov eax, dword [esi]
cmp eax, 2
je 0x1008122c
cmp eax, 3
jne 0x10081263
mov edi, dword [0x1014e944]
lea edx, [esi + 4]
push dword [ebp - 0x11]
mov ecx, edi
call fcn.100814f0
add esp, 4
test al, al
je 0x10081250
mov ebx, dword [ebp - 0x1c]
mov ecx, 1
jmp 0x10081265
push dword [ebp - 0x11]
lea edx, [esi + 8]
mov ecx, edi
call fcn.100814f0
mov ebx, dword [ebp - 0x1c]
add esp, 4
xor ecx, ecx
mov eax, dword [esi + 0x10]
and eax, 0xfffffffe
or eax, ecx
mov dword [esi + 0x10], eax
add esi, 0x18
mov ecx, dword [ebx + 4]
cmp esi, ecx
jne 0x10081220
mov esi, dword [ebx]
push dword [ebp + 8]
mov edx, ecx
mov eax, 0x2aaaaaab
sub edx, esi
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
push eax
mov ecx, esi
call fcn.100847e0
mov esi, dword [ebx]
add esp, 8
cmp esi, dword [ebx + 4]
je 0x10081335
lea edi, [esi + 0xc]
nop
mov ebx, dword [0x1014e944]
lea edx, [edi - 8]
push dword [ebp - 0x11]
mov ecx, ebx
call fcn.100814f0
add esp, 4
test al, al
jne 0x100812de
push dword [ebp - 0x11]
lea edx, [edi - 4]
mov ecx, ebx
call fcn.100814f0
add esp, 4
test al, al
je 0x10081323
cmp dword [esi], 2
mov ebx, dword [ebp + 8]
jne 0x10081302
mov ecx, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], ecx
je 0x100812f8
mov eax, dword [edi]
mov dword [ecx], eax
add dword [ebx + 0x1c], 4
jmp 0x10081302
push edi
push ecx
lea ecx, [ebx + 0x18]
call fcn.10012820
cmp dword [esi], 3
jne 0x10081323
mov ecx, dword [ebx + 0x28]
cmp dword [ebx + 0x2c], ecx
je 0x10081319
mov eax, dword [edi]
mov dword [ecx], eax
add dword [ebx + 0x28], 4
jmp 0x10081323
push edi
push ecx
lea ecx, [ebx + 0x24]
call fcn.10012820
mov eax, dword [ebp - 0x1c]
add esi, 0x18
add edi, 0x18
cmp esi, dword [eax + 4]
jne 0x100812b0
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x1014e9c8
je 0x1008146d
mov eax, dword [0x1014e9c8]
push eax
push dword [eax]
call fcn.10083b10
jmp 0x1008146d
mov esi, dword [0x1014e9c0]
mov eax, 0x2aaaaaab
mov ecx, dword [0x1014e9bc]
sub esi, ecx
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x1014e9c0]
push eax
call fcn.100847e0
mov eax, dword [0x1014e948]
add esp, 8
mov ecx, dword [eax - 0xc]
mov eax, dword [0x1014e944]
inc ecx
mov eax, dword [eax - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x20]
mov ecx, 0x1014e944
push eax
call fcn.10082910
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x20]
mov eax, dword [edi - 0xc]
lea ebx, [edi - 0x10]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x10081404
lea esi, [eax + 1]
test esi, esi
js 0x100814e0
mov eax, dword [ebx + 8]
mov ecx, 1
sub ecx, dword [ebx + 0xc]
sub eax, esi
or eax, ecx
jge 0x100813e3
push esi
lea ecx, [ebp - 0x20]
call fcn.10021230
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
lea ebx, [edi - 0x10]
mov ecx, 0x2a
mov word [edi + eax*2], cx
cmp esi, dword [ebx + 8]
jg 0x100814e0
xor eax, eax
mov dword [ebx + 4], esi
mov word [edi + esi*2], ax
mov esi, dword [0x1014e9bc]
cmp esi, dword [0x1014e9c0]
je 0x10081454
cmp dword [ebx + 4], 0
je 0x10081426
push edi
push dword [esi + 4]
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x10081449
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x34]
cmp dword [edx + 0x38], ecx
je 0x1008143c
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
add dword [edx + 0x34], 4
jmp 0x10081449
lea eax, [esi + 0xc]
push eax
push ecx
lea ecx, [edx + 0x30]
call fcn.10012820
add esi, 0x18
cmp esi, dword [0x1014e9c0]
jne 0x10081412
mov byte [ebp - 4], 4
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x1008146d
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
jne 0x1008149a
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jne 0x1008149a
mov eax, dword [ecx + 0x24]
cmp eax, dword [ecx + 0x28]
jne 0x1008149a
cmp dword [ecx + 0x40], 0
jne 0x1008149a
mov eax, dword [ecx + 0x30]
cmp eax, dword [ecx + 0x34]
jne 0x1008149a
xor al, al
jmp 0x1008149c
mov al, 1
mov byte [ecx + 1], al
mov eax, dword [0x1014e94c]
cmp dword [0x1014e954], eax
setne al
mov byte [ecx], al
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x100814bc
mov dword [eax], 0
push 0x1014e9e0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.100dca69
push 0x80070057
call fcn.10013970
int3