Function at 0x4356c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47b408
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [0x4a743c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a743c
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 0x481a40
push 0x17
push ebx
push 0x4823c8
mov byte [esp + 0x5c], 1
mov dword [esp + 0x30], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x43576a
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ole32.dll_OleRun]
mov esi, eax
cmp esi, ebx
jl 0x43575a
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x1c]
push ecx
push 0x481fd8
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 0x435782
xor eax, eax
cmp esi, ebx
mov dword [esp + 0x1c], eax
jge 0x435786
cmp esi, 0x80004002
je 0x435786
push esi
call fcn.00467970
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 2
cmp eax, ebx
jne 0x435799
push 0x80004003
call fcn.00467970
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 0x4357be
push 0x80004003
call fcn.00467970
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.00407210
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 0x4359a8
jmp 0x43580c
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 0x4359a8
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
inc eax
cmp ebp, eax
jae 0x435b3b
mov edi, dword [esp + 0x1c]
cmp edi, ebx
je 0x43578f
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x43584f
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.00406bb0
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 0x43598a
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x43578f
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 0x43598a
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x43578f
push str.DRIVE
lea ecx, [esp + 0x30]
call fcn.004068c0
mov eax, dword [eax]
mov byte [esp + 0x48], 4
cmp eax, ebx
je 0x4358ce
mov eax, dword [eax]
jmp 0x4358d0
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 0x435929
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x435925
cmp esi, ebx
je 0x435925
mov eax, dword [esi]
cmp eax, ebx
je 0x43590c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x43591c
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 0x43595f
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x435936
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 0x4359ae
movzx eax, word [ebp]
mov di, word [esp + 0x50]
cmp ax, di
je 0x4359b8
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x43598a
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 0x435804
push eax
call fcn.00401120
push 0x80070057
call fcn.00401120
mov eax, dword [0x4a743c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a743c
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 0x4359e5
push 0x80004003
call fcn.00467970
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 0x435a2d
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x435a00
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 0x481de0
call fcn.00406310
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x481de0
mov byte [esp + 0x54], 6
call fcn.00406310
push 0x8004
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x34], esp
mov edi, esp
push esi
mov byte [esp + 0x5c], 7
call fcn.00401520
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [esp + 0x58], 8
call fcn.0041d6a0
mov ecx, eax
mov byte [esp + 0x58], 5
call fcn.00421e40
mov byte [esp + 0x48], 3
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x435abb
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 0x435ad5
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
cmp eax, ebx
jl 0x435ad5
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x435aea
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 0x435afe
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 0x435b22
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 0x435b51
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
cmp eax, ebx
jl 0x435b51
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x435b66
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 0x435b7a
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 0x435ba2
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