Function at 0x4201a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e21ee
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], 0x4e9e90
call fcn.0040cac0
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.00420bd0
push ebx
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], edi
call fcn.0040eeb0
mov ecx, dword [ebp - 0xec]
mov edx, dword [ecx + 4]
mov dword [ebp + edx - 0xec], 0x4e9e8c
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], 2
cmp eax, ebx
jne 0x420242
mov eax, 0x4e9894
push 0x21
push eax
lea ecx, [ebp - 0xe4]
call fcn.0040f0b0
test eax, eax
jne 0x420274
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.00420a10
mov ecx, dword [ebp - 0xec]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + edx - 0xe8]
test al, 6
jne 0x4202a0
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 0x420756
lea ecx, [ebp - 0xec]
test ecx, ecx
jne 0x4202bf
xor eax, eax
jmp 0x4202cf
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 0x420510
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.00420a30
push eax
lea ecx, [ebp - 0x50c]
push 0x400
push ecx
lea ecx, [ebp - 0xec]
call fcn.00420c80
lea edx, [ebp - 0x50c]
lea ecx, [ebp - 0x18]
push edx
call fcn.004d38eb
push 0x517348
push 0x509d50
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.004d2209
push 0x517348
push 0x509d4c
lea ecx, [ebp - 0x18]
call fcn.004d2209
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.004d35f2
lea ecx, [ebp - 0x14]
push ecx
call fcn.004167a0
add esp, 8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
mov eax, dword [edx - 8]
test eax, eax
je 0x420733
mov eax, dword [ebp - 0x1c]
cmp eax, 1
jne 0x4203a3
push 0x509d48
lea ecx, [ebp - 0x14]
call fcn.004d258c
test eax, eax
jge 0x4203ab
jmp 0x420733
test eax, eax
je 0x4205de
lea eax, [ebp - 0x20]
push eax
call fcn.004d2ba5
push 0
lea ecx, [ebp - 0x20]
call fcn.004d2bb8
mov esi, dword [eax + 0x14]
push 0
lea ecx, [ebp - 0x20]
add esi, 0x76c
call fcn.004d2bb8
mov edi, dword [eax + 0x10]
push 0
lea ecx, [ebp - 0x20]
inc edi
call fcn.004d2bb8
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 0x509d30
push ecx
call fcn.004af364
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.004d2ac1
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.0040baf0
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 0x420733
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x420487
push eax
call fcn.004ae2b8
add esp, 4
test eax, eax
jne 0x420487
push 2
push eax
lea ecx, [ebp - 0xe4]
call fcn.004101f0
lea edx, [ebp - 0xe4]
test edx, edx
jne 0x4204a0
mov eax, dword [ebp - 0xec]
push 0
push 2
mov ecx, dword [eax + 4]
lea ecx, [ebp + ecx - 0xec]
call fcn.0040d180
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x18]
test eax, eax
jne 0x4204af
mov eax, 0x4e9894
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0x511ed0]
mov dword [ebp - 0x1c], eax
push ebx
push edi
push esi
lea ecx, [ebp - 0x1c]
push 0x509d30
push ecx
mov byte [ebp - 4], 5
call fcn.004d2912
add esp, 0x10
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
call fcn.004d35f2
mov ecx, dword [ebp - 0x2c]
call fcn.00420820
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004d387d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004d387d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004d387d
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x42053f
push eax
call fcn.004ae2b8
add esp, 4
test eax, eax
jne 0x42053f
push 2
push eax
lea ecx, [ebp - 0xe4]
call fcn.004101f0
lea eax, [ebp - 0xe4]
test eax, eax
jne 0x420569
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 0x420561
or al, 4
push 0
push eax
call fcn.004bfdb7
mov ecx, dword [ebp - 0xec]
lea eax, [ebp - 0x90]
mov dword [ebp - 0x24], eax
mov edx, dword [ecx + 4]
mov dword [ebp + edx - 0xec], 0x4e9e8c
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], 0x13
call fcn.0040d8c0
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.004c0018
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 0x508c28
lea ecx, [ebp - 0x14]
call fcn.004d259a
mov esi, eax
lea eax, [ebp - 0x28]
push esi
push 0
push eax
lea ecx, [ebp - 0x14]
call fcn.004d23e0
mov ecx, dword [ebp - 0x28]
push 0x517348
push ecx
call fcn.004adbb0
add esp, 8
test eax, eax
je 0x420727
inc esi
lea ecx, [ebp - 0x14]
push esi
push 0x508c28
mov byte [ebp - 4], 7
call fcn.004d259a
mov esi, eax
lea ecx, [ebp - 0x14]
lea edx, [esi + 1]
push edx
push 0x508c28
call fcn.004d259a
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.004d23e0
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 8
push ecx
lea ecx, [ebp - 0x34]
call fcn.004d38eb
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push edx
mov byte [ebp - 4], 9
call fcn.004d38eb
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0xa
call fcn.004d35f2
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
push ecx
lea ecx, [ebp - 0x38]
call fcn.004d35f2
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 0xc
call fcn.004d35f2
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0xd
call fcn.004d35f2
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0xf4]
push ecx
push edx
mov ecx, 0x517438
mov byte [ebp - 4], 0xe
call fcn.0040fa70
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
call fcn.004d387d
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xc
call fcn.004d387d
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x10
call fcn.004d387d
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call fcn.004d387d
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
call fcn.004d387d
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.004d387d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.004d387d
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.004d387d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004d387d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004d387d
jmp 0x4202b1
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 0x42077c
or al, 4
push ebx
push eax
call fcn.004bfdb7
mov edx, dword [ebp - 0xec]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x24], ecx
mov eax, dword [edx + 4]
mov dword [ebp + eax - 0xec], 0x4e9e8c
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], 0x12
call fcn.0040d8c0
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.004c0018
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