Function at 0x434780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47abd8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a5eb0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [0x4a643c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a643c
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
xor ebx, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x20]
push eax
push 0x480a40
push 0x17
push ebx
push 0x481370
mov byte [esp + 0x5c], 1
mov dword [esp + 0x30], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x43482a
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ole32.dll_OleRun]
mov esi, eax
cmp esi, ebx
jl 0x43481a
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x1c]
push ecx
push 0x480fd8
push eax
call edx
mov esi, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x434842
xor eax, eax
cmp esi, ebx
mov dword [esp + 0x1c], eax
jge 0x434846
cmp esi, 0x80004002
je 0x434846
push esi
call fcn.004671f0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 2
cmp eax, ebx
jne 0x434859
push 0x80004003
call fcn.004671f0
mov esi, dword [eax]
mov edi, eax
add esi, 0x24
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov eax, dword [esi]
push edi
call eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x43487e
push 0x80004003
call fcn.004671f0
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], 3
call fcn.004071e0
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x30]
push edx
push 1
xor ebp, ebp
push esi
mov dword [esp + 0x30], ebp
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
cmp eax, ebx
jl 0x434a68
jmp 0x4348cc
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x38]
push eax
push 1
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
cmp eax, ebx
jl 0x434a68
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
inc eax
cmp ebp, eax
jae 0x434bfb
mov edi, dword [esp + 0x1c]
cmp edi, ebx
je 0x43484f
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x43490f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], ebx
mov esi, dword [edi]
push ebp
lea ecx, [esp + 0x24]
add esi, 0x20
call fcn.00406b80
mov ebp, eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp]
mov edx, dword [esi]
push eax
push ecx
push edi
call edx
test eax, eax
jne 0x434a4a
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x43484f
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
cmp dword [esp + 0x3c], 8
jne 0x434a4a
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x43484f
push str.DRIVE
lea ecx, [esp + 0x30]
call fcn.004068b0
mov eax, dword [eax]
mov byte [esp + 0x48], 4
cmp eax, ebx
je 0x43498e
mov eax, dword [eax]
jmp 0x434990
xor eax, eax
mov ecx, dword [esi]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x68]
push esi
call eax
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x48], 3
cmp eax, ebx
je 0x4349e9
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x4349e5
cmp esi, ebx
je 0x4349e5
mov eax, dword [esi]
cmp eax, ebx
je 0x4349cc
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4349dc
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x2c], ebx
mov edx, dword [esp + 0x18]
cmp edx, ebx
je 0x434a1f
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4349f6
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x30]
call fcn.004028b0
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x28]
cmp dword [ebp - 0xc], ebx
jl 0x434a6e
movzx eax, word [ebp]
mov di, word [esp + 0x50]
cmp ax, di
je 0x434a78
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x434a4a
mov dword [esp + 0x14], ebx
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov edx, dword [esp + 0x20]
inc dword [esp + 0x24]
lea ecx, [esp + 0x30]
push ecx
push 1
push edx
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
cmp eax, ebx
jge 0x4348c4
push eax
call fcn.00401100
push 0x80070057
call fcn.00401100
mov eax, dword [0x4a643c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a643c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], 5
cmp eax, ebx
jne 0x434aa5
push 0x80004003
call fcn.004671f0
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
mov edx, dword [esp + 0x18]
cmp edx, ebx
je 0x434aed
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x434ac0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.004028b0
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x18], ebx
movzx edx, di
push esi
push edx
push str.__c:___________________________s
call fcn.00403170
add esp, 8
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x480de0
call fcn.00406300
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x480de0
mov byte [esp + 0x54], 6
call fcn.00406300
push 0x8004
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x34], esp
mov edi, esp
push esi
mov byte [esp + 0x5c], 7
call fcn.004014f0
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [esp + 0x58], 8
call fcn.0041cb50
mov ecx, eax
mov byte [esp + 0x58], 5
call fcn.004212f0
mov byte [esp + 0x48], 3
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x434b7b
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x434b95
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
cmp eax, ebx
jl 0x434b95
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x434baa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x434bbe
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x10]
mov dword [esp + 0x48], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434be2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
cmp esi, ebx
je 0x434c11
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
cmp eax, ebx
jl 0x434c11
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x434c26
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x434c3a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x48], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434c62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret