Function at 0x412c00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425585
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x580
push esi
mov byte [ebp - 0x11], 0
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1b8], esp
push 0x427410
call fcn.00418290
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 4], 0
push 1
push 1
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x1c0], esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x100], esp
push 0x462128
call fcn.00418120
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x104], ecx
mov byte [ebp - 4], 1
push 5
mov ecx, 0x4620e0
call fcn.00419700
push eax
push esi
mov byte [ebp - 4], 0
call fcn.004080f0
add esp, 0x20
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x108], edx
mov byte [ebp - 4], 2
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x10c], esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x110], esp
push 0x462128
call fcn.00418120
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 3
push 5
mov ecx, 0x46211c
call fcn.00419700
push eax
push esi
mov byte [ebp - 4], 2
call fcn.004080f0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x118], ecx
mov dword [ebp - 4], 0xffffffff
call fcn.00411730
add esp, 0x50
mov byte [ebp - 0x12], al
movzx edx, byte [ebp - 0x12]
test edx, edx
jne 0x412d2e
xor al, al
jmp 0x413877
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x11c], esp
push 0x427414
call fcn.00418290
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0xcc]
push eax
call fcn.00411d40
add esp, 0x20
mov dword [ebp - 0x124], eax
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xcc]
call fcn.0041f360
movzx ecx, al
test ecx, ecx
je 0x412db5
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov byte [ebp - 0x13], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.00418dc0
mov al, byte [ebp - 0x13]
jmp 0x413877
push 0
push 0x427420
lea ecx, [ebp - 0xcc]
call fcn.0041f7c0
test eax, eax
je 0x412df9
mov byte [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.00418dc0
mov al, byte [ebp - 0x14]
jmp 0x413877
mov edx, dword [0x427a80]
push edx
push 7
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00422c90
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0xcc]
call fcn.004192d0
lea ecx, [ebp - 0x250]
call fcn.00418dc0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x128], esp
push 0x427428
call fcn.00418290
mov dword [ebp - 0x12c], eax
lea edx, [ebp - 0x1f0]
push edx
call fcn.0040df00
add esp, 0x1c
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x1f0]
push ecx
call fcn.00415130
add esp, 8
movzx edx, al
test edx, edx
je 0x412f6f
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x134], esp
lea eax, [ebp - 0xcc]
push eax
push 0x427438
lea ecx, [ebp - 0x1f0]
push ecx
push 0x427440
lea edx, [ebp - 0x298]
push edx
call fcn.004154f0
add esp, 0xc
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x280]
push edx
call fcn.00415320
add esp, 0xc
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x44]
push ecx
push esi
call fcn.004152e0
add esp, 0xc
mov dword [ebp - 0x138], eax
lea edx, [ebp - 0x268]
push edx
call fcn.0040f160
add esp, 0x1c
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0x268]
call fcn.00418dc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x280]
call fcn.00418dc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x298]
call fcn.00418dc0
push 1
mov ecx, 0x461fcd
call fcn.004192b0
mov byte [ebp - 0x15], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1f0]
call fcn.00418dc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.00418dc0
mov al, byte [ebp - 0x15]
jmp 0x413877
push 1
push 0x40
push 0x20
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x140], esp
push 0x462128
call fcn.00418120
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 8
push 5
mov ecx, 0x4620e0
call fcn.00419700
push eax
lea ecx, [ebp - 0x2b0]
push ecx
mov byte [ebp - 4], 5
call fcn.004080f0
add esp, 0x20
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x440]
call fcn.00417960
mov dword [ebp - 0x148], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2b0]
call fcn.00418dc0
mov ecx, dword [ebp - 0x440]
mov edx, dword [ecx + 4]
lea ecx, [ebp + edx - 0x440]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
movzx eax, al
test eax, eax
je 0x41383e
push 2
push 0
push 0
lea ecx, [ebp - 0x440]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
lea ecx, [ebp - 0x458]
push ecx
lea ecx, [ebp - 0x440]
call dword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov ecx, eax
call fcn.00419740
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
lea ecx, [ebp - 0x440]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
lea ecx, [ebp - 0xe4]
call fcn.00418360
mov byte [ebp - 4], 0xc
push 1
push 1
lea ecx, [ebp - 0x500]
call fcn.00417d20
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x58c]
call fcn.00418880
cmp dword [ebp - 0x1c], 0
jne 0x413090
lea ecx, [ebp - 0x440]
call fcn.0041ee70
jmp 0x4137a6
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0xe4]
call fcn.004221a0
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
push ecx
push eax
push 0
lea ecx, [ebp - 0xe4]
call fcn.00419680
push eax
lea ecx, [ebp - 0x440]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
lea ecx, [ebp - 0x440]
call fcn.0041ee70
lea edx, [ebp - 0xe4]
push edx
lea eax, [ebp - 0x2c8]
push eax
call fcn.00408430
add esp, 8
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
lea ecx, [ebp - 0xe4]
call fcn.004192d0
lea ecx, [ebp - 0x2c8]
call fcn.00418dc0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14c], esp
push 0x462128
call fcn.00418120
mov dword [ebp - 0x150], eax
lea edx, [ebp - 0xe4]
push edx
lea eax, [ebp - 0x2e0]
push eax
call fcn.004080f0
add esp, 0x20
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
push edx
lea ecx, [ebp - 0xe4]
call fcn.004192d0
lea ecx, [ebp - 0x2e0]
call fcn.00418dc0
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x500]
call fcn.00422c10
mov ecx, 0x4621f8
call fcn.0041f3c0
movzx ecx, al
test ecx, ecx
jne 0x41317f
mov ecx, 0x4621f8
call fcn.0041ed90
mov edx, dword [ebp - 0x500]
mov eax, dword [edx + 4]
lea ecx, [ebp + eax - 0x500]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::eof_void_const]
movzx ecx, al
test ecx, ecx
jne 0x41320a
lea ecx, [ebp - 0x1d8]
call fcn.00418360
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x1d8]
push edx
lea eax, [ebp - 0x500]
push eax
call fcn.00417210
add esp, 8
lea ecx, [ebp - 0x1d8]
call fcn.00422b10
cmp eax, 0x20
je 0x4131e5
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1d8]
call fcn.00418dc0
jmp 0x4137a6
lea ecx, [ebp - 0x1d8]
push ecx
mov ecx, 0x4621f8
call fcn.00421380
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1d8]
call fcn.00418dc0
jmp 0x41317f
mov ecx, 0x4621f8
call fcn.00422b80
mov esi, eax
mov ecx, 0x4620e0
call fcn.00422b80
cmp esi, eax
je 0x413229
jmp 0x4137a6
mov dword [ebp - 0x10], 0
jmp 0x41323b
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov ecx, 0x4621f8
call fcn.00422b80
cmp dword [ebp - 0x10], eax
jae 0x41374a
cmp dword [ebp - 0x10], 5
jne 0x413256
jmp 0x413232
push 0x427448
mov eax, dword [ebp - 0x10]
push eax
mov ecx, 0x4621f8
call fcn.00419700
push eax
call fcn.00415050
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x41327b
jmp 0x413232
lea ecx, [ebp - 0xfc]
call fcn.00418360
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x10], 0
je 0x4132a0
cmp dword [ebp - 0x10], 3
je 0x4132a0
cmp dword [ebp - 0x10], 4
jne 0x413385
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x154], esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x158], esp
push 0x462128
call fcn.00418120
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x15c], edx
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x10]
push eax
mov ecx, 0x4620e0
call fcn.00419700
push eax
push esi
mov byte [ebp - 4], 0xf
call fcn.004080f0
add esp, 0x20
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x160], ecx
lea edx, [ebp - 0x208]
push edx
call fcn.0040df00
add esp, 0x1c
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x208]
call fcn.0041f360
movzx eax, al
test eax, eax
jne 0x413371
push 0x20
lea ecx, [ebp - 0x208]
call fcn.00422b10
push eax
lea ecx, [ebp - 0x208]
call fcn.0041ec00
push eax
lea ecx, [ebp - 0x58c]
call fcn.0041f320
push eax
lea ecx, [ebp - 0x2f8]
call fcn.004182f0
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
push ecx
lea ecx, [ebp - 0xfc]
call fcn.004192d0
lea ecx, [ebp - 0x2f8]
call fcn.00418dc0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x208]
call fcn.00418dc0
jmp 0x41368d
cmp dword [ebp - 0x10], 1
je 0x413395
cmp dword [ebp - 0x10], 0x10
jne 0x4134a3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x168], esp
push 0x462228
call fcn.00418120
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x16c], edx
mov byte [ebp - 4], 0x12
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x170], esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x174], esp
push 0x462128
call fcn.00418120
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x178], eax
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, 0x4620e0
call fcn.00419700
push eax
push esi
mov byte [ebp - 4], 0x12
call fcn.004080f0
add esp, 0x20
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x17c], edx
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 0xf
call fcn.0040dc50
add esp, 0x34
mov dword [ebp - 0x180], eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x220]
call fcn.0041f360
movzx ecx, al
test ecx, ecx
jne 0x41348f
push 0x20
lea ecx, [ebp - 0x220]
call fcn.00422b10
push eax
lea ecx, [ebp - 0x220]
call fcn.0041ec00
push eax
lea ecx, [ebp - 0x58c]
call fcn.0041f320
push eax
lea ecx, [ebp - 0x310]
call fcn.004182f0
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
push edx
lea ecx, [ebp - 0xfc]
call fcn.004192d0
lea ecx, [ebp - 0x310]
call fcn.00418dc0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x220]
call fcn.00418dc0
jmp 0x41368d
cmp dword [ebp - 0x10], 2
jne 0x4135c7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x184], esp
push 0x461fe0
call fcn.00418120
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x188], eax
mov byte [ebp - 4], 0x15
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x18c], esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x190], esp
push 0x462128
call fcn.00418120
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x194], ecx
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x10]
push edx
mov ecx, 0x4620e0
call fcn.00419700
push eax
push esi
mov byte [ebp - 4], 0x15
call fcn.004080f0
add esp, 0x20
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x198], eax
lea ecx, [ebp - 0x238]
push ecx
mov byte [ebp - 4], 0xf
call fcn.0040dc50
add esp, 0x34
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x238]
call fcn.0041f360
movzx edx, al
test edx, edx
jne 0x4135b3
push 0x20
lea ecx, [ebp - 0x238]
call fcn.00422b10
push eax
lea ecx, [ebp - 0x238]
call fcn.0041ec00
push eax
lea ecx, [ebp - 0x58c]
call fcn.0041f320
push eax
lea ecx, [ebp - 0x328]
call fcn.004182f0
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0xfc]
call fcn.004192d0
lea ecx, [ebp - 0x328]
call fcn.00418dc0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x238]
call fcn.00418dc0
jmp 0x41368d
push 0x20
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1a0], esp
push 0x462128
call fcn.00418120
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x1a4], ecx
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x10]
push edx
mov ecx, 0x4620e0
call fcn.00419700
push eax
lea eax, [ebp - 0x358]
push eax
mov byte [ebp - 4], 0xf
call fcn.004080f0
add esp, 0x20
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x94], ecx
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x94]
call fcn.0041ec00
push eax
lea ecx, [ebp - 0x58c]
call fcn.0041f290
push eax
lea ecx, [ebp - 0x340]
call fcn.004182f0
mov dword [ebp - 0x98], eax
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xfc]
call fcn.004192d0
lea ecx, [ebp - 0x340]
call fcn.00418dc0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x358]
call fcn.00418dc0
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, 0x4621f8
call fcn.00419700
push eax
lea edx, [ebp - 0xfc]
push edx
call fcn.00415130
add esp, 8
movzx eax, al
test eax, eax
je 0x413736
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1a8], esp
push 0x462128
call fcn.00418120
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x1ac], ecx
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x10]
push edx
mov ecx, 0x4620e0
call fcn.00419700
push eax
lea eax, [ebp - 0x370]
push eax
mov byte [ebp - 4], 0xf
call fcn.004080f0
add esp, 0x20
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
mov ecx, dword [ebp - 0xa8]
call fcn.0041ec00
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x370]
call fcn.00418dc0
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xfc]
call fcn.00418dc0
jmp 0x413232
mov dl, byte [ebp - 0x11]
mov byte [ebp - 0x16], dl
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x500]
call fcn.00419a80
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xe4]
call fcn.00418dc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x440]
call fcn.00419a50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1f0]
call fcn.00418dc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.00418dc0
mov al, byte [ebp - 0x16]
jmp 0x413877
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1b0], esp
push 0x462128
call fcn.00418120
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 4], 0x1b
push 5
mov ecx, 0x4620e0
call fcn.00419700
push eax
lea ecx, [ebp - 0x388]
push ecx
mov byte [ebp - 4], 0xd
call fcn.004080f0
add esp, 0x20
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], edx
mov ecx, dword [ebp - 0xb4]
call fcn.0041ec00
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x388]
call fcn.00418dc0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x500]
call fcn.00419a80
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xe4]
call fcn.00418dc0
mov al, byte [ebp - 0x11]
mov byte [ebp - 0x17], al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x440]
call fcn.00419a50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1f0]
call fcn.00418dc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.00418dc0
mov al, byte [ebp - 0x17]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret