Function at 0x4137b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a0
push ebx
push esi
mov esi, ecx
push edi
push 0x40
lea eax, [ebp - 0x24c]
lea edi, [esi + 0x1e8]
mov dword [ebp - 0x18], esi
push edi
push eax
mov byte [ebp - 1], 1
mov dword [ebp - 0x20c], esi
call fcn.00420f70
add esp, 0xc
add esi, 0x230
push str.C:CodeBasesisdev_srcRuntimeInstallScriptSetupNewSetupDLL.cpp
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor ebx, ebx
push ebx
push edi
call fcn.0042299c
pop ecx
cmp eax, ebx
pop ecx
jne 0x413fb5
lea ecx, [ebp - 0x180]
call fcn.00407a46
push ebx
sub esp, 0x1c
mov ecx, esp
push 1
push dword [ebp + 8]
call fcn.0040710d
lea ecx, [ebp - 0x180]
call fcn.00407a7d
lea eax, [ebp - 0x1d0]
push 0x26
push eax
lea ecx, [ebp - 0x180]
call fcn.004081a0
push ebx
lea ecx, [ebp - 0x180]
push dword [ebp - 0x1c4]
call fcn.0040cf2a
push dword [ebp - 0x1c8]
call fcn.00420f25
pop ecx
mov esi, eax
push dword [ebp - 0x1c8]
cmp esi, ebx
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x74], esi
push esi
setne byte [ebp - 0x78]
call fcn.004081a0
mov eax, dword [esi + 2]
cmp eax, ebx
je 0x413889
add eax, esi
mov dword [esi + 2], eax
and byte [ebp - 0x3a0], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x39f]
push 0
rep stosd dword es:[edi], eax
push dword [ebp + 0x10]
mov dword [ebp - 0x1c], ebx
stosw word es:[edi], ax
mov ebx, 0x446554
lea ecx, [ebp - 0x54]
stosb byte es:[edi], al
mov dword [ebp - 0x48], 0x44655c
mov dword [ebp - 0x40], ebx
call fcn.00406d6e
mov edi, 0x446550
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], edi
call fcn.00413fb9
lea eax, [ebp - 0x29c]
lea ecx, [ebp - 0x54]
push eax
call fcn.0040723d
push 0
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x2c], 0x44655c
mov dword [ebp - 0x24], ebx
call fcn.00406d6e
lea ecx, [ebp - 0x29c]
mov dword [ebp - 0x38], edi
call fcn.00402544
lea eax, [ebp - 0x274]
lea ecx, [ebp - 0x54]
push eax
call fcn.004071b4
push eax
lea ecx, [ebp - 0x54]
call fcn.00402d12
lea ecx, [ebp - 0x274]
call fcn.00402544
push dword [0x446564]
lea ecx, [ebp - 0x1ec]
push 1
push str.1234567890
call fcn.00406d02
push eax
lea ecx, [ebp - 0x38]
call fcn.00408a11
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x14], eax
call fcn.00402544
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ecx + eax*2]
push eax
call fcn.00421691
pop ecx
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x208]
lea ecx, [ebp - 0x38]
push 0
push eax
call fcn.004026b9
push eax
lea ecx, [ebp - 0x38]
call fcn.00402d12
lea ecx, [ebp - 0x208]
call fcn.00402544
cmp word [esi], 1
lea ecx, [ebp - 0x1a8]
sete byte [ebp - 1]
call fcn.00407a46
and dword [ebp - 8], 0
cmp word [esi], 0
jbe 0x413c64
mov eax, dword [ebp - 8]
mov ecx, eax
shl ecx, 2
mov eax, ecx
add eax, dword [esi + 2]
mov edx, dword [eax]
test edx, edx
je 0x4139ca
add edx, esi
mov dword [eax], edx
mov eax, dword [esi + 2]
mov eax, dword [ecx + eax]
inc eax
inc eax
mov edx, dword [eax]
test edx, edx
je 0x4139dc
add edx, esi
mov dword [eax], edx
mov eax, dword [esi + 2]
mov eax, dword [ecx + eax]
add eax, 6
mov edx, dword [eax]
test edx, edx
je 0x4139ef
add edx, esi
mov dword [eax], edx
mov eax, dword [esi + 2]
and dword [ebp - 0xc], 0
mov eax, dword [ecx + eax]
cmp word [eax], 0
jbe 0x413c55
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, eax
mov eax, dword [esi + 2]
shl ecx, 2
shl edx, 2
mov eax, dword [ecx + eax]
mov dword [ebp - 0x10], edx
mov eax, dword [eax + 2]
add eax, edx
mov edx, dword [eax]
test edx, edx
je 0x413a29
add edx, esi
mov dword [eax], edx
mov eax, dword [esi + 2]
mov eax, dword [ecx + eax]
mov eax, dword [eax + 6]
add eax, dword [ebp - 0x10]
mov edx, dword [eax]
test edx, edx
je 0x413a3f
add edx, esi
mov dword [eax], edx
mov eax, dword [esi + 2]
push 0
mov eax, dword [ecx + eax]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + 2]
mov eax, dword [eax + ecx]
lea ecx, [ebp - 0xcc]
push eax
mov dword [ebp - 0xc0], 0x44655c
mov dword [ebp - 0xb8], ebx
call fcn.00403191
mov eax, dword [ebp - 8]
mov dword [ebp - 0xcc], edi
mov ecx, dword [esi + 2]
push 0
shl eax, 2
mov eax, dword [eax + ecx]
mov ecx, dword [eax + 6]
mov eax, dword [ebp - 0xc]
shl eax, 2
mov eax, dword [ecx + eax]
lea ecx, [ebp - 0xe8]
push eax
mov dword [ebp - 0xdc], 0x44655c
mov dword [ebp - 0xd4], ebx
call fcn.00403191
cmp byte [ebp - 1], 0
mov dword [ebp - 0xe8], edi
je 0x413ad8
lea ecx, [ebp - 0xcc]
call fcn.00402c9d
push str.layout.bin
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x413c24
push 0
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x130], 0x44655c
mov dword [ebp - 0x128], ebx
call fcn.00402471
xor eax, eax
mov dword [ebp - 0x13c], edi
cmp dword [ebp - 0xd8], eax
je 0x413b11
push dword [ebp - 0xd8]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x413b3b
lea eax, [ebp - 0xe8]
lea ecx, [ebp - 0x13c]
push eax
call fcn.00402d12
lea eax, [ebp - 0xcc]
lea ecx, [ebp - 0x13c]
push eax
call fcn.0040789a
jmp 0x413b4d
lea eax, [ebp - 0xcc]
lea ecx, [ebp - 0x13c]
push eax
call fcn.00402d12
push 0
lea ecx, [ebp - 0x120]
push dword [ebp + 0x10]
mov dword [ebp - 0x114], 0x44655c
mov dword [ebp - 0x10c], ebx
call fcn.00406d6e
cmp byte [ebp - 1], 0
mov dword [ebp - 0x120], edi
jne 0x413bc3
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x120]
push eax
call fcn.00402d12
lea ecx, [ebp - 0x38]
call fcn.00402c9d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
add eax, ecx
push eax
lea eax, [ebp - 0x3a0]
push dword [ebp - 0x34]
push str._s_i
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x3a0]
lea ecx, [ebp - 0x120]
push eax
call fcn.004033a2
lea eax, [ebp - 0x13c]
lea ecx, [ebp - 0x120]
push eax
call fcn.0040789a
push 0
lea eax, [ebp - 0x120]
sub esp, 0x1c
mov ecx, esp
push 1
push eax
call fcn.0040710d
lea ecx, [ebp - 0x1a8]
call fcn.00407a7d
lea ecx, [ebp - 0x1a8]
call fcn.004158c1
add dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x1a8]
call fcn.00407f7d
lea ecx, [ebp - 0x120]
call fcn.00402544
lea ecx, [ebp - 0x13c]
call fcn.00402544
lea ecx, [ebp - 0xe8]
call fcn.00402544
lea ecx, [ebp - 0xcc]
call fcn.00402544
mov eax, dword [ebp - 8]
mov ecx, dword [esi + 2]
inc dword [ebp - 0xc]
shl eax, 2
mov eax, dword [eax + ecx]
movzx eax, word [eax]
cmp dword [ebp - 0xc], eax
jl 0x413a03
movzx eax, word [esi]
inc dword [ebp - 8]
cmp dword [ebp - 8], eax
jl 0x4139b3
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push 3
mov dword [ecx + 0x348], eax
and dword [ecx + 0x34c], 0
call fcn.00409604
and dword [ebp - 8], 0
cmp word [esi], 0
jbe 0x413f09
mov eax, dword [esi + 2]
mov ecx, dword [ebp - 8]
and dword [ebp - 0xc], 0
mov eax, dword [eax + ecx*4]
cmp word [eax], 0
jbe 0x413efa
mov eax, dword [esi + 2]
mov ecx, dword [ebp - 8]
push 0
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 2]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x94]
push eax
mov dword [ebp - 0x88], 0x44655c
mov dword [ebp - 0x80], ebx
call fcn.00403191
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x94], edi
mov eax, dword [esi + 2]
push 0
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 6]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x70]
push eax
mov dword [ebp - 0x64], 0x44655c
mov dword [ebp - 0x5c], ebx
call fcn.00403191
cmp byte [ebp - 1], 0
mov dword [ebp - 0x70], edi
je 0x413d2a
lea ecx, [ebp - 0x94]
call fcn.00402c9d
push str.layout.bin
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x413ecf
push 0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xa4], 0x44655c
mov dword [ebp - 0x9c], ebx
call fcn.00402471
xor eax, eax
mov dword [ebp - 0xb0], edi
cmp dword [ebp - 0x60], eax
je 0x413d5d
push dword [ebp - 0x60]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x413d84
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0xb0]
push eax
call fcn.00402d12
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0xb0]
push eax
call fcn.0040789a
jmp 0x413d96
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0xb0]
push eax
call fcn.00402d12
push 0
lea ecx, [ebp - 0x104]
push dword [ebp + 0x10]
mov dword [ebp - 0xf8], 0x44655c
mov dword [ebp - 0xf0], ebx
call fcn.00406d6e
push 0
lea ecx, [ebp - 0x158]
push dword [ebp + 0xc]
mov dword [ebp - 0x104], edi
mov dword [ebp - 0x14c], 0x44655c
mov dword [ebp - 0x144], ebx
call fcn.00406d6e
cmp byte [ebp - 1], 0
mov dword [ebp - 0x158], edi
jne 0x413e44
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x104]
push eax
call fcn.00402d12
lea ecx, [ebp - 0x38]
call fcn.00402c9d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
add eax, ecx
push eax
lea eax, [ebp - 0x3a0]
push dword [ebp - 0x34]
push str._s_i
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x3a0]
lea ecx, [ebp - 0x104]
push eax
call fcn.004033a2
lea eax, [ebp - 0x3a0]
lea ecx, [ebp - 0x158]
push eax
call fcn.004033a2
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0x104]
push eax
call fcn.0040789a
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0x158]
push eax
call fcn.0040789a
xor eax, eax
cmp dword [ebp - 0x60], eax
je 0x413e78
push dword [ebp - 0x60]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jne 0x413e85
cmp byte [ebp - 1], al
je 0x413e85
xor al, al
jmp 0x413e87
mov al, 1
mov ecx, dword [ebp - 0x18]
push 0x794
push eax
lea eax, [ebp - 0x158]
push 1
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.00413303
mov ecx, dword [ebp - 0x18]
push eax
call fcn.004122d3
lea ecx, [ebp - 0x158]
call fcn.00402544
lea ecx, [ebp - 0x104]
call fcn.00402544
lea ecx, [ebp - 0xb0]
call fcn.00402544
lea ecx, [ebp - 0x70]
call fcn.00402544
lea ecx, [ebp - 0x94]
call fcn.00402544
mov eax, dword [esi + 2]
mov ecx, dword [ebp - 8]
inc dword [ebp - 0xc]
mov eax, dword [eax + ecx*4]
movzx eax, word [eax]
cmp dword [ebp - 0xc], eax
jl 0x413ca3
movzx eax, word [esi]
inc dword [ebp - 8]
cmp dword [ebp - 8], eax
jl 0x413c8c
mov eax, dword [ebp - 0x18]
push dword [ebp + 0xc]
lea ecx, [eax + 0x6d4]
call fcn.00402d12
mov edi, 0x4465c0
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x1a8], edi
call fcn.00407f7d
lea ecx, [ebp - 0x1a0]
call fcn.00402544
lea ecx, [ebp - 0x38]
call fcn.00402544
lea ecx, [ebp - 0x54]
call fcn.00402544
cmp byte [ebp - 0x78], 0
je 0x413f58
push esi
call fcn.00420a94
pop ecx
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x180], edi
call fcn.00407f7d
lea ecx, [ebp - 0x178]
call fcn.00402544
cmp byte [ebp - 1], 0
jne 0x413f8d
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00402c9d
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor esi, esi
lea eax, [ebp - 0x24c]
push 0x40
push eax
mov eax, dword [ebp - 0x20c]
add eax, 0x1e8
push eax
call fcn.00420f70
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc
mov esi, eax
jmp 0x413f8f