Function at 0x414fe0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c98e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x500
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xe8], 0x471d88
call fcn.00415620
mov edi, 1
mov dword [ebp - 0x8c], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x18], edi
push ebx
lea eax, [ebp - 0xe0]
push ebx
push eax
lea ecx, [ebp - 0xe8]
mov dword [ebp - 4], ebx
call fcn.00416ab0
push ebx
lea ecx, [ebp - 0xe0]
mov dword [ebp - 4], edi
call fcn.004172b0
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ecx + 4]
mov dword [ebp + edx - 0xe8], 0x471d84
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], 2
cmp eax, ebx
jne 0x415082
mov eax, 0x4717b4
push 0x21
push eax
lea ecx, [ebp - 0xe0]
call fcn.004174b0
test eax, eax
jne 0x4150ac
mov eax, dword [ebp - 0xe8]
push ebx
push 2
mov ecx, dword [eax + 4]
lea ecx, [ebp + ecx - 0xe8]
call fcn.00415750
mov edx, dword [ebp - 0xe8]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + eax - 0xe4]
lea eax, [ebp + eax - 0xe8]
test cl, 6
jne 0x4150da
mov ecx, dword [eax + 0x28]
push edi
push ebx
lea eax, [ebp - 0x10c]
mov edx, dword [ecx]
push ebx
push eax
call dword [edx + 0x20]
cmp dword [ebp - 0x90], ebx
je 0x41557b
lea ecx, [ebp - 0xe8]
test ecx, ecx
jne 0x4150f4
xor eax, eax
jmp 0x415104
mov edx, dword [ebp - 0xe8]
mov eax, dword [edx + 4]
lea eax, [ebp + eax - 0xe8]
mov ecx, dword [eax + 4]
and cl, 6
neg cl
sbb ecx, ecx
not ecx
test eax, ecx
je 0x415335
mov edx, dword [ebp - 0xe8]
mov ecx, 0x100
xor eax, eax
lea edi, [ebp - 0x50c]
rep stosd dword es:[edi], eax
mov eax, dword [edx + 4]
push 0xa
lea ecx, [ebp + eax - 0xe8]
call fcn.00416590
push eax
lea ecx, [ebp - 0x50c]
push 0x400
push ecx
lea ecx, [ebp - 0xe8]
call fcn.00416b60
lea edx, [ebp - 0x50c]
lea ecx, [ebp - 0x1c]
push edx
call fcn.00460131
push 0x490728
push 0x48a430
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0045e107
push 0x490728
push 0x48a42c
lea ecx, [ebp - 0x1c]
call fcn.0045e107
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0045fe38
lea ecx, [ebp - 0x14]
push ecx
call fcn.0040dbf0
add esp, 8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
mov eax, dword [edx - 8]
test eax, eax
je 0x415558
push 0x48a428
lea ecx, [ebp - 0x14]
call fcn.0045e439
test eax, eax
jl 0x415558
lea eax, [ebp - 0xec]
push eax
call fcn.0045e902
mov ecx, dword [eax]
push 0
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
call fcn.0045e915
mov esi, dword [eax + 0x14]
push 0
lea ecx, [ebp - 0x20]
add esi, 0x76c
call fcn.0045e915
mov edi, dword [eax + 0x10]
push 0
lea ecx, [ebp - 0x20]
inc edi
call fcn.0045e915
mov ebx, dword [eax + 0xc]
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x54]
push eax
push ecx
push str._d__d__d
push edx
call fcn.0043d554
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x54]
add esp, 0x14
push 0xffffffffffffffff
push 0
push 0
push 0
push eax
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.0045e81e
push ecx
mov ecx, dword [ebp - 0x50]
mov eax, esp
lea edx, [ebp - 0x28]
mov dword [ebp - 0x18], esp
push edx
mov dword [eax], ecx
lea ecx, [ebp - 0x20]
call fcn.00415650
mov ecx, dword [eax]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 0xe
jl 0x415403
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x4152ab
push eax
call fcn.0043d176
add esp, 4
test eax, eax
jne 0x4152ab
push 2
push eax
lea ecx, [ebp - 0xe0]
call fcn.00417600
lea ecx, [ebp - 0xe0]
test ecx, ecx
jne 0x4152c4
mov edx, dword [ebp - 0xe8]
push 0
push 2
mov eax, dword [edx + 4]
lea ecx, [ebp + eax - 0xe8]
call fcn.00415750
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x4152d3
mov eax, 0x4717b4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [0x48b574]
mov dword [ebp - 0x18], edx
push ebx
push edi
push esi
lea eax, [ebp - 0x18]
push str._d__d__d
push eax
mov byte [ebp - 4], 5
call fcn.0045e7bf
add esp, 0x10
lea edx, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x28], esp
push edx
call fcn.0045fe38
mov ecx, dword [ebp - 0x2c]
call fcn.00415690
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004600c3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004600c3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004600c3
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x415364
push eax
call fcn.0043d176
add esp, 4
test eax, eax
jne 0x415364
push 2
push eax
lea ecx, [ebp - 0xe0]
call fcn.00417600
lea eax, [ebp - 0xe0]
test eax, eax
jne 0x41538e
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + edx - 0xe4]
lea ecx, [ebp + edx - 0xe8]
or al, 2
mov edx, dword [ecx + 0x28]
test edx, edx
jne 0x415386
or al, 4
push 0
push eax
call fcn.0044db54
mov ecx, dword [ebp - 0xe8]
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x28], eax
mov edx, dword [ecx + 4]
mov dword [ebp + edx - 0xe8], 0x471d84
lea ecx, [ebp - 0xe0]
mov dword [ebp - 4], 0x13
call fcn.00415b70
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [eax + 4]
mov dword [ebp + ecx - 0xe8], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
call fcn.0044ddb5
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x4897a4
lea ecx, [ebp - 0x14]
call fcn.0045e447
mov esi, eax
lea eax, [ebp - 0x24]
push esi
push 0
push eax
lea ecx, [ebp - 0x14]
call fcn.0045e28d
mov ecx, dword [ebp - 0x24]
push 0x490728
push ecx
call fcn.0043c2e6
add esp, 8
test eax, eax
je 0x41554c
inc esi
lea ecx, [ebp - 0x14]
push esi
push 0x4897a4
mov byte [ebp - 4], 7
call fcn.0045e447
mov esi, eax
lea ecx, [ebp - 0x14]
lea edx, [esi + 1]
push edx
push 0x4897a4
call fcn.0045e447
sub eax, esi
add esi, 3
sub eax, 3
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.0045e28d
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 8
push ecx
lea ecx, [ebp - 0x34]
call fcn.00460131
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x40]
push edx
mov byte [ebp - 4], 9
call fcn.00460131
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0xa
call fcn.0045fe38
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
push ecx
lea ecx, [ebp - 0x38]
call fcn.0045fe38
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 0xc
call fcn.0045fe38
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0xd
call fcn.0045fe38
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0xf4]
push ecx
push edx
mov ecx, 0x490768
mov byte [ebp - 4], 0xe
call fcn.00417020
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
call fcn.004600c3
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xc
call fcn.004600c3
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x10
call fcn.004600c3
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call fcn.004600c3
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
call fcn.004600c3
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.004600c3
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.004600c3
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.004600c3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004600c3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004600c3
jmp 0x4150e6
mov edx, dword [ebp - 0xe8]
mov eax, dword [edx + 4]
mov edx, dword [ebp + eax - 0xc0]
lea ecx, [ebp + eax - 0xe8]
mov eax, dword [ebp + eax - 0xe4]
or al, 2
cmp edx, ebx
jne 0x4155a1
or al, 4
push ebx
push eax
call fcn.0044db54
mov edx, dword [ebp - 0xe8]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x28], ecx
mov eax, dword [edx + 4]
mov dword [ebp + eax - 0xe8], 0x471d84
lea ecx, [ebp - 0xe0]
mov dword [ebp - 4], 0x12
call fcn.00415b70
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ecx + 4]
lea ecx, [ebp - 0x8c]
mov dword [ebp + edx - 0xe8], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x8c], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
call fcn.0044ddb5
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret