Function at 0x1000e000
Capabilities:
Copy file
Delete file
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x1001e5a2
mov eax, dword fs:[0]
push eax
sub esp, 0x800
mov eax, dword [0x10025160]
xor eax, esp
mov dword [esp + 0x7fc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10025160]
xor eax, esp
push eax
lea eax, [esp + 0x814]
mov dword fs:[0], eax
lea ecx, [esp + 0x24c]
call fcn.10003f50
xor ebx, ebx
lea ecx, [esp + 0x63000138]
mov dword [esp + 0x81c], ebx
call fcn.10005e70
lea ecx, [esp + 0x360]
mov byte [esp + 0x81c], 1
call fcn.100073f0
lea ecx, [esp + 0x488]
mov byte [esp + 0x81c], 2
call fcn.10009880
lea ecx, [esp + 0x5b0]
mov byte [esp + 0x81c], 3
call fcn.10001760
lea ecx, [esp + 0x20]
mov byte [esp + 0x81c], 4
call fcn.10001030
mov edi, dword [esp + 0x82c]
push fcn.1000bd10
mov byte [esp + 0x820], 5
mov dword [esp + 0x18], ebx
mov dword [0x10026404], edi
mov dword [0x10026400], ebx
call dword [sym.imp.OleEngine.dll_unsigned_long_int___cdecl_OLESetProgressCallback_unsigned_long_int_]
push fcn.1000bd30
call dword [sym.imp.OleEngine.dll_unsigned_long_int___cdecl_OLESetMessageCallback_unsigned_long_int_]
mov esi, dword [esp + 0x82c]
add esp, 8
cmp esi, ebx
jne 0x1000e0f6
mov esi, 0xa
jmp 0x1000e568
mov eax, edi
and eax, 1
mov dword [esp + 0x18], eax
je 0x1000e12f
call fcn.100051f0
test eax, eax
je 0x1000e114
mov esi, 0x7d9
jmp 0x1000e568
lea ecx, [esp + 0x5b0]
call fcn.10002680
test eax, eax
jne 0x1000e169
lea eax, [esp + 0x5b0]
mov dword [esp + 0x14], eax
mov edx, 0x10026540
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1000e138
push 0x5c
push 0x10026540
call fcn.1000ff1e
add esp, 8
cmp eax, ebx
je 0x1000e203
push eax
call fcn.100103d4
add esp, 4
jmp 0x1000e208
lea ecx, [esp + 0x488]
call fcn.1000a6e0
test eax, eax
jne 0x1000e186
lea ecx, [esp + 0x488]
mov dword [esp + 0x14], ecx
jmp 0x1000e12f
lea ecx, [esp + 0x360]
call fcn.10008310
test eax, eax
jne 0x1000e1a3
lea edx, [esp + 0x360]
mov dword [esp + 0x14], edx
jmp 0x1000e12f
lea ecx, [esp + 0x24c]
call fcn.10004190
test eax, eax
jne 0x1000e1bf
lea eax, [esp + 0x24c]
jmp 0x1000e12b
lea ecx, [esp + 0x63000138]
call fcn.10006260
test eax, eax
jne 0x1000e1df
lea ecx, [esp + 0x63000138]
mov dword [esp + 0x14], ecx
jmp 0x1000e12f
lea ecx, [esp + 0x20]
call fcn.100013f0
test eax, eax
jne 0x1000e1f9
lea edx, [esp + 0x20]
mov dword [esp + 0x14], edx
jmp 0x1000e12f
mov esi, 0x7d5
jmp 0x1000e568
mov eax, 0x10026540
lea edx, [esp + 0x70c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1000e211
lea eax, [esp + 0x70c]
push 0x2e
push eax
call fcn.1000ff1e
add esp, 8
cmp eax, ebx
je 0x1000e236
mov byte [eax], 0
mov eax, dword [esp + 0x828]
mov edx, 0x10026648
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1000e244
xor eax, eax
jmp 0x1000e260
mov cl, byte [eax + 0x10026648]
mov byte [eax + 0x10026750], cl
add eax, 1
test cl, cl
jne 0x1000e260
push 0x2e
push 0x10026750
call fcn.1000ff1e
add esp, 8
cmp eax, ebx
je 0x1000e289
mov byte [eax], 0
mov eax, 0x10026750
lea ecx, [esp + 0x20]
add eax, 0xffffffff
cmp dword [esp + 0x14], ecx
jne 0x1000e2c6
jmp 0x1000e2a0
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x1000e2a0
mov edx, dword [str._SAL.txt]
mov ecx, dword [0x1001f62c]
mov dword [eax], edx
mov dl, byte [0x1001f630]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
jmp 0x1000e2ea
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x1000e2c6
mov ecx, dword [str._SAL.doc]
mov edx, dword [0x1001f620]
mov dword [eax], ecx
mov cl, byte [0x1001f624]
mov dword [eax + 4], edx
mov byte [eax + 8], cl
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push 0x80
push 3
push ebx
push ebx
push SysReAllocString
push 0x10026540
call esi
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x1c], edi
je 0x1080e508
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x1000e4de
mov edx, ebp
shr edx, 9
add edx, 1
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x1000e4d7
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push 0x10026648
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x1606e4bc
push 5
call fcn.1000bd40
add esp, 4
push eax
push 0
call fcn.1000bd30
mov eax, dword [esp + 0x1c]
push ebx
push edi
push ebp
push eax
call dword [sym.imp.OleEngine.dll_int___cdecl_OLECreateFiles_void___unsigned_long_int__void___unsigned_char__]
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1000e4a5
cmp dword [esp + 0x18], eax
je 0x1000e442
mov esi, dword [esp + 0x14]
test esi, esi
je 0x1606e4ae
push 0x10026750
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 0x10026750
mov ecx, esi
call eax
test eax, eax
jne 0x1000e432
push 3
call fcn.1000bd40
add esp, 4
push eax
push 0
call fcn.1000bd30
push ebx
push esi
push ebp
push edi
call fcn.1000d7f0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1000e41a
mov ecx, dword [esp + 0x14]
push ebx
push ecx
push ebp
push edi
call fcn.1000d360
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1000e41a
mov edx, dword [esp + 0x14]
push ebx
push edx
push ebp
push edi
call fcn.1000dbd0
add esp, 0x10
mov esi, eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
jmp 0x1000e437
mov esi, 0x7d5
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
call edx
test esi, esi
jne 0x1000e4a5
push 4
call fcn.1000bd40
add esp, 4
push eax
push esi
call fcn.1000bd30
push ebx
push ebp
push edi
call dword [sym.imp.OleEngine.dll_int___cdecl_OLEFix_void___unsigned_long_int__unsigned_char__]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1000e48c
cmp dword [esp + 0x18], 0
je 0x1000e48c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x10026648
push 0x10026750
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp esi, 0x3e8
je 0x1000e498
test esi, esi
jne 0x1000e4a5
push ebx
push ebp
push edi
call fcn.1000c1d0
add esp, 0xc
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000e4c1
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [esp + 0x1c]
jmp 0x1000e4e3
mov esi, 8
jmp 0x1000e4e3
mov esi, 3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 9
je 0x1000e50f
cmp esi, 1
je 0x1000e50f
push esi
call fcn.1000bd70
push eax
call fcn.1000bd40
add esp, 8
push eax
push 0xffffffffffffffff
jmp 0x1000e521
push esi
call fcn.1000bd70
push eax
call fcn.1000bd40
add esp, 8
push eax
push 2
call fcn.1000bd30
test esi, esi
jne 0x1000e568
test byte [esp + 0x82c], 0x20
je 0x1000e568
mov eax, dword [0x10026400]
push eax
push 0x15
call fcn.1000bd40
add esp, 4
push eax
lea ecx, [esp + 0x6e0]
push 0x1001f614
push ecx
call fcn.10010a6a
add esp, 0x10
lea edx, [esp + 0x6d8]
push edx
push esi
call fcn.1000bd30
lea ecx, [esp + 0x20]
mov byte [esp + 0x81c], 4
call fcn.10001060
lea ecx, [esp + 0x5b0]
mov byte [esp + 0x81c], 3
call fcn.10002180
lea ecx, [esp + 0x488]
mov byte [esp + 0x81c], 2
call fcn.1000a1e0
lea ecx, [esp + 0x360]
mov byte [esp + 0x81c], 1
call fcn.10007d70
lea ecx, [esp + 0x63000138]
mov byte [esp + 0x81c], 0
call fcn.10005fb0
lea ecx, [esp + 0x24c]
mov dword [esp + 0x81c], 0xffffffff
call fcn.10003f70
mov eax, esi
mov ecx, dword [esp + 0x814]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7fc]
xor ecx, esp
call main
add esp, 0x80c
ret