Function at 0x10010b20
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100317c6
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x10046070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10047d70]
test eax, eax
jne 0x10010b71
push 0x7c
call fcn.100128a4
add esp, 4
mov dword [ebp - 0xa4], eax
mov ecx, eax
call fcn.1000bd40
mov dword [0x10047d70], eax
push 0x103
push str.fnzprog_protect
push str.fnzprog__s__d
push 0
push 0x10041ccc
push eax
call fcn.1000bda0
add esp, 0x18
lea ecx, [ebp - 0x58]
call fcn.1000a470
push 8
push str.zzz.zip
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.10009180
mov edx, str.zserv_
lea ecx, [ebp - 0x40]
call fcn.10010050
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.1000a2d0
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
mov edx, 0x67
push eax
call fcn.1000ff60
push 0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.1000f6e0
add esp, 0xc
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.1001bf3f
add esp, 4
lea ecx, [ebp - 0x88]
call fcn.1000a520
push str.zprog.dat
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.1000eaf0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x88]
push 0
cmovae ecx, dword [ebp - 0x70]
cmp dword [ebp - 0x74], 0x10
push ecx
cmovae eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [0x10047d70]
test eax, eax
jne 0x10010c73
push 0x7c
call fcn.100128a4
add esp, 4
mov dword [ebp - 0xa4], eax
mov ecx, eax
call fcn.1000bd40
mov dword [0x10047d70], eax
push 0x10f
push str.fnzprog_protect
push str.fnzprog__s__d
push 0
push 0x10041ccc
push eax
call fcn.1000bda0
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x10010ca9
mov eax, dword [ecx]
jmp 0x10010cab
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.10009050
call fcn.10010250
push 0x10041e64
lea edx, [ebp - 0x40]
mov bl, al
lea ecx, [ebp - 0xa0]
call fcn.1000eaf0
add esp, 0x1c
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.1000b9e0
test bl, bl
je 0x10010d1d
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
sub esp, 0x10
call fcn.1000ef60
add esp, 0x14
test eax, eax
jne 0x10010d48
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10009050
call fcn.10010300
add esp, 0x18
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x10010d5d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1000e4a0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x18], 0
cmp eax, 0x10
jb 0x10010dc1
mov ecx, dword [ebp - 0xa0]
inc eax
cmp eax, 0x1000
jb 0x10010db8
test cl, 0x1f
je 0x10010d94
call fcn.10017f81
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10010da0
call fcn.10017f81
sub ecx, eax
cmp ecx, 4
jae 0x10010dac
call fcn.10017f81
cmp ecx, 0x23
jbe 0x10010db6
call fcn.10017f81
mov ecx, eax
push ecx
call fcn.10012c24
add esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
cmp eax, 0x10
jb 0x10010e26
mov ecx, dword [ebp - 0x70]
inc eax
cmp eax, 0x1000
jb 0x10010e1d
test cl, 0x1f
je 0x10010df9
call fcn.10017f81
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10010e05
call fcn.10017f81
sub ecx, eax
cmp ecx, 4
jae 0x10010e11
call fcn.10017f81
cmp ecx, 0x23
jbe 0x10010e1b
call fcn.10017f81
mov ecx, eax
push ecx
call fcn.10012c24
add esp, 4
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
cmp eax, 0x10
jb 0x10010e85
mov ecx, dword [ebp - 0x88]
inc eax
cmp eax, 0x1000
jb 0x10010e7c
test cl, 0x1f
je 0x10010e58
call fcn.10017f81
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10010e64
call fcn.10017f81
sub ecx, eax
cmp ecx, 4
jae 0x10010e70
call fcn.10017f81
cmp ecx, 0x23
jbe 0x10010e7a
call fcn.10017f81
mov ecx, eax
push ecx
call fcn.10012c24
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
cmp eax, 0x10
jb 0x10010ee4
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x1000
jb 0x10010edb
test cl, 0x1f
je 0x10010eb7
call fcn.10017f81
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10010ec3
call fcn.10017f81
sub ecx, eax
cmp ecx, 4
jae 0x10010ecf
call fcn.10017f81
cmp ecx, 0x23
jbe 0x10010ed9
call fcn.10017f81
mov ecx, eax
push ecx
call fcn.10012c24
add esp, 4
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x10010f40
mov ecx, dword [ebp - 0x58]
inc eax
cmp eax, 0x1000
jb 0x10010f37
test cl, 0x1f
je 0x10010f13
call fcn.10017f81
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10010f1f
call fcn.10017f81
sub ecx, eax
cmp ecx, 4
jae 0x10010f2b
call fcn.10017f81
cmp ecx, 0x23
jbe 0x10010f35
call fcn.10017f81
mov ecx, eax
push ecx
call fcn.10012c24
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001266f
mov esp, ebp
pop ebp
ret