Function at 0x401f70
Capabilities:
Copy file
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x415981
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x268
mov eax, dword [str.C:ZCKS]
mov edx, dword [str.C:]
push ebx
mov ebx, ecx
mov ecx, dword [0x41c1fc]
mov dword [esp + 0x30], eax
mov eax, dword [0x41c1ec]
mov dword [esp + 0x34], ecx
mov ecx, dword [0x41c1f0]
mov dword [esp + 0x38], edx
mov dx, word [0x41c1f4]
mov dword [esp + 0x3c], eax
mov eax, dword [0x41c6c0]
push ebp
push esi
push edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x24], 1
mov dword [esp + 0x4c], ecx
mov word [esp + 0x50], dx
mov dword [esp + 0x5c], 0x41c1d8
mov dword [esp + 0x60], 0x41c1c8
mov dword [esp + 0x64], 0x41c1b8
mov dword [esp + 0x68], 0x41c1a8
mov dword [esp + 0x6c], 0x41c194
mov dword [esp + 0x70], 0x41c184
mov dword [esp + 0x74], 0x41c174
mov dword [esp + 0x14], eax
mov dword [esp + 0x280], 0
mov dword [esp + 0x20], eax
lea ebp, [ebx + 0x68]
mov byte [esp + 0x280], 1
push ebp
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [esp + 0x3c]
push eax
call fcn.00403b9f
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x78]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x77], 0x5c
je 0x4020ae
mov edi, 0x41c114
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x78]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x64]
lea edx, [esp + 0x178]
mov ecx, dword [esp + eax*4 + 0x58]
push ecx
push 0x41c170
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [esp + 0x184]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x184]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x48]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x184]
push ecx
call fcn.00401780
lea edx, [esp + 0x188]
lea eax, [esp + 0x88]
push edx
push eax
call fcn.004019c0
mov ecx, dword [ebx + 0x18c]
add esp, 0x18
push 0
push 0
push 0xf0
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4021f4
lea edx, [esp + 0x44]
push edx
call fcn.00401780
lea eax, [esp + 0x48]
push eax
call fcn.00403b9f
add esp, 8
lea ecx, [esp + 0x14]
push ebp
call fcn.00411fc6
lea ecx, [esp + 0x1c]
push 1
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040d532
mov eax, dword [eax]
push 0x41c114
push eax
call fcn.00403a16
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
setne bl
call fcn.00411e89
test bl, bl
je 0x4021c6
push 0x41c114
lea ecx, [esp + 0x18]
call fcn.004120f0
push 0x41c15c
lea ecx, [esp + 0x18]
call fcn.004120f0
lea edx, [esp + 0x44]
lea ecx, [esp + 0x20]
push edx
call fcn.00411fc6
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.004019c0
add esp, 8
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x20]
push edx
call fcn.00411fc6
lea eax, [esp + 0x1c]
push 1
push eax
lea ecx, [esp + 0x28]
call fcn.0040d532
mov eax, dword [eax]
push 0x41c114
push eax
call fcn.00403a16
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
setne bl
call fcn.00411e89
test bl, bl
je 0x402242
push 0x41c114
lea ecx, [esp + 0x24]
call fcn.004120f0
push ebp
lea ecx, [esp + 0x18]
call fcn.00411fc6
lea ecx, [esp + 0x1c]
push 1
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040d532
mov eax, dword [eax]
push 0x41c114
push eax
call fcn.00403a16
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
setne bl
call fcn.00411e89
test bl, bl
je 0x40228c
push 0x41c114
lea ecx, [esp + 0x18]
call fcn.004120f0
push str.ZCKS_
lea ecx, [esp + 0x18]
call fcn.004120f0
mov edx, dword [0x41c6c0]
mov dword [esp + 0x18], edx
mov bl, 2
push str.SYSMENU.EXE
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], bl
call fcn.00411fc6
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.0041202b
mov esi, dword [eax]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x28c], 3
call fcn.0041202b
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
xor ebp, ebp
push ebp
push esi
push eax
call edi
test eax, eax
lea ecx, [esp + 0x1c]
sete byte [esp + 0x13]
call fcn.00411e89
lea ecx, [esp + 0x2c]
mov byte [esp + 0x280], bl
call fcn.00411e89
mov al, byte [esp + 0x13]
test al, al
je 0x40244e
push 0x41c130
lea ecx, [esp + 0x2c]
call fcn.00411ef7
mov esi, eax
push 0x41c118
lea ecx, [esp + 0x34]
mov byte [esp + 0x284], 4
call fcn.00411ef7
lea ecx, [esp + 0x14]
lea edx, [esp + 0x34]
push ecx
push eax
push edx
mov byte [esp + 0x28c], 5
call fcn.0041202b
lea ecx, [esp + 0x18]
lea edx, [esp + 0x38]
push ecx
push eax
push edx
mov byte [esp + 0x28c], 6
call fcn.0041202b
push esi
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x288], 7
push eax
call fcn.0041202b
lea ecx, [esp + 0x20]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x28c], 8
call fcn.0041202b
lea ecx, [esp + 0x18]
lea edx, [esp + 0x2c]
push ecx
push eax
push edx
mov byte [esp + 0x28c], 9
call fcn.0041202b
mov eax, dword [eax]
push ebp
push ebp
push eax
mov byte [esp + 0x28c], 0xa
call fcn.004136d9
lea ecx, [esp + 0x2c]
mov byte [esp + 0x280], 9
call fcn.00411e89
lea ecx, [esp + 0x1c]
mov byte [esp + 0x280], 8
call fcn.00411e89
lea ecx, [esp + 0x24]
mov byte [esp + 0x280], 7
call fcn.00411e89
lea ecx, [esp + 0x38]
mov byte [esp + 0x280], 6
call fcn.00411e89
lea ecx, [esp + 0x34]
mov byte [esp + 0x280], 5
call fcn.00411e89
lea ecx, [esp + 0x30]
mov byte [esp + 0x280], 4
call fcn.00411e89
lea ecx, [esp + 0x28]
mov byte [esp + 0x280], bl
call fcn.00411e89
mov dword [esp + 0x24], ebp
push 0x41c13c
lea ecx, [esp + 0x1c]
call fcn.00411fc6
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.0041202b
mov esi, dword [eax]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
mov byte [esp + 0x28c], 0xb
call fcn.0041202b
mov eax, dword [eax]
push ebp
push esi
push eax
call edi
test eax, eax
lea ecx, [esp + 0x28]
sete byte [esp + 0x13]
call fcn.00411e89
lea ecx, [esp + 0x30]
mov byte [esp + 0x280], bl
call fcn.00411e89
mov al, byte [esp + 0x13]
test al, al
je 0x4025e7
push 0x41c130
lea ecx, [esp + 0x58]
call fcn.00411ef7
mov esi, eax
push 0x41c118
lea ecx, [esp + 0x20]
mov byte [esp + 0x284], 0xc
call fcn.00411ef7
lea ecx, [esp + 0x14]
lea edx, [esp + 0x2c]
push ecx
push eax
push edx
mov byte [esp + 0x28c], 0xd
call fcn.0041202b
lea ecx, [esp + 0x18]
lea edx, [esp + 0x38]
push ecx
push eax
push edx
mov byte [esp + 0x28c], 0xe
call fcn.0041202b
push esi
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x288], 0xf
push eax
call fcn.0041202b
lea ecx, [esp + 0x20]
lea edx, [esp + 0x30]
push ecx
push eax
push edx
mov byte [esp + 0x28c], 0x10
call fcn.0041202b
lea ecx, [esp + 0x18]
lea edx, [esp + 0x28]
push ecx
push eax
push edx
mov byte [esp + 0x28c], 0x11
call fcn.0041202b
mov eax, dword [eax]
push ebp
push ebp
push eax
mov byte [esp + 0x28c], 0x12
call fcn.004136d9
lea ecx, [esp + 0x28]
mov byte [esp + 0x280], 0x11
call fcn.00411e89
lea ecx, [esp + 0x30]
mov byte [esp + 0x280], 0x10
call fcn.00411e89
lea ecx, [esp + 0x34]
mov byte [esp + 0x280], 0xf
call fcn.00411e89
lea ecx, [esp + 0x38]
mov byte [esp + 0x280], 0xe
call fcn.00411e89
lea ecx, [esp + 0x2c]
mov byte [esp + 0x280], 0xd
call fcn.00411e89
lea ecx, [esp + 0x1c]
mov byte [esp + 0x280], 0xc
call fcn.00411e89
lea ecx, [esp + 0x54]
mov byte [esp + 0x280], bl
call fcn.00411e89
mov dword [esp + 0x24], ebp
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x3c]
push eax
call fcn.00402730
lea ecx, [esp + 0x3c]
push ecx
call fcn.00401e20
lea edx, [esp + 0x48]
push edx
call fcn.00401e20
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x280], 1
call fcn.00411e89
lea ecx, [esp + 0x20]
mov byte [esp + 0x280], 0
call fcn.00411e89
lea ecx, [esp + 0x14]
mov dword [esp + 0x280], 0xffffffff
call fcn.00411e89
mov ecx, dword [esp + 0x278]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x274
ret