Function at 0x42a0e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x477330
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49eef8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x49f474]
mov edx, dword [eax + 0xc]
mov ecx, 0x49f474
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x24], ebp
mov eax, dword [0x49f474]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov ecx, 0x49f474
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.00427bc0
add esp, 8
mov esi, dword [esp + 0x1c]
cmp esi, ebx
sete al
mov byte [esp + 0x30], 2
cmp al, bl
je 0x42a1d0
mov byte [esp + 0x30], 1
cmp esi, ebx
je 0x42a173
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 0x42a193
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 0x42a1b7
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 0x47da00
push 0x17
push ebx
push 0x47e294
mov dword [esp + 0x28], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, ebx
jl 0x42a22a
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ole32.dll_OleRun]
mov edi, eax
cmp edi, ebx
jl 0x42a21a
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x47df80
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 0x42a242
xor eax, eax
cmp edi, ebx
mov dword [esp + 0x14], eax
jge 0x42a246
cmp edi, 0x80004002
je 0x42a246
push edi
call fcn.004634f0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x30], 3
cmp eax, ebx
jne 0x42a259
push 0x80004003
call fcn.004634f0
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 0x42a27c
mov ecx, dword [esi]
mov edx, dword [ecx + 0x20]
push esi
call edx
xor edi, edi
jmp 0x42a281
mov edi, 0x80070037
mov eax, dword [esp + 0x14]
mov byte [esp + 0x30], 2
cmp eax, ebx
je 0x42a296
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x30], 1
cmp esi, ebx
je 0x42a2a7
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 0x42a2cb
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 0x42a2f3
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