Function at 0x430290
Capabilities:
Delete file

Disassembly:
sub esp, 0x51c
call fcn.00411060
cmp eax, 1
jne 0x4302a9
xor eax, eax
add esp, 0x51c
ret
push ebx
push ebp
push esi
mov esi, dword [esp + 0x52c]
push edi
xor ebp, ebp
push ebp
lea eax, [esp + 0x330]
push eax
push ebp
push ebp
push esi
mov ebx, 1
call fcn.00467772
lea ecx, [esp + 0x340]
push ecx
lea edx, [esp + 0x240]
push str._s.mjo
push edx
call fcn.00466e90
lea eax, [esp + 0x248]
push eax
lea ecx, [esp + 0x24c]
push ecx
call fcn.00458a20
add esp, 0x28
test eax, eax
jne 0x43045b
lea edx, [esp + 0x32c]
push edx
lea eax, [esp + 0x128]
push str._s.txt
push eax
mov ebp, 1
call fcn.00466e90
lea ecx, [esp + 0x130]
push ecx
lea edx, [esp + 0x134]
push edx
call fcn.00458a20
add esp, 0x14
test eax, eax
jne 0x4306b0
lea eax, [esp + 0x32c]
push eax
lea ecx, [esp + 0x128]
push str._s.mjs
push ecx
call fcn.00466e90
lea edx, [esp + 0x130]
push edx
lea eax, [esp + 0x134]
push eax
call fcn.00458a20
add esp, 0x14
test eax, eax
jne 0x4306b0
lea ecx, [esp + 0x32c]
push ecx
push str.LoadObject_:
call fcn.00410b60
push 0
push str.scenario
call fcn.004566d0
push 0
push str.scenario9
call fcn.004566d0
push 0
push str.scenario8
call fcn.004566d0
push 0
push str.scenario7
call fcn.004566d0
push 0
push str.scenario6
call fcn.004566d0
push 0
push str.scenario5
call fcn.004566d0
push 0
push str.scenario4
call fcn.004566d0
add esp, 0x40
push 0
push str.scenario3
call fcn.004566d0
push 0
push str.scenario2
call fcn.004566d0
push 0
push str.scenario1
call fcn.004566d0
mov ebx, ebp
xor ebp, ebp
push ebp
lea edx, [esp + 0x348]
push edx
push ebp
push ebp
push esi
call fcn.00467772
lea eax, [esp + 0x358]
push eax
lea ecx, [esp + 0x258]
push str._s.mjo
push ecx
call fcn.00466e90
lea edx, [esp + 0x260]
push edx
lea eax, [esp + 0x264]
push eax
call fcn.00458a20
add esp, 0x40
test eax, eax
je 0x430306
push 0
lea ecx, [esp + 0x430]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x238]
push ecx
call fcn.00467772
lea edx, [esp + 0x38]
push edx
call fcn.004673e0
mov al, byte [esp + 0x3c]
add esp, 0x18
cmp al, 0x5c
jne 0x4304b4
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x25]
repne scasb al, byte es:[edi]
not ecx
mov eax, ecx
shr ecx, 2
lea esi, [esp + 0x25]
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push 0x5c
push ecx
call fcn.00467bf5
add esp, 8
test eax, eax
je 0x4304e7
or ecx, 0xffffffff
lea esi, [eax + 1]
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov edx, ecx
shr ecx, 2
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x24]
push eax
call fcn.004673e0
push 0x4ad3b4
lea ecx, [esp + 0x434]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x138]
push str._s_s_s._s
push ecx
call fcn.00466e90
lea edx, [esp + 0x140]
push 0x4ad274
push edx
call fcn.00467119
add esp, 0x24
test eax, eax
jne 0x4305fa
push eax
lea eax, [esp + 0x430]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x238]
push eax
call fcn.00467772
lea ecx, [esp + 0x38]
push ecx
call fcn.004673e0
mov al, byte [esp + 0x3c]
add esp, 0x18
cmp al, 0x5c
jne 0x43058f
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x25]
repne scasb al, byte es:[edi]
not ecx
mov edx, ecx
shr ecx, 2
lea esi, [esp + 0x25]
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x24]
push 0x5c
push eax
call fcn.00467bf5
add esp, 8
test eax, eax
je 0x4305c2
or ecx, 0xffffffff
lea esi, [eax + 1]
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov edx, ecx
shr ecx, 2
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x24]
push eax
call fcn.004673e0
push 0x4aff7c
lea ecx, [esp + 0x434]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x138]
push str._s_s_s._s
push ecx
call fcn.00466e90
add esp, 0x1c
jmp 0x430603
push eax
call fcn.00466f32
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 3
push 0
push 0
push 0
lea edx, [esp + 0x13c]
push edx
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x4306b0
push 0
push 0x80
push 3
push 0
push 0
push 0
lea eax, [esp + 0x240]
push eax
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x430697
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea edx, [esp + 0x14]
push edx
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov eax, dword [esp + 0x14]
add eax, 0x28
cmp eax, 0x28
mov dword [esp + 0x14], eax
jae 0x430681
inc dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jl 0x430697
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
cmp esi, 0xffffffff
je 0x4306a8
push esi
call edi
test ebx, ebx
je 0x430750
lea eax, [esp + 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x124]
push ecx
call fcn.0042fd30
add esp, 4
test ebp, ebp
je 0x430750
push 0
push str.scenario
call fcn.004566d0
push 0
push str.scenario9
call fcn.004566d0
push 0
push str.scenario8
call fcn.004566d0
push 0
push str.scenario7
call fcn.004566d0
push 0
push str.scenario6
call fcn.004566d0
push 0
push str.scenario5
call fcn.004566d0
push 0
push str.scenario4
call fcn.004566d0
push 0
push str.scenario3
call fcn.004566d0
add esp, 0x40
push 0
push str.scenario2
call fcn.004566d0
push 0
push str.scenario1
call fcn.004566d0
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x51c
ret