Function at 0x431394
Capabilities:
Delete file

Disassembly:
push 0x1ec
mov eax, 0x4c136b
call fcn.004a922b
xor ebx, ebx
mov dword [ebp - 4], ebx
lea esi, [ebp - 0x168]
call fcn.0042f1b5
push ecx
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00423ac9
call fcn.00464300
pop ecx
cmp eax, ebx
jne 0x4313fb
push 5
pop edi
lea esi, [ebp - 0x168]
call fcn.004312bd
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, edi
jmp 0x431842
push 1
push ebx
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00423ac9
lea eax, [ebp - 0xe0]
push eax
call fcn.00426045
mov byte [ebp - 4], 3
lea eax, [ebp - 0xe0]
push eax
cmp dword [ebp - 0x54], ebx
jne 0x431436
mov byte [ebp - 4], 2
call fcn.00426104
push 0xe
jmp 0x4313d2
lea eax, [ebp - 0x168]
push eax
call fcn.00427120
pop ecx
pop ecx
test al, al
jne 0x43145f
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 2
call fcn.00426104
push 0xf
jmp 0x4313d2
push ecx
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00423ac9
call fcn.00464340
pop ecx
cmp eax, ebx
jne 0x431492
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 2
call fcn.00426104
push 0x10
jmp 0x4313d2
push ecx
mov dword [ebp - 0x18], esp
mov edi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
mov esi, 0x4ca088
push esi
call fcn.0042342e
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x4ccab0
call fcn.0042342e
push ecx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00423ac9
mov byte [ebp - 4], 3
call fcn.00461470
add esp, 0xc
call fcn.00464300
pop ecx
cmp eax, ebx
je 0x43180e
push ecx
mov dword [ebp - 0x10], esp
mov edi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push esi
call fcn.0042342e
push ecx
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov ebx, str.VirtFiles.db
push ebx
call fcn.0042342e
push ecx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00423ac9
mov byte [ebp - 4], 3
call fcn.00461470
add esp, 0xc
call fcn.00464300
pop ecx
test eax, eax
je 0x43180e
push ecx
mov dword [ebp - 0x10], esp
mov edi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push esi
call fcn.0042342e
push ecx
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.VirtReg.export
call fcn.0042342e
push ecx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00423ac9
mov byte [ebp - 4], 3
call fcn.00461470
add esp, 0xc
call fcn.00464300
pop ecx
test eax, eax
je 0x43180e
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push dword [ebp - 0x160]
push str._s.VirtFiles.db
push eax
call fcn.00461920
lea eax, [ebp - 0x14]
add esp, 0xc
push eax
call fcn.00461020
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00423ac9
push ecx
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Main
call fcn.0042342e
push 4
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 0xa
call fcn.0047a660
test eax, eax
je 0x431627
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 2
call fcn.00426104
push 8
jmp 0x4313d2
lea eax, [ebp - 0xe0]
call fcn.004792b0
and dword [ebp - 0x4c], 0
xor eax, eax
lea edi, [ebp - 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ecx
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
lea edi, [ebp - 0x4c]
call fcn.00423ac9
call fcn.0046c580
and dword [ebp - 0x34], 0
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x10], esp
stosd dword es:[edi], eax
mov edi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push esi
call fcn.0042342e
push ecx
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ebx
call fcn.0042342e
push ecx
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00423ac9
mov byte [ebp - 4], 0xa
call fcn.00461470
add esp, 0xc
lea edi, [ebp - 0x34]
call fcn.0046c580
pop ecx
lea eax, [ebp - 0x4c]
push eax
push 0x42f43d
push 0
push dword [ebp - 0x2c]
mov eax, edi
push eax
call fcn.00480a30
push dword [ebp - 0x14]
lea eax, [ebp - 0x4c]
call fcn.00480bb0
push 1
push 1
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00423ac9
lea eax, [ebp - 0x1f8]
push eax
call fcn.00426045
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x16c], 0
jne 0x431730
lea eax, [ebp - 0x1f8]
push eax
mov byte [ebp - 4], 0xa
call fcn.00426104
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 2
call fcn.00426104
push 7
jmp 0x4313d2
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Main
call fcn.0042342e
push 0x4000
push 4
push ecx
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.00423ac9
lea eax, [ebp - 0x1f8]
push eax
mov byte [ebp - 4], 0xe
call fcn.00479f70
test eax, eax
lea eax, [ebp - 0x1f8]
je 0x43178e
call fcn.004792b0
lea eax, [ebp - 0x1f8]
push eax
mov byte [ebp - 4], 0xa
call fcn.00426104
jmp 0x431605
call fcn.004792b0
test eax, eax
lea eax, [ebp - 0x1f8]
mov byte [ebp - 4], 0xa
push eax
je 0x4317c9
call fcn.00426104
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 2
call fcn.00426104
push 0xa
jmp 0x4313d2
call fcn.00426104
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 2
call fcn.00426104
lea esi, [ebp - 0x168]
call fcn.004312bd
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042101a
xor eax, eax
jmp 0x431842
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 2
call fcn.00426104
lea esi, [ebp - 0x168]
call fcn.004312bd
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042101a
push 6
pop eax
call fcn.004a9303
ret