Function at 0x4335d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x478798
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [0x4a440c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a440c
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 0x47ea00
push 0x17
push ebx
push 0x47f2f8
mov byte [esp + 0x5c], 1
mov dword [esp + 0x30], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x43367a
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ole32.dll_OleRun]
mov esi, eax
cmp esi, ebx
jl 0x43366a
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x1c]
push ecx
push 0x47ef60
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 0x433692
xor eax, eax
cmp esi, ebx
mov dword [esp + 0x1c], eax
jge 0x433696
cmp esi, 0x80004002
je 0x433696
push esi
call fcn.004650f0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 2
cmp eax, ebx
jne 0x4336a9
push 0x80004003
call fcn.004650f0
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 0x4336ce
push 0x80004003
call fcn.004650f0
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.00407050
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 0x4338b8
jmp 0x43371c
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 0x4338b8
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
inc eax
cmp ebp, eax
jae 0x433a4b
mov edi, dword [esp + 0x1c]
cmp edi, ebx
je 0x43369f
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x43375f
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.004069f0
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 0x43389a
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x43369f
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 0x43389a
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x43369f
push str.DRIVE
lea ecx, [esp + 0x30]
call fcn.00406740
mov eax, dword [eax]
mov byte [esp + 0x48], 4
cmp eax, ebx
je 0x4337de
mov eax, dword [eax]
jmp 0x4337e0
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 0x433839
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x433835
cmp esi, ebx
je 0x433835
mov eax, dword [esi]
cmp eax, ebx
je 0x43381c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x43382c
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 0x43386f
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x433846
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x30]
call fcn.00402860
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 0x4338be
movzx eax, word [ebp]
mov di, word [esp + 0x50]
cmp ax, di
je 0x4338c8
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x43389a
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 0x433714
push eax
call fcn.00401100
push 0x80070057
call fcn.00401100
mov eax, dword [0x4a440c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a440c
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 0x4338f5
push 0x80004003
call fcn.004650f0
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 0x43393d
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x433910
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.00402860
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.00403120
add esp, 8
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x47ed68
call fcn.004062c0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x47ed68
mov byte [esp + 0x54], 6
call fcn.004062c0
push 0x8004
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x34], esp
mov edi, esp
push esi
mov byte [esp + 0x5c], 7
call fcn.00401510
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [esp + 0x58], 8
call fcn.0041b650
mov ecx, eax
mov byte [esp + 0x58], 5
call fcn.0041fe20
mov byte [esp + 0x48], 3
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4339cb
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 0x4339e5
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
cmp eax, ebx
jl 0x4339e5
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x4339fa
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 0x433a0e
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 0x433a32
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 0x433a61
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
cmp eax, ebx
jl 0x433a61
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x433a76
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 0x433a8a
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 0x433ab2
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