Function at 0x431f60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x477d78
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49eef8]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [0x49f474]
mov edx, dword [eax + 0xc]
mov ecx, 0x49f474
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 0x47da00
push 0x17
push ebx
push 0x47e294
mov byte [esp + 0x5c], 1
mov dword [esp + 0x30], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x43200a
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ole32.dll_OleRun]
mov esi, eax
cmp esi, ebx
jl 0x431ffa
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x1c]
push ecx
push 0x47df80
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 0x432022
xor eax, eax
cmp esi, ebx
mov dword [esp + 0x1c], eax
jge 0x432026
cmp esi, 0x80004002
je 0x432026
push esi
call fcn.004634f0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 2
cmp eax, ebx
jne 0x432039
push 0x80004003
call fcn.004634f0
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 0x43205e
push 0x80004003
call fcn.004634f0
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.00406e70
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 0x432248
jmp 0x4320ac
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 0x432248
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
inc eax
cmp ebp, eax
jae 0x4323db
mov edi, dword [esp + 0x1c]
cmp edi, ebx
je 0x43202f
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4320ef
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.00423480
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 0x43222a
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x43202f
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 0x43222a
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x43202f
push 0x482eb4
lea ecx, [esp + 0x30]
call fcn.00406700
mov eax, dword [eax]
mov byte [esp + 0x48], 4
cmp eax, ebx
je 0x43216e
mov eax, dword [eax]
jmp 0x432170
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 0x4321c9
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x4321c5
cmp esi, ebx
je 0x4321c5
mov eax, dword [esi]
cmp eax, ebx
je 0x4321ac
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4321bc
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 0x4321ff
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4321d6
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x30]
call fcn.00402840
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 0x43224e
movzx eax, word [ebp]
mov di, word [esp + 0x50]
cmp ax, di
je 0x432258
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x43222a
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 0x4320a4
push eax
call fcn.00401120
push 0x80070057
call fcn.00401120
mov eax, dword [0x49f474]
mov edx, dword [eax + 0xc]
mov ecx, 0x49f474
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 0x432285
push 0x80004003
call fcn.004634f0
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 0x4322cd
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4322a0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.00402840
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.00403100
add esp, 8
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x47dd68
call fcn.004062a0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x47dd68
mov byte [esp + 0x54], 6
call fcn.004062a0
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.00419b00
mov ecx, eax
mov byte [esp + 0x58], 5
call fcn.0041cd20
mov byte [esp + 0x48], 3
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43235b
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 0x432375
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
cmp eax, ebx
jl 0x432375
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x43238a
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 0x43239e
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 0x4323c2
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 0x4323f1
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
cmp eax, ebx
jl 0x4323f1
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x432406
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 0x43241a
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 0x432442
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