Function at 0x100102a0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10030dc6
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x10044070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10045d58]
test eax, eax
jne 0x100102f1
push 0x7c
call fcn.10012005
add esp, 4
mov dword [ebp - 0xa4], eax
mov ecx, eax
call fcn.1000b560
mov dword [0x10045d58], eax
push 0xd1
push str.fnzprog_protect
push str.fnzprog__s__d
push 0
push 0x10040c84
push eax
call fcn.1000b5c0
add esp, 0x18
lea ecx, [ebp - 0x58]
call fcn.1000a450
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.1000f6e0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.1000a2b0
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
mov edx, 0x67
push eax
call fcn.1000f5f0
push 0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.1000ef00
add esp, 0xc
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.1001b672
add esp, 4
lea ecx, [ebp - 0x88]
call fcn.1000a500
push str.zprog.dat
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.1000e310
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 [0x10045d58]
test eax, eax
jne 0x100103f3
push 0x7c
call fcn.10012005
add esp, 4
mov dword [ebp - 0xa4], eax
mov ecx, eax
call fcn.1000b560
mov dword [0x10045d58], eax
push 0xdd
push str.fnzprog_protect
push str.fnzprog__s__d
push 0
push 0x10040c84
push eax
call fcn.1000b5c0
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x10010429
mov eax, dword [ecx]
jmp 0x1001042b
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.10009050
call fcn.1000f8e0
push 0x10040dc4
lea edx, [ebp - 0x40]
mov bl, al
lea ecx, [ebp - 0xa0]
call fcn.1000e310
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.1000b200
test bl, bl
je 0x1001049d
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
sub esp, 0x10
call fcn.1000e780
add esp, 0x14
test eax, eax
jne 0x100104c8
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.1000f990
add esp, 0x18
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x100104dd
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1000dcc0
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 0x10010541
mov ecx, dword [ebp - 0xa0]
inc eax
cmp eax, 0x1000
jb 0x10010538
test cl, 0x1f
je 0x10010514
call fcn.100176e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10010520
call fcn.100176e1
sub ecx, eax
cmp ecx, 4
jae 0x1001052c
call fcn.100176e1
cmp ecx, 0x23
jbe 0x10010536
call fcn.100176e1
mov ecx, eax
push ecx
call fcn.10012368
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 0x100105a6
mov ecx, dword [ebp - 0x70]
inc eax
cmp eax, 0x1000
jb 0x1001059d
test cl, 0x1f
je 0x10010579
call fcn.100176e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10010585
call fcn.100176e1
sub ecx, eax
cmp ecx, 4
jae 0x10010591
call fcn.100176e1
cmp ecx, 0x23
jbe 0x1001059b
call fcn.100176e1
mov ecx, eax
push ecx
call fcn.10012368
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 0x10010605
mov ecx, dword [ebp - 0x88]
inc eax
cmp eax, 0x1000
jb 0x100105fc
test cl, 0x1f
je 0x100105d8
call fcn.100176e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x100105e4
call fcn.100176e1
sub ecx, eax
cmp ecx, 4
jae 0x100105f0
call fcn.100176e1
cmp ecx, 0x23
jbe 0x100105fa
call fcn.100176e1
mov ecx, eax
push ecx
call fcn.10012368
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 0x10010664
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x1000
jb 0x1001065b
test cl, 0x1f
je 0x10010637
call fcn.100176e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10010643
call fcn.100176e1
sub ecx, eax
cmp ecx, 4
jae 0x1001064f
call fcn.100176e1
cmp ecx, 0x23
jbe 0x10010659
call fcn.100176e1
mov ecx, eax
push ecx
call fcn.10012368
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 0x100106c0
mov ecx, dword [ebp - 0x58]
inc eax
cmp eax, 0x1000
jb 0x100106b7
test cl, 0x1f
je 0x10010693
call fcn.100176e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1001069f
call fcn.100176e1
sub ecx, eax
cmp ecx, 4
jae 0x100106ab
call fcn.100176e1
cmp ecx, 0x23
jbe 0x100106b5
call fcn.100176e1
mov ecx, eax
push ecx
call fcn.10012368
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.10011dd0
mov esp, ebp
pop ebp
ret