Function at 0x431f30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x477c68
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49ef38]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [0x49f4e4]
mov edx, dword [eax + 0xc]
mov ecx, 0x49f4e4
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 0x47d9f4
push 0x17
push ebx
push 0x47e28c
mov byte [esp + 0x5c], 1
mov dword [esp + 0x30], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x431fda
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ole32.dll_OleRun]
mov esi, eax
cmp esi, ebx
jl 0x431fca
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x1c]
push ecx
push 0x47df78
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 0x431ff2
xor eax, eax
cmp esi, ebx
mov dword [esp + 0x1c], eax
jge 0x431ff6
cmp esi, 0x80004002
je 0x431ff6
push esi
call fcn.004633e0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 2
cmp eax, ebx
jne 0x432009
push 0x80004003
call fcn.004633e0
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 0x43202e
push 0x80004003
call fcn.004633e0
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.00406f60
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 0x432218
jmp 0x43207c
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 0x432218
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
inc eax
cmp ebp, eax
jae 0x4323ab
mov edi, dword [esp + 0x1c]
cmp edi, ebx
je 0x431fff
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4320bf
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.00406a30
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 0x4321fa
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x431fff
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 0x4321fa
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x431fff
push 0x482c2c
lea ecx, [esp + 0x30]
call fcn.00406780
mov eax, dword [eax]
mov byte [esp + 0x48], 4
cmp eax, ebx
je 0x43213e
mov eax, dword [eax]
jmp 0x432140
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 0x432199
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x432195
cmp esi, ebx
je 0x432195
mov eax, dword [esi]
cmp eax, ebx
je 0x43217c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x43218c
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 0x4321cf
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4321a6
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x30]
call fcn.004028e0
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 0x43221e
movzx eax, word [ebp]
mov di, word [esp + 0x50]
cmp ax, di
je 0x432228
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4321fa
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 0x432074
push eax
call fcn.00401120
push 0x80070057
call fcn.00401120
mov eax, dword [0x49f4e4]
mov edx, dword [eax + 0xc]
mov ecx, 0x49f4e4
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 0x432255
push 0x80004003
call fcn.004633e0
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 0x43229d
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x432270
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.004028e0
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.004031a0
add esp, 8
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x47dd5c
call fcn.00406330
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x47dd5c
mov byte [esp + 0x54], 6
call fcn.00406330
push 0x8004
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x34], esp
mov edi, esp
push esi
mov byte [esp + 0x5c], 7
call fcn.00401530
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [esp + 0x58], 8
call fcn.00419a30
mov ecx, eax
mov byte [esp + 0x58], 5
call fcn.0041c5b0
mov byte [esp + 0x48], 3
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43232b
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 0x432345
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
cmp eax, ebx
jl 0x432345
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x43235a
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 0x43236e
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 0x432392
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 0x4323c1
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
cmp eax, ebx
jl 0x4323c1
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x4323d6
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 0x4323ea
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 0x432412
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