Function at 0x10002240
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002acb3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1ac
mov eax, dword [0x10038080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10033fe4
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x1a0], 0
push 0
push eax
mov dword [ebp - 0x19c], 0
call fcn.10015aa2
add esp, 0xc
lea eax, [ebp - 0xe0]
push 0xb0
push 0
push eax
call fcn.1000e4f0
add esp, 0xc
mov dword [ebp - 0xe0], 0x10034158
lea ecx, [ebp - 0x78]
mov dword [ebp - 0xd0], 0x100340e4
call fcn.10005d30
sub esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x1a0], 1
lea ecx, [ebp - 0xe0]
push eax
call fcn.10006890
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xd4], eax
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xe4], eax
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe4], eax
lea ecx, [ebp - 0xc8]
call fcn.10006730
mov dword [ebp - 0xc8], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [ebp - 0x19c]
lea ecx, [ebp - 0xd0]
push eax
call fcn.10006d10
push ecx
mov edx, str.RSBot_
mov ecx, eax
call fcn.10006d10
add esp, 4
mov ecx, eax
call fcn.10003230
mov edx, str..tmp
mov ecx, eax
call fcn.10006d10
push 0xb8
lea eax, [ebp - 0x198]
push 0
push eax
call fcn.1000e4f0
add esp, 0xc
lea eax, [ebp - 0x1bc]
lea ecx, [ebp - 0xe0]
push eax
call fcn.10003070
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0xf
jbe 0x1000241d
mov eax, dword [eax]
sub esp, 0xc
lea ecx, [ebp - 0x198]
push eax
call fcn.10005b60
mov eax, dword [ebp - 0x198]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x198]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x19c], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1a8]
cmp ecx, 0xf
jbe 0x10002491
mov edx, dword [ebp - 0x1bc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002487
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100026e0
push ecx
push edx
call fcn.1000cdcf
add esp, 8
push 0
push 1
push 0x10039e2c
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0xf
mov byte [ebp - 0x1bc], 0
call fcn.10004380
mov edx, 0x10039e38
lea ecx, [ebp - 0x198]
call fcn.10001dc0
push 0
push 2
push 0x10038b10
lea ecx, [ebp - 0x198]
call fcn.10004380
push 0
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
lea ecx, [ebp - 0x198]
call fcn.10004380
xor esi, esi
cmp dword [ebp - 0x18], esi
jbe 0x100025a4
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x198]
call fcn.10001dc0
mov eax, dword [0x10039e58]
lea ecx, [ebp - 0x30]
push ecx
cmp eax, dword [0x10039e5c]
je 0x1000255c
mov ecx, eax
call fcn.100046d0
add dword [0x10039e58], 0x18
jmp 0x10002562
push eax
call fcn.10007ed0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x1c]
cmp edx, 0xf
jbe 0x1000259a
mov eax, dword [ebp - 0x30]
inc edx
mov ecx, eax
cmp edx, 0x1000
jb 0x10002590
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x100026e0
push edx
push eax
call fcn.1000cdcf
add esp, 8
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x10002510
push 0
push 2
push 0x10038b18
lea ecx, [ebp - 0x198]
call fcn.10004380
lea ecx, [ebp - 0x188]
call fcn.10005a40
test eax, eax
jne 0x100025f0
mov eax, dword [ebp - 0x198]
lea ecx, [ebp - 0x198]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001c80
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xe0]
call fcn.10003070
cmp dword [eax + 0x14], 0xf
jbe 0x10002607
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x10002642
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002638
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100026e5
push ecx
push edx
call fcn.1000cdcf
add esp, 8
mov eax, dword [ebp - 0x198]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x198]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x19c], eax
lea ecx, [ebp - 0x188]
call fcn.10004010
mov eax, dword [ebp - 0x198]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x198]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x19c], eax
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0xa
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1000c331
add esp, 4
lea ecx, [ebp - 0xe0]
call fcn.100026f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000ca72
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100158d1
call fcn.100158d1
int3