Function at 0x414500
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a52e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x500
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xec], 0x46fd80
call fcn.00414b40
mov ebx, 1
mov dword [ebp - 0x90], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x18], ebx
push edi
lea eax, [ebp - 0xe4]
push edi
push eax
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], edi
call fcn.00415fa0
push edi
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], ebx
call fcn.00416760
mov ecx, dword [ebp - 0xec]
mov edx, dword [ecx + 4]
mov dword [ebp + edx - 0xec], 0x46fd7c
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], 2
cmp eax, edi
jne 0x4145a2
mov eax, 0x46f7ac
push 0x21
push eax
lea ecx, [ebp - 0xe4]
call fcn.00416960
test eax, eax
jne 0x4145d4
mov eax, dword [ebp - 0xec]
push edi
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0xe8]
or al, 2
lea ecx, [ebp + ecx - 0xec]
push eax
call fcn.00415a50
mov ecx, dword [ebp - 0xec]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + edx - 0xe8]
test al, 6
jne 0x414600
mov eax, edx
push ebx
push edi
push edi
mov ecx, dword [ebp + eax - 0xc4]
lea eax, [ebp - 0x10c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x20]
cmp dword [ebp - 0x94], edi
je 0x414a99
lea ecx, [ebp - 0xec]
test ecx, ecx
jne 0x41461a
xor eax, eax
jmp 0x41462a
mov edx, dword [ebp - 0xec]
mov eax, dword [edx + 4]
lea eax, [ebp + eax - 0xec]
mov ecx, dword [eax + 4]
and cl, 6
neg cl
sbb ecx, ecx
not ecx
test eax, ecx
je 0x414853
mov edx, dword [ebp - 0xec]
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 - 0xec]
call fcn.00415a70
push eax
lea ecx, [ebp - 0x50c]
push 0x400
push ecx
lea ecx, [ebp - 0xec]
call fcn.00416050
lea edx, [ebp - 0x50c]
lea ecx, [ebp - 0x1c]
push edx
call fcn.0045dd36
push 0x48e488
push 0x488270
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0045bd07
push 0x48e488
push 0x48826c
lea ecx, [ebp - 0x1c]
call fcn.0045bd07
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0045da3d
lea ecx, [ebp - 0x14]
push ecx
call fcn.0040da90
add esp, 8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
mov eax, dword [edx - 8]
test eax, eax
je 0x414a76
push 0x488268
lea ecx, [ebp - 0x14]
call fcn.0045c039
test eax, eax
jl 0x414a76
lea eax, [ebp - 0x20]
push eax
call fcn.0045c502
push 0
lea ecx, [ebp - 0x20]
call fcn.0045c515
mov esi, dword [eax + 0x14]
push 0
lea ecx, [ebp - 0x20]
add esi, 0x76c
call fcn.0045c515
mov edi, dword [eax + 0x10]
push 0
lea ecx, [ebp - 0x20]
inc edi
call fcn.0045c515
mov ebx, dword [eax + 0xc]
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x54]
push edx
push eax
push str._d__d__d
push ecx
call fcn.0043b42b
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x54]
add esp, 0x14
push 0xffffffffffffffff
push 0
push 0
push 0
push edx
push eax
push ecx
lea ecx, [ebp - 0x50]
call fcn.0045c41e
mov edx, dword [ebp - 0x50]
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
lea ecx, [ebp - 0x20]
mov dword [eax], edx
lea eax, [ebp - 0x58]
push eax
call fcn.00414b70
mov ecx, dword [ebp - 0x58]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, 0xe
jl 0x414921
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x4147ca
push eax
call fcn.0043ad66
add esp, 4
test eax, eax
jne 0x4147ca
push 2
push eax
lea ecx, [ebp - 0xe4]
call fcn.00416ab0
lea edx, [ebp - 0xe4]
test edx, edx
jne 0x4147e3
mov eax, dword [ebp - 0xec]
push 0
push 2
mov ecx, dword [eax + 4]
lea ecx, [ebp + ecx - 0xec]
call fcn.00414c70
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x18]
test eax, eax
jne 0x4147f2
mov eax, 0x46f7ac
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0x4892e4]
mov dword [ebp - 0x18], eax
push ebx
push edi
push esi
lea ecx, [ebp - 0x18]
push str._d__d__d
push ecx
mov byte [ebp - 4], 5
call fcn.0045c3bf
add esp, 0x10
lea edx, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x40], esp
push edx
call fcn.0045da3d
mov ecx, dword [ebp - 0x28]
call fcn.00414bb0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0045dcc8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0045dcc8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0045dcc8
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x414882
push eax
call fcn.0043ad66
add esp, 4
test eax, eax
jne 0x414882
push 2
push eax
lea ecx, [ebp - 0xe4]
call fcn.00416ab0
lea eax, [ebp - 0xe4]
test eax, eax
jne 0x4148ac
mov ecx, dword [ebp - 0xec]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + edx - 0xe8]
lea ecx, [ebp + edx - 0xec]
or al, 2
mov edx, dword [ecx + 0x28]
test edx, edx
jne 0x4148a4
or al, 4
push 0
push eax
call fcn.0044b758
mov ecx, dword [ebp - 0xec]
lea eax, [ebp - 0x90]
mov dword [ebp - 0x40], eax
mov edx, dword [ecx + 4]
mov dword [ebp + edx - 0xec], 0x46fd7c
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], 0x13
call fcn.00415060
mov eax, dword [ebp - 0xec]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [eax + 4]
mov dword [ebp + ecx - 0xec], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x90], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
call fcn.0044b9b9
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 0x487794
lea ecx, [ebp - 0x14]
call fcn.0045c047
mov esi, eax
lea eax, [ebp - 0x24]
push esi
push 0
push eax
lea ecx, [ebp - 0x14]
call fcn.0045be8d
mov ecx, dword [ebp - 0x24]
push 0x48e488
push ecx
call fcn.00439ed6
add esp, 8
test eax, eax
je 0x414a6a
inc esi
lea ecx, [ebp - 0x14]
push esi
push 0x487794
mov byte [ebp - 4], 7
call fcn.0045c047
mov esi, eax
lea ecx, [ebp - 0x14]
lea edx, [esi + 1]
push edx
push 0x487794
call fcn.0045c047
sub eax, esi
add esi, 3
sub eax, 3
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.0045be8d
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 8
push ecx
lea ecx, [ebp - 0x34]
call fcn.0045dd36
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x30]
push edx
mov byte [ebp - 4], 9
call fcn.0045dd36
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0xa
call fcn.0045da3d
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
push ecx
lea ecx, [ebp - 0x38]
call fcn.0045da3d
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 0xc
call fcn.0045da3d
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0xd
call fcn.0045da3d
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0xf4]
push ecx
push edx
mov ecx, 0x48e4c8
mov byte [ebp - 4], 0xe
call fcn.00416510
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
call fcn.0045dcc8
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xc
call fcn.0045dcc8
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x10
call fcn.0045dcc8
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call fcn.0045dcc8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x30]
call fcn.0045dcc8
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.0045dcc8
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.0045dcc8
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.0045dcc8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0045dcc8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0045dcc8
jmp 0x41460c
mov edx, dword [ebp - 0xec]
mov eax, dword [edx + 4]
mov edx, dword [ebp + eax - 0xc4]
lea ecx, [ebp + eax - 0xec]
mov eax, dword [ebp + eax - 0xe8]
or al, 2
cmp edx, edi
jne 0x414abf
or al, 4
push edi
push eax
call fcn.0044b758
mov edx, dword [ebp - 0xec]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x40], ecx
mov eax, dword [edx + 4]
mov dword [ebp + eax - 0xec], 0x46fd7c
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], 0x12
call fcn.00415060
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ecx + 4]
lea ecx, [ebp - 0x90]
mov dword [ebp + edx - 0xec], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x90], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
call fcn.0044b9b9
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