Function at 0x429860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4771e0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49ef38]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x49f4e4]
mov edx, dword [eax + 0xc]
mov ecx, 0x49f4e4
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x24], ebp
mov eax, dword [0x49f4e4]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov ecx, 0x49f4e4
mov dword [esp + 0x30], ebx
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x38], 1
call fcn.004275c0
add esp, 8
mov esi, dword [esp + 0x1c]
cmp esi, ebx
sete al
mov byte [esp + 0x30], 2
cmp al, bl
je 0x429950
mov byte [esp + 0x30], 1
cmp esi, ebx
je 0x4298f3
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429913
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429937
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x80070037
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
lea ecx, [esp + 0x18]
push ecx
push 0x47d9f4
push 0x17
push ebx
push 0x47e28c
mov dword [esp + 0x28], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, ebx
jl 0x4299aa
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ole32.dll_OleRun]
mov edi, eax
cmp edi, ebx
jl 0x42999a
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x47df78
push eax
mov eax, dword [ecx]
call eax
mov edi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, ebx
jge 0x4299c2
xor eax, eax
cmp edi, ebx
mov dword [esp + 0x14], eax
jge 0x4299c6
cmp edi, 0x80004002
je 0x4299c6
push edi
call fcn.004633e0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x30], 3
cmp eax, ebx
jne 0x4299d9
push 0x80004003
call fcn.004633e0
mov edi, dword [eax]
mov ebp, eax
add edi, 0x24
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov eax, dword [edi]
push ebp
call eax
cmp esi, ebx
je 0x4299fc
mov ecx, dword [esi]
mov edx, dword [ecx + 0x20]
push esi
call edx
xor edi, edi
jmp 0x429a01
mov edi, 0x80070037
mov eax, dword [esp + 0x14]
mov byte [esp + 0x30], 2
cmp eax, ebx
je 0x429a16
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x30], 1
cmp esi, ebx
je 0x429a27
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x30], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x429a4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429a73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret