Function at 0x49a8d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x49a8d8
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403fd4
xor eax, eax
push ebp
push 0x49ad12
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov dl, 1
mov eax, dword [0x4536d4]
call fcn.00402e48
mov ebx, eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
call fcn.00404314
mov eax, dword [ebp - 0x20]
push eax
push ebx
call fcn.004556c0
test al, al
je 0x49acac
mov edx, esi
mov eax, ebx
call fcn.00412568
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.00453cb0
mov eax, dword [ebp - 0x24]
mov edx, 0x49ad2c
call fcn.00403f30
jne 0x49acac
mov dl, 1
mov eax, dword [0x4536d4]
call fcn.00402e48
jmp 0x49ac90
mov edx, dword [0x49a8a4]
mov eax, 0x10
call fcn.00404aa8
mov esi, eax
mov edx, esi
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 4]
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.00453cb0
mov edx, dword [ebp - 0x28]
lea eax, [esi + 4]
call fcn.00404314
lea edx, [ebp - 0x2c]
mov eax, ebx
call fcn.00453cb0
mov edx, dword [ebp - 0x2c]
lea eax, [esi + 8]
call fcn.00403bf4
xor eax, eax
mov dword [esi + 0xc], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, ebx
call fcn.00412558
mov eax, dword [esi]
cmp eax, 8
jne 0x49a9f4
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 4]
mov eax, ebx
call fcn.00412558
mov edi, eax
mov ecx, dword [esi + 8]
mov edx, 0x49ad3c
mov eax, 0x49ad4c
call fcn.00453e98
jmp 0x49ac77
cmp eax, 0x10
jne 0x49aa28
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 4]
mov eax, ebx
call fcn.00412558
mov edi, eax
mov eax, 0x49ad4c
mov ecx, dword [esi + 8]
mov edx, 0x49ad84
call fcn.00453e98
jmp 0x49ac77
mov eax, dword [esi]
cmp eax, 1
je 0x49aa3d
cmp eax, 0xa
je 0x49aa3d
cmp eax, 0xf
jne 0x49ac0d
mov eax, dword [0x4bd68c]
xor edx, edx
call fcn.00404388
je 0x49aa5b
mov eax, dword [0x4bd68c]
call fcn.00404324
push eax
call sub.kernel32.dll_DeleteFileW
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 4]
mov eax, ebx
call fcn.00412558
mov edi, eax
mov eax, dword [esi]
cmp eax, 0xa
je 0x49aa7f
cmp eax, 0xf
jne 0x49aaa9
lea edx, [ebp - 0x30]
mov eax, ebx
call fcn.00453d50
mov edx, dword [ebp - 0x30]
lea eax, [esi + 4]
call fcn.0040420c
mov eax, ebx
call fcn.00412558
sub eax, edi
sub dword [ebp - 0xc], eax
mov eax, ebx
call fcn.00412558
mov edi, eax
lea edx, [ebp - 0x1c]
lea eax, [esi + 4]
call fcn.0049a858
mov dl, 1
mov eax, dword [0x417ff4]
call fcn.0041fd50
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0049a810
mov dl, 1
mov eax, dword [0x40f158]
call fcn.00402e48
mov dword [ebp - 0x18], eax
cmp dword [esi], 0xf
jge 0x49ab34
lea eax, [ebp - 0x34]
mov edx, dword [0x4bd688]
call fcn.00404314
push dword [ebp - 0x34]
push dword [esi + 4]
push 0x49ad90
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404340
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.00455618
mov edx, 0x3aa21b88
mov eax, dword [ebp - 0x14]
call fcn.00453a0c
jmp 0x49abfb
lea eax, [ebp - 0x38]
mov edx, dword [0x4bd688]
call fcn.00404314
push dword [ebp - 0x38]
push dword [esi + 4]
push 0x49ad90
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404340
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.00455618
mov edx, 0x3aa21b88
mov eax, dword [ebp - 0x14]
call fcn.00453a0c
lea eax, [ebp - 0x3c]
mov edx, dword [0x4bd684]
call fcn.00404314
push dword [ebp - 0x3c]
push dword [esi + 4]
push 0x49ada0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404340
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x10]
call fcn.00403de8
mov eax, dword [ebp - 0x40]
mov edx, 0x20
call fcn.00408ea4
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x44]
mov edx, dword [esi + 8]
call fcn.00404314
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
mov edx, dword [0x4c8f18]
call fcn.00404314
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x14]
pop edx
call fcn.00493098
mov edx, 0x3aa21b88
mov eax, dword [ebp - 0x10]
call fcn.00453a0c
mov eax, dword [ebp - 0x18]
call fcn.00402e78
mov eax, dword [esi + 0xc]
call fcn.00402e78
jmp 0x49ac77
cmp eax, 5
jne 0x49ac5f
mov byte [0x4bd67c], 1
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 4]
mov eax, ebx
call fcn.00412558
mov edi, eax
mov dl, 1
mov eax, dword [0x458d70]
call fcn.00459020
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0049a810
mov eax, dword [esi + 0xc]
call fcn.0049a6a4
mov eax, dword [esi + 0xc]
call fcn.00402e78
jmp 0x49ac77
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 4]
mov eax, ebx
call fcn.00412558
mov edi, eax
mov edx, dword [ebp - 0xc]
add edx, edi
mov eax, ebx
call fcn.00412568
mov edx, dword [0x49a8a4]
mov eax, esi
call fcn.00404abc
mov eax, ebx
call fcn.00412558
mov esi, eax
mov eax, ebx
call fcn.00412574
cmp esi, eax
jl 0x49a963
mov byte [ebp - 5], 1
mov eax, ebx
call fcn.00402e78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ad19
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004041e8
lea eax, [ebp - 0x40]
call fcn.00403ba0
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.004041e8
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00403bc4
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004041e8
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004041e8
lea eax, [ebp - 4]
call fcn.00403ba0
ret