Function at 0x1003ef84
Capabilities:
Delete file
Move file

Disassembly:
push 0x24
mov eax, 0x100e2745
call fcn.10001371
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
xor ebx, ebx
mov dword [ebp - 0x30], ebx
test eax, eax
je 0x1003f418
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x1003f418
call fcn.1004ba3f
mov eax, dword [esi]
push ebx
mov byte [ebp - 0x14], bl
mov dword [ebp - 0x10], ebx
mov eax, dword [eax + 0x20]
shr eax, 2
and al, 1
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], eax
pop eax
push ebx
pop edi
push ebx
mov dword [ebp - 0x18], eax
pop esi
je 0x1003f0ca
push 0x10
cmp dword [0x10181be0], ebx
je 0x1003efee
pop ecx
call fcn.1004ba3f
jmp 0x1003eff5
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov edi, eax
test edi, edi
je 0x1003f028
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x2c]
push str..tmp
push eax
call fcn.1004ba3f
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1004ba3f
push eax
mov ecx, edi
call sym.fpsrvutl.dll_Ordinal_4804
push 3
mov edi, eax
mov dword [ebp - 0x10], eax
pop ebx
jmp 0x1003f02d
xor edi, edi
mov dword [ebp - 0x10], edi
test bl, 2
je 0x1003f048
and ebx, 0xfffffffd
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
or dword [ebp - 4], 0xffffffff
test bl, 1
je 0x1003f063
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1003f0a6
cmp dword [0x10181be0], 0
push 0x38
je 0x1003f07a
pop ecx
call fcn.1004ba3f
jmp 0x1003f081
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
test eax, eax
je 0x1003f0a6
xor ecx, ecx
push ecx
push 0xea60
push ecx
push ecx
push 0x180
push 0x100ee774
push dword [edi]
mov ecx, eax
call sym.fpsrvutl.dll_Ordinal_800
mov edi, eax
jmp 0x1003f0a8
xor edi, edi
test edi, edi
je 0x1003f0b5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
jmp 0x1003f0b7
xor eax, eax
mov dword [ebp - 0x18], eax
test edi, edi
je 0x1003f3b8
test eax, eax
jne 0x1003f3b8
cmp dword [0x10181be0], 0
push 0x54
je 0x1003f0dd
pop ecx
call fcn.1004ba3f
jmp 0x1003f0e4
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
test eax, eax
je 0x1003f0fd
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 0x1003f0ff
xor esi, esi
test esi, esi
je 0x1003f118
cmp byte [ebp + 0xc], 0
je 0x1003f118
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
test byte [eax + 0x1c], 0x10
jne 0x1003f118
mov al, 1
jmp 0x1003f11a
xor al, al
mov byte [ebp + 0x13], al
test al, al
je 0x1003f15b
cmp dword [0x10181be0], 0
je 0x1003f136
mov ecx, 0x368
call fcn.1004ba3f
jmp 0x1003f142
push 0x368
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
test eax, eax
je 0x1003f158
push esi
mov ecx, eax
call sym.fpsrvutl.dll_Ordinal_994
mov ebx, eax
mov dword [ebp - 0x20], eax
mov al, byte [ebp + 0x13]
jmp 0x1003f160
mov al, byte [ebp + 0x13]
xor ebx, ebx
mov dword [ebp - 0x20], ebx
test esi, esi
je 0x1003f3b8
test al, al
je 0x1003f17d
test ebx, ebx
je 0x1003f3b8
mov ecx, ebx
call fcn.1003c7a9
jmp 0x1003f18f
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 0x1003f3b8
cmp byte [ebp + 0x13], 0
je 0x1003f1c8
cmp dword [0x10181be0], 0
push 0x24
je 0x1003f1b2
pop ecx
call fcn.1004ba3f
jmp 0x1003f1b9
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
test eax, eax
je 0x1003f1f9
push ecx
push ebx
mov ecx, eax
call fcn.1004ba3f
jmp 0x1003f1f5
cmp dword [0x10181be0], 0
push 0x34
je 0x1003f1db
pop ecx
call fcn.1004ba3f
jmp 0x1003f1e2
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
test eax, eax
je 0x1003f1f9
push 0
push dword [esi + 0x18]
mov ecx, eax
push dword [esi + 0x10]
call fcn.1004ba3f
mov ecx, eax
jmp 0x1003f1fb
xor ecx, ecx
mov ebx, dword [ebp - 0x30]
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 0x1003f26c
cmp byte [ebp - 0x24], 0
je 0x1003f26c
cmp dword [0x10181be0], 0
push 0x1c
je 0x1003f254
pop ecx
call fcn.1004ba3f
jmp 0x1003f25b
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
test eax, eax
je 0x1003f26c
push 0
push 0
mov ecx, eax
call fcn.1004ba3f
jmp 0x1003f26e
xor eax, eax
cmp byte [ebp - 0x24], 0
mov dword [ebx + 0x10], eax
je 0x1003f2fe
cmp byte [ebp + 0x13], 0
je 0x1003f2b7
cmp dword [0x10181be0], 0
je 0x1003f296
mov ecx, 0x2c8
call fcn.1004ba3f
jmp 0x1003f2a2
push 0x2c8
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
test eax, eax
je 0x1003f2ef
push 0
push 0
push dword [esi + 0x1c]
mov ecx, eax
push edi
call sym.fpsrvutl.dll_Ordinal_3043
jmp 0x1003f2eb
cmp dword [0x10181be0], 0
je 0x1003f2cc
mov ecx, 0x160
call fcn.1004ba3f
jmp 0x1003f2d8
push 0x160
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
test eax, eax
je 0x1003f2ef
push 0
push 0
push dword [esi + 0x1c]
mov ecx, eax
push edi
call sym.fpsrvutl.dll_Ordinal_616
mov ecx, eax
jmp 0x1003f2f1
xor ecx, ecx
mov dword [ebx + 0x14], ecx
test ecx, ecx
je 0x1003f2fe
mov eax, dword [ecx]
push esi
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0x1c]
call fcn.1004ba3f
cmp byte [ebp - 0x24], 0
mov bl, al
je 0x1003f3bb
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
test bl, bl
je 0x1003f397
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
movzx ebx, bl
mov eax, dword [eax]
cmp dword [eax + 0x38], ecx
cmove ebx, ecx
test bl, bl
je 0x1003f397
mov ecx, dword [ebp + 0x14]
mov eax, 0x10182a34
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
push eax
call fcn.1004ba3f
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x10]
push eax
call fcn.1004ba3f
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 0x1003f385
mov ecx, dword [ebp - 0x10]
push 1
push dword [ebp + 0x14]
call sym.fpsrvutl.dll_Ordinal_1817
mov dword [ebp - 0x18], eax
lea ecx, [ebp + 0x10]
call fcn.100041f1
lea ecx, [ebp + 0xc]
call fcn.100041f1
jmp 0x1003f3ab
mov ecx, dword [ebp - 0x10]
call sym.fpsrvutl.dll_Ordinal_5875
test eax, eax
je 0x1003f3ab
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
xor ecx, ecx
movzx ebx, bl
cmp dword [ebp - 0x18], ecx
cmovne ebx, ecx
jmp 0x1003f3bb
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call sym.fpsrvutl.dll_Ordinal_4137
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1003f3d2
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1003f3e9
mov ecx, eax
call sym.fpsrvutl.dll_Ordinal_974
push dword [ebp - 0x10]
call fcn.1004ba3f
pop ecx
test edi, edi
je 0x1003f3f5
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov edi, dword [ebp - 0x20]
test edi, edi
jne 0x1003f40c
test esi, esi
je 0x1003f408
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
test edi, edi
je 0x1003f414
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov al, bl
jmp 0x1003f41a
xor al, al
call fcn.1000140a
ret 0x10