Function at 0x4079a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4652f4
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4792b0]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4792b0]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
xor eax, eax
mov word [esp + 0xac], ax
mov eax, dword [0x47bb40]
xor ebx, ebx
mov esi, vtable.HString.0
mov ebp, 7
mov edi, ecx
mov byte [esp + 0x17], bl
mov dword [esp + 0xa4], esi
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xbc], ebx
inc eax
mov dword [esp + 0xd4], ebx
xor ecx, ecx
inc eax
mov dword [esp + 0x84], esi
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], cx
mov dword [0x47bb40], eax
lea edx, [esp + 0x38]
push edx
mov ecx, str.AiCiIdiomTask.dll
mov byte [esp + 0xd8], 1
call fcn.00405560
push edi
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0xdc], 2
call fcn.00405430
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x94]
mov byte [esp + 0xe0], 3
call fcn.00405e80
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x94]
call fcn.00405e80
dec dword [0x47bb40]
mov edi, 8
mov dword [esp + 0x18], esi
cmp dword [esp + 0x34], edi
jb 0x407aba
mov eax, dword [esp + 0x20]
push eax
call fcn.004493e1
add esp, 4
mov byte [esp + 0xd4], 1
dec dword [0x47bb40]
xor ecx, ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
mov dword [esp + 0x38], esi
cmp dword [esp + 0x54], edi
jb 0x407aee
mov edx, dword [esp + 0x40]
push edx
call fcn.004493e1
add esp, 4
mov eax, dword [esp + 0x8c]
cmp dword [esp + 0xa0], edi
jae 0x407b05
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x407c6b
mov ecx, str.DllRegister
cmp byte [esp + 0xdc], bl
jne 0x407b27
mov ecx, str.DllUnRegister
lea eax, [esp + 0x64]
push eax
call fcn.00405560
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x472f00
mov byte [esp + 0xd8], 4
call fcn.00405560
lea edx, [esp + 0x18]
push edx
mov ecx, str.rundll32__
mov byte [esp + 0xd8], 5
call fcn.00405560
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0xe0], 6
call fcn.00405e80
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0xb4]
call fcn.00405e80
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0xb4]
call fcn.00405e80
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0xb4]
call fcn.00405e80
dec dword [0x47bb40]
mov dword [esp + 0x18], esi
cmp dword [esp + 0x34], edi
jb 0x407bd7
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004493e1
add esp, 4
dec dword [0x47bb40]
xor edx, edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
mov dword [esp + 0x38], esi
cmp dword [esp + 0x54], edi
jb 0x407c03
mov eax, dword [esp + 0x40]
push eax
call fcn.004493e1
add esp, 4
mov byte [esp + 0xd4], 1
dec dword [0x47bb40]
xor ecx, ecx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], cx
mov dword [esp + 0x64], esi
cmp dword [esp + 0x80], edi
jb 0x407c3a
mov edx, dword [esp + 0x6c]
push edx
call fcn.004493e1
add esp, 4
mov eax, dword [esp + 0xac]
cmp dword [esp + 0xc0], edi
jae 0x407c51
lea eax, [esp + 0xac]
lea ecx, [esp + 0x58]
push ecx
mov dword [esp + 0x64], ebx
mov byte [esp + 0x5c], bl
mov dword [esp + 0x60], ebx
call fcn.004046a0
mov byte [esp + 0x17], al
dec dword [0x47bb40]
mov dword [esp + 0x84], esi
cmp dword [esp + 0xa0], edi
jb 0x407c91
mov edx, dword [esp + 0x8c]
push edx
call fcn.004493e1
add esp, 4
dec dword [0x47bb40]
xor eax, eax
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], ax
mov dword [esp + 0xa4], esi
cmp dword [esp + 0xc0], edi
jb 0x407ccf
mov ecx, dword [esp + 0xac]
push ecx
call fcn.004493e1
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.004493ec
add esp, 0xc4
ret 4