Function at 0x10002860
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10014330
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1001a040]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esi + 0x60]
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x28]
mov edi, dword [esi + 0x10]
lea ecx, [esi + 0x10]
mov esi, dword [eax]
jmp 0x100028b0
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x28]
add eax, 0x10
mov eax, dword [eax]
test edi, edi
je 0x100028c3
cmp edi, eax
je 0x100028c8
call fcn.10008de9
cmp esi, ebx
je 0x10002b94
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], eax
cmp edi, eax
jne 0x1000293e
call fcn.10008de9
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x100028ef
call fcn.10008de9
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1000298f
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jne 0x1000292e
call fcn.10008de9
cmp byte [esi + 0x15], 0
je 0x10002942
call fcn.10008de9
jmp 0x100028b0
mov eax, dword [edi]
jmp 0x100028e5
mov eax, dword [esi + 8]
cmp byte [eax + 0x15], 0
jne 0x1000296f
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x15], 0
jne 0x100028b0
lea esp, [esp]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x15], 0
je 0x10002960
jmp 0x100028b0
mov eax, dword [esi + 4]
cmp byte [eax + 0x15], 0
jne 0x10002988
cmp esi, dword [eax + 8]
jne 0x10002988
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x15], 0
je 0x10002978
mov esi, eax
jmp 0x100028b0
mov dword [esp + 0x18], 0
mov byte [esp + 0x38], 1
test edi, edi
jne 0x10002a82
call fcn.10008de9
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x100029b5
call fcn.10008de9
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test edi, edi
jne 0x10002a89
call fcn.10008de9
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x100029de
call fcn.10008de9
mov ecx, dword [ebp + 8]
mov ebx, dword [esi + 0x10]
push 0
push ecx
call fcn.10002460
mov ebx, eax
test ebx, ebx
jne 0x10002a97
test edi, edi
jne 0x10002a90
call fcn.10008de9
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x10002a0f
call fcn.10008de9
mov eax, dword [esi + 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp + 8]
push esi
push edi
lea ecx, [esp + 0x28]
push ecx
add eax, 0x10
push eax
call fcn.10003230
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x20]
push 0
push 1
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push eax
call edx
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
jmp 0x100029ab
mov eax, dword [edi]
jmp 0x100029d4
mov eax, dword [edi]
jmp 0x10002a05
cmp ebx, 1
jne 0x10002b37
test edi, edi
jne 0x10002b30
call fcn.10008de9
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x10002ab9
call fcn.10008de9
mov ebx, dword [ebp + 8]
lea edx, [esi + 0xc]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [ebx + 0x40]
push ecx
call fcn.100030e0
push esi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.10003230
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
push 0
push 1
push edx
mov edx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call esi
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
jmp 0x10002aaf
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, 0x80004004
je 0x10002b69
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
push 0
push 2
push edx
mov edx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8