Function at 0x4905a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66e276
mov eax, dword fs:[0]
push eax
sub esp, 0xc94
mov eax, dword [0x718924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 8], 0xffffffff
lea eax, [ebp - 0xca0]
mov ebx, 0x7fffffff
cmovne ebx, dword [ebp + 8]
push eax
call fcn.004f2e6b
mov dword [ebp - 0xca0], eax
lea eax, [ebp - 0xca0]
push eax
mov dword [ebp - 0xc9c], edx
call fcn.004f6d78
push 0x208
mov edi, eax
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.004e30c0
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.004e30c0
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004e30c0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004e30c0
add esp, 0x38
lea eax, [esi + 0x18]
cmp dword [esi + 0x2c], 8
jb 0x49065e
mov eax, dword [esi + 0x18]
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 0x104
lea ecx, [ebp - 0x628]
push ecx
push 0x104
lea ecx, [ebp - 0x830]
push ecx
push 0x104
lea ecx, [ebp - 0xa38]
push ecx
push eax
call fcn.004f340b
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e30c0
lea eax, [ebp - 0x420]
push eax
push dword [edi + 0xc]
mov eax, dword [edi + 0x10]
inc eax
push eax
mov eax, dword [edi + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0xa38]
push eax
push 0x683b5c
lea eax, [ebp - 0x218]
push 0x103
push eax
call fcn.00451130
lea edx, [ebp - 0x218]
add esp, 0x58
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4906f6
sub edx, ecx
lea eax, [ebp - 0x218]
sar edx, 1
lea ecx, [esi + 0x18]
push edx
push eax
call fcn.0044e920
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.004e3808
xor ecx, ecx
add esp, 8
mov word [eax], cx
xor eax, eax
mov dword [ebp - 0xa58], ecx
lea ecx, [ebp - 0x218]
mov dword [ebp - 0xa54], 7
lea edx, [ecx + 2]
mov word [ebp - 0xa68], ax
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490750
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa68]
call fcn.0044e920
push 2
push 0x683b88
lea ecx, [ebp - 0xa68]
mov dword [ebp - 4], 0
call fcn.0044e7a0
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490794
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa68]
call fcn.0044e7a0
cmp dword [ebp - 0xa54], 8
lea ecx, [ebp - 0xc98]
lea eax, [ebp - 0xa68]
cmovae eax, dword [ebp - 0xa68]
push ecx
push eax
call fcn.004f7e5d
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
je 0x490934
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4907f0
test byte [ebp - 0xc98], 0x10
jne 0x490912
mov ecx, dword [ebp - 0xca0]
imul eax, ebx, 0x15180
cdq
sub ecx, eax
mov eax, dword [ebp - 0xc9c]
sbb eax, edx
cmp dword [ebp - 0xc8c], eax
jg 0x490912
jl 0x49082e
cmp dword [ebp - 0xc90], ecx
jae 0x490912
xor eax, eax
mov dword [ebp - 0xa40], 0
mov word [ebp - 0xa50], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0xa3c], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x490854
sub eax, edx
lea ecx, [ebp - 0xa50]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0044e920
push 1
push str.SMD
lea ecx, [ebp - 0xa50]
mov byte [ebp - 4], 1
call fcn.0044e7a0
lea ecx, [ebp - 0xc74]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490895
sub ecx, edx
lea eax, [ebp - 0xc74]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa50]
call fcn.0044e7a0
cmp dword [ebp - 0xa3c], 8
lea eax, [ebp - 0xa50]
cmovae eax, dword [ebp - 0xa50]
push eax
call edi
mov edx, dword [ebp - 0xa3c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x490912
mov ecx, dword [ebp - 0xa50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x490908
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49098e
push edx
push ecx
call fcn.004cb4db
add esp, 8
lea eax, [ebp - 0xc98]
push eax
push esi
call fcn.004f7e68
add esp, 8
cmp eax, 0xffffffff
jne 0x4907f0
push esi
call fcn.004f7e37
add esp, 4
mov edx, dword [ebp - 0xa54]
cmp edx, 8
jb 0x490970
mov ecx, dword [ebp - 0xa68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x490966
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49098e
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cb998
mov esp, ebp
pop ebp
ret 4
call fcn.004e6589
int3