Function at 0x1003d78d
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x24], ebx
mov eax, dword [esi]
test eax, eax
je 0x1003dbf8
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x1003dbf8
call fcn.1003c141
mov eax, dword [esi]
push ebx
mov byte [ebp - 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [eax + 0x20]
shr eax, 2
and al, 1
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
pop eax
push ebx
pop edi
push ebx
mov dword [ebp - 0xc], eax
pop esi
je 0x1003d8b7
push 0x10
cmp dword [0x1017ca10], ebx
je 0x1003d7f4
pop ecx
call sym.fpsrvutl.dll_Ordinal_3712
jmp 0x1003d7fb
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov edi, eax
test edi, edi
je 0x1003d82e
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x20]
push str..tmp
push eax
call sym.fpsrvutl.dll_Ordinal_3712
push eax
lea eax, [ebp - 0x1c]
push eax
call sym.fpsrvutl.dll_Ordinal_3712
push eax
mov ecx, edi
call sym.fpsrvutl.dll_Ordinal_4804
push 3
mov edi, eax
mov dword [ebp - 4], eax
pop ebx
jmp 0x1003d833
xor edi, edi
mov dword [ebp - 4], edi
test bl, 2
je 0x1003d843
lea ecx, [ebp - 0x1c]
and ebx, 0xfffffffd
call sym.fpsrvutl.dll_Ordinal_443
test bl, 1
je 0x1003d850
lea ecx, [ebp - 0x20]
call sym.fpsrvutl.dll_Ordinal_443
test edi, edi
je 0x1003d893
cmp dword [0x1017ca10], 0
push 0x38
je 0x1003d867
pop ecx
call sym.fpsrvutl.dll_Ordinal_3712
jmp 0x1003d86e
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
test eax, eax
je 0x1003d893
xor ecx, ecx
push ecx
push 0xea60
push ecx
push ecx
push 0x180
push 0x100ea75c
push dword [edi]
mov ecx, eax
call sym.fpsrvutl.dll_Ordinal_800
mov edi, eax
jmp 0x1003d895
xor edi, edi
test edi, edi
je 0x1003d8a2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
jmp 0x1003d8a4
xor eax, eax
mov dword [ebp - 0xc], eax
test edi, edi
je 0x1003dba0
test eax, eax
jne 0x1003dba0
cmp dword [0x1017ca10], 0
push 0x54
je 0x1003d8ca
pop ecx
call sym.fpsrvutl.dll_Ordinal_3712
jmp 0x1003d8d1
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
test eax, eax
je 0x1003d8ea
push 0
push 0
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 8]
call sym.fpsrvutl.dll_Ordinal_3909
mov esi, eax
jmp 0x1003d8ec
xor esi, esi
test esi, esi
je 0x1003d93e
cmp byte [ebp + 0xc], 0
je 0x1003d93e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test byte [eax + 0x1c], 0x10
jne 0x1003d93e
cmp dword [0x1017ca10], 0
mov byte [ebp + 0x13], 1
je 0x1003d91a
mov ecx, 0x368
call sym.fpsrvutl.dll_Ordinal_3712
jmp 0x1003d926
push 0x368
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
test eax, eax
je 0x1003d939
push esi
mov ecx, eax
call sym.fpsrvutl.dll_Ordinal_994
mov ebx, eax
mov al, byte [ebp + 0x13]
jmp 0x1003d945
mov al, byte [ebp + 0x13]
jmp 0x1003d943
xor al, al
mov byte [ebp + 0x13], al
xor ebx, ebx
mov dword [ebp - 0x14], ebx
test esi, esi
je 0x1003dba0
test al, al
je 0x1003d965
test ebx, ebx
je 0x1003dba0
mov ecx, ebx
call fcn.1003bad5
jmp 0x1003d977
mov eax, dword [esi]
mov ecx, esi
push 0
push 2
call dword [eax + 0x20]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
cmp dword [esi + 0x18], 0
je 0x1003dba0
cmp byte [ebp + 0x13], 0
je 0x1003d9b0
cmp dword [0x1017ca10], 0
push 0x24
je 0x1003d99a
pop ecx
call sym.fpsrvutl.dll_Ordinal_3712
jmp 0x1003d9a1
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
test eax, eax
je 0x1003d9e1
push ecx
push ebx
mov ecx, eax
call sym.fpsrvutl.dll_Ordinal_3712
jmp 0x1003d9dd
cmp dword [0x1017ca10], 0
push 0x34
je 0x1003d9c3
pop ecx
call sym.fpsrvutl.dll_Ordinal_3712
jmp 0x1003d9ca
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
test eax, eax
je 0x1003d9e1
push 0
push dword [esi + 0x18]
mov ecx, eax
push dword [esi + 0x10]
call sym.fpsrvutl.dll_Ordinal_3712
mov ecx, eax
jmp 0x1003d9e3
xor ecx, ecx
mov ebx, dword [ebp - 0x24]
mov dword [ebx + 4], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx + 4]
mov dword [ebx + 0xc], eax
call sym.fpsrvutl.dll_Ordinal_3236
mov ecx, dword [ebx + 4]
mov dword [ebx + 0x24], eax
call sym.fpsrvutl.dll_Ordinal_3236
mov ecx, dword [ebx + 4]
mov dword [ebx + 0x28], eax
call sym.fpsrvutl.dll_Ordinal_3236
cmp byte [ebp + 0xc], 0
mov dword [ebx + 0x2c], eax
je 0x1003da54
cmp byte [ebp - 0x18], 0
je 0x1003da54
cmp dword [0x1017ca10], 0
push 0x1c
je 0x1003da3c
pop ecx
call sym.fpsrvutl.dll_Ordinal_3712
jmp 0x1003da43
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
test eax, eax
je 0x1003da54
push 0
push 0
mov ecx, eax
call sym.fpsrvutl.dll_Ordinal_3712
jmp 0x1003da56
xor eax, eax
cmp byte [ebp - 0x18], 0
mov dword [ebx + 0x10], eax
je 0x1003dae6
cmp byte [ebp + 0x13], 0
je 0x1003da9f
cmp dword [0x1017ca10], 0
je 0x1003da7e
mov ecx, 0x2c8
call sym.fpsrvutl.dll_Ordinal_3712
jmp 0x1003da8a
push 0x2c8
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
test eax, eax
je 0x1003dad7
push 0
push 0
push dword [esi + 0x1c]
mov ecx, eax
push edi
call sym.fpsrvutl.dll_Ordinal_3043
jmp 0x1003dad3
cmp dword [0x1017ca10], 0
je 0x1003dab4
mov ecx, 0x160
call sym.fpsrvutl.dll_Ordinal_3712
jmp 0x1003dac0
push 0x160
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
test eax, eax
je 0x1003dad7
push 0
push 0
push dword [esi + 0x1c]
mov ecx, eax
push edi
call sym.fpsrvutl.dll_Ordinal_616
mov ecx, eax
jmp 0x1003dad9
xor ecx, ecx
mov dword [ebx + 0x14], ecx
test ecx, ecx
je 0x1003dae6
mov eax, dword [ecx]
push esi
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0x10]
call sym.fpsrvutl.dll_Ordinal_3712
cmp byte [ebp - 0x18], 0
mov bl, al
je 0x1003dba3
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
test bl, bl
je 0x1003db7f
mov eax, dword [ebp - 0x10]
xor ecx, ecx
movzx ebx, bl
mov eax, dword [eax]
cmp dword [eax + 0x38], ecx
cmove ebx, ecx
test bl, bl
je 0x1003db7f
mov ecx, dword [ebp + 0x14]
mov eax, 0x1017ccc8
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
push eax
call sym.fpsrvutl.dll_Ordinal_3712
mov ecx, dword [ebp - 4]
lea eax, [ebp + 0x10]
push eax
call sym.fpsrvutl.dll_Ordinal_3712
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 0xc]
call dword [sym.imp.kernel32.dll_DeleteFileW]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call dword [sym.imp.kernel32.dll_MoveFileW]
test eax, eax
jne 0x1003db6d
mov ecx, dword [ebp - 4]
push 1
push dword [ebp + 0x14]
call sym.fpsrvutl.dll_Ordinal_1817
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 0x10]
call fcn.100040e3
lea ecx, [ebp + 0xc]
call fcn.100040e3
jmp 0x1003db93
mov ecx, dword [ebp - 4]
call sym.fpsrvutl.dll_Ordinal_5875
test eax, eax
je 0x1003db93
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
xor ecx, ecx
movzx ebx, bl
cmp dword [ebp - 0xc], ecx
cmovne ebx, ecx
jmp 0x1003dba3
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call sym.fpsrvutl.dll_Ordinal_4137
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x1003dbba
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 4]
test eax, eax
je 0x1003dbd1
mov ecx, eax
call sym.fpsrvutl.dll_Ordinal_974
push dword [ebp - 4]
call sym.fpsrvutl.dll_Ordinal_3712
pop ecx
test edi, edi
je 0x1003dbdd
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x1003dbee
test esi, esi
je 0x1003dbf4
mov eax, dword [esi]
mov ecx, esi
jmp 0x1003dbf0
mov eax, dword [ecx]
push 1
call dword [eax]
mov al, bl
jmp 0x1003dbfa
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10