Function at 0x41bc48
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff58
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xa0], eax
mov eax, 0x4e88fc
call fcn.004c0e00
mov dword [ebp - 0x80], 2
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.004de4a0
inc dword [ebp - 0x80]
mov word [ebp - 0x8c], 8
lea edx, [ebp - 8]
lea eax, [ebp - 8]
call fcn.004de4a0
inc dword [ebp - 0x80]
mov byte [ebp - 0xa1], 0
mov byte [ebp - 0xa2], 0
call sub.KERNEL32.DLL_GetVersion
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x80000000
jae 0x41bcc1
mov byte [ebp - 0xa3], 1
jmp 0x41bcc8
mov byte [ebp - 0xa3], 0
mov word [ebp - 0x8c], 0x14
lea eax, [ebp - 0xc]
call fcn.00402870
inc dword [ebp - 0x80]
mov word [ebp - 0x8c], 8
mov word [ebp - 0x8c], 0x20
lea eax, [ebp - 0x10]
call fcn.00402870
inc dword [ebp - 0x80]
mov word [ebp - 0x8c], 8
lea eax, [ebp - 0xc]
mov edx, 0x104
call fcn.004de810
lea eax, [ebp - 0xc]
call fcn.00405618
push eax
lea eax, [ebp - 0xc]
call fcn.0040c478
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.004de810
mov word [ebp - 0x8c], 0x2c
mov edx, str.wbpy
lea eax, [ebp - 0x14]
call fcn.004de468
inc dword [ebp - 0x80]
lea edx, [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.004de6e8
push eax
dec dword [ebp - 0x80]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004de604
pop ecx
test cl, cl
je 0x41bddf
cmp byte [ebp - 0xa3], 0
je 0x41bda9
mov word [ebp - 0x8c], 0x38
mov edx, 0x4e207f
lea eax, [ebp - 0x18]
call fcn.004de468
inc dword [ebp - 0x80]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x10]
call fcn.004de634
dec dword [ebp - 0x80]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004de604
jmp 0x41be13
mov word [ebp - 0x8c], 0x44
mov edx, 0x4e2082
lea eax, [ebp - 0x1c]
call fcn.004de468
inc dword [ebp - 0x80]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x10]
call fcn.004de634
dec dword [ebp - 0x80]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004de604
jmp 0x41be13
mov word [ebp - 0x8c], 0x50
mov edx, 0x4e2085
lea eax, [ebp - 0x20]
call fcn.004de468
inc dword [ebp - 0x80]
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x10]
call fcn.004de634
dec dword [ebp - 0x80]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004de604
push 0
mov word [ebp - 0x8c], 0x5c
lea eax, [ebp - 0x28]
call fcn.00402870
push eax
inc dword [ebp - 0x80]
mov edx, 0x4e208b
lea eax, [ebp - 0x24]
call fcn.004de468
inc dword [ebp - 0x80]
lea edx, [ebp - 0x24]
lea eax, [ebp - 0xc]
pop ecx
call fcn.004de65c
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x2c]
call fcn.00402870
mov ecx, eax
inc dword [ebp - 0x80]
lea edx, [ebp - 4]
pop eax
call fcn.004de65c
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x34]
call fcn.00402870
push eax
inc dword [ebp - 0x80]
mov edx, 0x4e208d
lea eax, [ebp - 0x30]
call fcn.004de468
inc dword [ebp - 0x80]
lea edx, [ebp - 0x30]
pop ecx
pop eax
call fcn.004de65c
lea eax, [ebp - 0x34]
call fcn.0040c478
push eax
lea eax, [ebp - 0x38]
call fcn.00402870
mov ecx, eax
inc dword [ebp - 0x80]
lea edx, [ebp - 4]
mov eax, dword [ebp - 0xa0]
add eax, 0x3e478
call fcn.004de65c
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x3c]
call fcn.00402870
mov ecx, eax
inc dword [ebp - 0x80]
lea edx, [ebp - 0x10]
pop eax
call fcn.004de65c
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x44]
call fcn.00402870
push eax
inc dword [ebp - 0x80]
mov edx, 0x4e2086
lea eax, [ebp - 0x40]
call fcn.004de468
inc dword [ebp - 0x80]
lea edx, [ebp - 0x40]
pop ecx
pop eax
call fcn.004de65c
lea eax, [ebp - 0x44]
call fcn.0040c478
push eax
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
setne dl
and edx, 1
mov byte [ebp - 0xa1], dl
dec dword [ebp - 0x80]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004de604
dec dword [ebp - 0x80]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004de604
dec dword [ebp - 0x80]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004de604
dec dword [ebp - 0x80]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004de604
dec dword [ebp - 0x80]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004de604
dec dword [ebp - 0x80]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004de604
dec dword [ebp - 0x80]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004de604
dec dword [ebp - 0x80]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004de604
dec dword [ebp - 0x80]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004de604
push 0
mov word [ebp - 0x8c], 0x68
lea eax, [ebp - 0x4c]
call fcn.00402870
push eax
inc dword [ebp - 0x80]
mov edx, 0x4e2096
lea eax, [ebp - 0x48]
call fcn.004de468
inc dword [ebp - 0x80]
lea edx, [ebp - 0x48]
lea eax, [ebp - 0xc]
pop ecx
call fcn.004de65c
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x50]
call fcn.00402870
mov ecx, eax
inc dword [ebp - 0x80]
lea edx, [ebp - 4]
pop eax
call fcn.004de65c
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x58]
call fcn.00402870
push eax
inc dword [ebp - 0x80]
mov edx, 0x4e2098
lea eax, [ebp - 0x54]
call fcn.004de468
inc dword [ebp - 0x80]
lea edx, [ebp - 0x54]
pop ecx
pop eax
call fcn.004de65c
lea eax, [ebp - 0x58]
call fcn.0040c478
push eax
lea eax, [ebp - 0x5c]
call fcn.00402870
mov ecx, eax
inc dword [ebp - 0x80]
lea edx, [ebp - 4]
mov eax, dword [ebp - 0xa0]
add eax, 0x3e478
call fcn.004de65c
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x64]
call fcn.00402870
push eax
inc dword [ebp - 0x80]
mov edx, 0x4e2092
lea eax, [ebp - 0x60]
call fcn.004de468
inc dword [ebp - 0x80]
lea edx, [ebp - 0x60]
pop ecx
pop eax
call fcn.004de65c
lea eax, [ebp - 0x64]
call fcn.0040c478
push eax
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
setne dl
and edx, 1
mov byte [ebp - 0xa2], dl
dec dword [ebp - 0x80]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.004de604
dec dword [ebp - 0x80]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004de604
dec dword [ebp - 0x80]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004de604
dec dword [ebp - 0x80]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004de604
dec dword [ebp - 0x80]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004de604
dec dword [ebp - 0x80]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004de604
dec dword [ebp - 0x80]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004de604
dec dword [ebp - 0x80]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004de604
lea eax, [ebp - 8]
call fcn.0040c478
push eax
mov word [ebp - 0x8c], 0x74
lea eax, [ebp - 0x6c]
call fcn.00402870
push eax
inc dword [ebp - 0x80]
mov edx, 0x4e209c
lea eax, [ebp - 0x68]
call fcn.004de468
inc dword [ebp - 0x80]
lea edx, [ebp - 0x68]
lea eax, [ebp - 0xc]
pop ecx
call fcn.004de65c
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x70]
call fcn.00402870
mov ecx, eax
inc dword [ebp - 0x80]
lea edx, [ebp - 4]
pop eax
call fcn.004de65c
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x78]
call fcn.00402870
push eax
inc dword [ebp - 0x80]
mov edx, str..ime
lea eax, [ebp - 0x74]
call fcn.004de468
inc dword [ebp - 0x80]
lea edx, [ebp - 0x74]
pop ecx
pop eax
call fcn.004de65c
lea eax, [ebp - 0x78]
call fcn.0040c478
push eax
call sub.IMM32.DLL_ImmInstallIMEA
dec dword [ebp - 0x80]
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.004de604
dec dword [ebp - 0x80]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004de604
dec dword [ebp - 0x80]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.004de604
dec dword [ebp - 0x80]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.004de604
dec dword [ebp - 0x80]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.004de604
cmp byte [ebp - 0xa1], 0
je 0x41c1f7
cmp byte [ebp - 0xa2], 0
jne 0x41c1fb
xor eax, eax
jmp 0x41c200
mov eax, 1
push eax
dec dword [ebp - 0x80]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004de604
dec dword [ebp - 0x80]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004de604
dec dword [ebp - 0x80]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004de604
dec dword [ebp - 0x80]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004de604
pop eax
mov edx, dword [ebp - 0x9c]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret