Function at 0x41f8f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e311e
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 - 0x90]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xec], 0x4eae90
call fcn.0040d3b0
mov edi, 1
mov dword [ebp - 0x90], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x1c], edi
push ebx
lea eax, [ebp - 0xe4]
push ebx
push eax
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], ebx
call fcn.00420320
push ebx
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], edi
call fcn.0040f7a0
mov ecx, dword [ebp - 0xec]
mov edx, dword [ecx + 4]
mov dword [ebp + edx - 0xec], 0x4eae8c
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], 2
cmp eax, ebx
jne 0x41f992
mov eax, 0x4ea894
push 0x21
push eax
lea ecx, [ebp - 0xe4]
call fcn.0040f9a0
test eax, eax
jne 0x41f9c4
mov eax, dword [ebp - 0xec]
push ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0xe8]
or al, 2
lea ecx, [ebp + ecx - 0xec]
push eax
call fcn.00420160
mov ecx, dword [ebp - 0xec]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + edx - 0xe8]
test al, 6
jne 0x41f9f0
mov eax, edx
push edi
push ebx
push ebx
mov ecx, dword [ebp + eax - 0xc4]
lea eax, [ebp - 0x10c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x20]
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x1c], edi
cmp eax, ebx
je 0x41fea6
lea ecx, [ebp - 0xec]
test ecx, ecx
jne 0x41fa0f
xor eax, eax
jmp 0x41fa1f
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 0x41fc60
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.00420180
push eax
lea ecx, [ebp - 0x50c]
push 0x400
push ecx
lea ecx, [ebp - 0xec]
call fcn.004203d0
lea edx, [ebp - 0x50c]
lea ecx, [ebp - 0x18]
push edx
call fcn.004d489b
push 0x5188e8
push 0x50af84
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.004d31b9
push 0x5188e8
push 0x50af80
lea ecx, [ebp - 0x18]
call fcn.004d31b9
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.004d45a2
lea ecx, [ebp - 0x14]
push ecx
call fcn.00415af0
add esp, 8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
mov eax, dword [edx - 8]
test eax, eax
je 0x41fe83
mov eax, dword [ebp - 0x1c]
cmp eax, 1
jne 0x41faf3
push 0x50af7c
lea ecx, [ebp - 0x14]
call fcn.004d353c
test eax, eax
jge 0x41fafb
jmp 0x41fe83
test eax, eax
je 0x41fd2e
lea eax, [ebp - 0x20]
push eax
call fcn.004d3b55
push 0
lea ecx, [ebp - 0x20]
call fcn.004d3b68
mov esi, dword [eax + 0x14]
push 0
lea ecx, [ebp - 0x20]
add esi, 0x76c
call fcn.004d3b68
mov edi, dword [eax + 0x10]
push 0
lea ecx, [ebp - 0x20]
inc edi
call fcn.004d3b68
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.004b04b4
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.004d3a71
mov edx, dword [ebp - 0x50]
push ecx
mov eax, esp
mov dword [ebp - 0x24], esp
lea ecx, [ebp - 0x20]
mov dword [eax], edx
lea eax, [ebp - 0x58]
push eax
call fcn.0040c3e0
mov ecx, dword [ebp - 0x58]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
mov dword [ebp - 0x1c], 0
sar edx, 0x10
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, 0xe
jl 0x41fe83
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x41fbd7
push eax
call fcn.004aec8f
add esp, 4
test eax, eax
jne 0x41fbd7
push 2
push eax
lea ecx, [ebp - 0xe4]
call fcn.00410ae0
lea edx, [ebp - 0xe4]
test edx, edx
jne 0x41fbf0
mov eax, dword [ebp - 0xec]
push 0
push 2
mov ecx, dword [eax + 4]
lea ecx, [ebp + ecx - 0xec]
call fcn.0040da70
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x18]
test eax, eax
jne 0x41fbff
mov eax, 0x4ea894
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0x513458]
mov dword [ebp - 0x1c], eax
push ebx
push edi
push esi
lea ecx, [ebp - 0x1c]
push str._d__d__d
push ecx
mov byte [ebp - 4], 5
call fcn.004d38c2
add esp, 0x10
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
call fcn.004d45a2
mov ecx, dword [ebp - 0x2c]
call fcn.0041ff70
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004d482d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004d482d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004d482d
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x41fc8f
push eax
call fcn.004aec8f
add esp, 4
test eax, eax
jne 0x41fc8f
push 2
push eax
lea ecx, [ebp - 0xe4]
call fcn.00410ae0
lea eax, [ebp - 0xe4]
test eax, eax
jne 0x41fcb9
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 0x41fcb1
or al, 4
push 0
push eax
call fcn.004c0d17
mov ecx, dword [ebp - 0xec]
lea eax, [ebp - 0x90]
mov dword [ebp - 0x24], eax
mov edx, dword [ecx + 4]
mov dword [ebp + edx - 0xec], 0x4eae8c
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], 0x13
call fcn.0040e1b0
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.004c0f78
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 0x509d68
lea ecx, [ebp - 0x14]
call fcn.004d354a
mov esi, eax
lea eax, [ebp - 0x28]
push esi
push 0
push eax
lea ecx, [ebp - 0x14]
call fcn.004d3390
mov ecx, dword [ebp - 0x28]
push 0x5188e8
push ecx
call fcn.004aea96
add esp, 8
test eax, eax
je 0x41fe77
inc esi
lea ecx, [ebp - 0x14]
push esi
push 0x509d68
mov byte [ebp - 4], 7
call fcn.004d354a
mov esi, eax
lea ecx, [ebp - 0x14]
lea edx, [esi + 1]
push edx
push 0x509d68
call fcn.004d354a
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.004d3390
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 8
push ecx
lea ecx, [ebp - 0x34]
call fcn.004d489b
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push edx
mov byte [ebp - 4], 9
call fcn.004d489b
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0xa
call fcn.004d45a2
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
push ecx
lea ecx, [ebp - 0x38]
call fcn.004d45a2
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 0xc
call fcn.004d45a2
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0xd
call fcn.004d45a2
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0xf4]
push ecx
push edx
mov ecx, 0x5189e0
mov byte [ebp - 4], 0xe
call fcn.00410360
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
call fcn.004d482d
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xc
call fcn.004d482d
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x10
call fcn.004d482d
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call fcn.004d482d
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
call fcn.004d482d
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.004d482d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.004d482d
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.004d482d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004d482d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004d482d
jmp 0x41fa01
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, ebx
jne 0x41fecc
or al, 4
push ebx
push eax
call fcn.004c0d17
mov edx, dword [ebp - 0xec]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x24], ecx
mov eax, dword [edx + 4]
mov dword [ebp + eax - 0xec], 0x4eae8c
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], 0x12
call fcn.0040e1b0
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.004c0f78
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