Function at 0x4060c0
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x544f21
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x591d64]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x591d64]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14c]
mov edi, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], edi
call fcn.00415458
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x406128
push 0x80004005
call fcn.0040e230
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x144], ebp
mov eax, dword [edi + 8]
cmp eax, ebp
mov dword [esp + 0x2c], eax
jle 0x4062d1
mov ebx, dword [sym.imp.KERNEL32.dll_WinExec]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ebx, [ebx]
test ebp, ebp
jl 0x406327
mov eax, dword [esp + 0x28]
cmp ebp, dword [eax + 8]
jge 0x406327
mov ecx, dword [eax + 4]
mov edx, dword [ecx + ebp*4]
lea eax, [ecx + ebp*4]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xe8]
push edx
push ecx
lea edx, [esp + 0x1c]
push str._s_s
push edx
call fcn.0040de30
mov esi, dword [esp + 0x24]
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40624a
push 0x103
lea eax, [esp + 0x39]
push 0
push eax
mov byte [esp + 0x40], 0
call fcn.00507960
push esi
push str.regsvr32__s___s_
lea edx, [esp + 0x48]
call fcn.0040cd80
add esp, 0x14
push 1
lea ecx, [esp + 0x38]
push ecx
call ebx
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push str.Msg:regsvr32_success_
push eax
call fcn.0040d960
push 0x56ece8
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x15c], 1
call fcn.0040db20
mov eax, dword [eax]
add esp, 0x18
push eax
call edi
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40623c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x144], 0
mov eax, dword [esp + 0x18]
jmp 0x4062aa
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push str.Msg:regsvr32_false__file_not_exist_
push edx
call fcn.0040d960
push 0x56ece8
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x15c], 2
call fcn.0040db20
mov eax, dword [eax]
add esp, 0x18
push eax
call edi
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40629e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x144], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4062c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebp
cmp ebp, dword [esp + 0x2c]
jl 0x406160
lea eax, [esi - 0x10]
mov dword [esp + 0x144], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4062f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.005043e7
add esp, 0x134
ret 4
call fcn.0041359b
int3