Function at 0x1003d130
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10160da5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x101ed004]
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
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [edx + eax*4 - 4]
mov dword [ebp - 0x34], eax
cmp dword [esi + 0x860], ebx
je 0x1003d187
xor eax, eax
jmp 0x1003d688
xor edi, edi
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0x101d1eb4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
test edi, edi
js 0x1003d1cc
cmp edi, dword [esi + 0x20]
jge 0x1003d1cc
mov eax, dword [esi + 0x18]
mov eax, dword [eax + edi*4]
jmp 0x1003d1ce
xor eax, eax
mov dword [esi + 0x2a50], eax
mov ecx, dword [edx]
mov dword [ebp - 0x20], ecx
cmp ecx, edi
jne 0x1003d1e3
add edx, 4
mov dword [ebp + 8], edx
push dword [ebp - 0x24]
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x1c]
push dword [eax]
call fcn.1000dd70
mov edx, dword [esi + 0x2a50]
add esp, 8
test eax, eax
je 0x1003d600
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push edi
push edx
call fcn.1005c7a0
mov eax, dword [esi + 0x2a50]
mov ecx, dword [esi + 0x860]
mov eax, dword [eax + 0x24]
shr eax, 4
and eax, 1
mov dword [ebp - 0x2c], eax
test ecx, ecx
je 0x1003d240
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x860], 0
cmp dword [ebp - 0x20], edi
jne 0x1003d30d
push dword [ebp - 0x30]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push dword [esi + 4]
push ecx
push eax
push dword [esi + 0x734]
mov eax, dword [esi + 0x730]
push dword [ebp - 0x1c]
push dword [esi + 0x2a50]
push dword [esi + 0x738]
call eax
mov ecx, eax
add esp, 0x20
mov dword [esi + 0x860], ecx
test ecx, ecx
jne 0x1003d319
mov ebx, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov dword [esi + 0x744], edx
test ebx, ebx
je 0x1003d2c2
cmp edx, 0xa0000059
je 0x1003d2c2
mov ecx, dword [ebx]
lea eax, [esi + 0x74c]
push eax
push 0
push dword [esi + 0x2a50]
push edx
push ebx
call dword [ecx + 0x14]
mov ecx, dword [esi + 0x860]
mov edx, dword [ebp - 0x20]
cmp dword [esi + 0x73c], 0
je 0x1003d2d5
mov dword [esi + 0x740], 1
xor ebx, ebx
cmp edi, dword [ebp - 0x34]
je 0x1003d2e4
cmp edx, 0xa0000017
jne 0x1003d319
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1003d302
cmp eax, 0x101d1eb4
je 0x1003d302
push eax
call fcn.10146720
add esp, 4
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
jmp 0x1003d665
mov dword [esi + 0x860], 0
xor ecx, ecx
cmp dword [ebp - 0x2c], 0
jne 0x1003d558
test ecx, ecx
je 0x1003d340
mov eax, dword [esi + 0x2a50]
mov edx, dword [ecx]
push dword [eax + 0x1c]
push dword [eax + 0x18]
call dword [edx + 0x24]
test eax, eax
je 0x1003d59d
mov ecx, dword [esi + 0x2a50]
mov eax, dword [ecx + 0x2c]
sub eax, 0
je 0x1003d36c
sub eax, 0x195
je 0x1003d363
sub eax, 2
jne 0x1003d36c
mov dword [ebp - 0x20], 0xffffffff
jmp 0x1003d373
mov dword [ebp - 0x20], 0x32
jmp 0x1003d373
mov dword [ebp - 0x20], 0
push ecx
mov ecx, esi
call fcn.1003d6b0
mov ecx, dword [esi + 0x2a50]
mov eax, dword [esi + 0x2a54]
mov dword [ebp - 0x2c], eax
cmp dword [ecx + 0x2c], 0x197
jne 0x1003d3fa
mov eax, dword [esi + 0x860]
test eax, eax
je 0x1003d551
push dword [ebp - 0x30]
push eax
push ecx
mov ecx, esi
call fcn.1003e1c0
mov ebx, eax
test ebx, ebx
jne 0x1003d551
mov ecx, dword [esi + 0x860]
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
or eax, edx
jne 0x1003d639
mov ecx, dword [esi + 0x860]
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, dword [ecx]
call dword [eax + 0x38]
mov dword [ebp - 0x28], ebx
test eax, eax
je 0x1003d5c7
push eax
call fcn.10147912
add esp, 4
mov edi, eax
jmp 0x1003d5c9
cmp dword [eax + 0x8c], 0
jne 0x1003d551
lea ecx, [eax + 0x48]
push ecx
push dword [ecx]
lea ecx, [esi + 0x830]
call fcn.100a0760
push ecx
push dword [esi + 0x2a50]
mov ecx, esi
mov dword [esi + 0x868], 0
mov dword [esi + 0x86c], 0
call fcn.1003d740
test eax, eax
je 0x1003d639
mov eax, dword [esi + 0x2a50]
cmp dword [eax + 0x2c], 0
jne 0x1003d467
lea ecx, [esi + 0x830]
push ecx
push dword [esi + 0x860]
mov ecx, esi
push eax
call fcn.1003ccd0
mov ebx, eax
jmp 0x1003d4c7
push 1
push dword [eax + 0x78]
mov ecx, esi
call fcn.1003e720
mov ebx, eax
test ebx, ebx
je 0x1003d639
mov eax, dword [esi + 0x2a50]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov eax, dword [esi + 0x870]
mov dword [eax + 0x4c48], ecx
mov ecx, esi
mov dword [eax + 0x4c4c], edx
mov byte [eax + 0x4c60], 0
mov eax, dword [esi + 0x2a50]
cmp dword [eax + 0x68], 0
setne al
movzx eax, al
push eax
push dword [ebp - 0x20]
call fcn.1003e620
mov ebx, eax
test ebx, ebx
je 0x1003d639
mov eax, dword [esi + 0x860]
test eax, eax
je 0x1003d4df
push eax
push dword [esi + 0x2a50]
mov ecx, esi
call fcn.1005ef40
cmp dword [esi + 0x744], 0
jne 0x1003d551
mov edx, dword [ebp - 0x2c]
xor ecx, ecx
cmp dword [edx + 0x18], ecx
lea eax, [edx + 0x6c]
cmove eax, ecx
lea ecx, [esi + 0x830]
push eax
lea eax, [edx + 0x48]
push eax
call fcn.100a0df0
test al, al
je 0x1003d511
mov ebx, 1
jmp 0x1003d551
mov edx, dword [esi + 4]
mov dword [esi + 0x744], 0xa0000018
test edx, edx
je 0x1003d53c
mov ecx, dword [edx]
lea eax, [esi + 0x74c]
push eax
push 0
push dword [esi + 0x2a50]
push 0xa0000018
push edx
call dword [ecx + 0x14]
cmp dword [esi + 0x73c], 0
je 0x1003d54f
mov dword [esi + 0x740], 1
xor ebx, ebx
mov ecx, esi
call fcn.1005ca60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1003d576
cmp eax, 0x101d1eb4
je 0x1003d576
push eax
call fcn.10146720
add esp, 4
inc edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0x101d1eb4
cmp edi, dword [ebp - 0x34]
ja 0x1003d66c
mov edx, dword [ebp + 8]
jmp 0x1003d190
mov edx, dword [esi + 4]
mov dword [esi + 0x744], 0xa0000042
test edx, edx
je 0x1003d626
mov ecx, dword [edx]
lea eax, [esi + 0x74c]
push eax
push 0
push dword [esi + 0x2a50]
push 0xa0000042
push edx
jmp 0x1003d623
xor edi, edi
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x860]
test ecx, ecx
je 0x1003d5ea
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x860], 0
test edi, edi
je 0x1003d639
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call fcn.10146720
add esp, 4
jmp 0x1003d639
mov edi, dword [esi + 4]
mov dword [esi + 0x744], 0xa0000047
test edi, edi
je 0x1003d626
mov ecx, dword [edi]
lea eax, [esi + 0x74c]
push eax
push 0
push edx
push 0xa0000047
push edi
call dword [ecx + 0x14]
cmp dword [esi + 0x73c], 0
je 0x1003d639
mov dword [esi + 0x740], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1003d657
cmp eax, 0x101d1eb4
je 0x1003d657
push eax
call fcn.10146720
add esp, 4
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0x101d1eb4
mov ecx, dword [esi + 0x860]
test ecx, ecx
je 0x1003d686
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x860], 0
mov eax, ebx
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.10142783
mov esp, ebp
pop ebp
ret 0x14