Function at 0x41949c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x4194a4
push ecx
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x419a70
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x40], 0xb
mov eax, 0x419a8c
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea edx, [ebp - 0x44]
mov ecx, 1
mov eax, 0x419aa4
call fcn.0040b1fc
mov eax, dword [ebp - 4]
call fcn.0040a810
test al, al
je 0x41995a
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4168cc]
call fcn.00416984
mov dword [ebp - 0x30], eax
xor eax, eax
push ebp
push 0x419953
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x419ab4
mov edx, 0x419ac8
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax]
call dword [ebx]
cmp dword [ebp - 0x10], 0
jne 0x419542
call fcn.004043dc
jmp 0x41995a
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x10]
call fcn.0040e82c
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00409fc8
mov eax, dword [ebp - 0x48]
push eax
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x2c]
call fcn.00409fc8
mov eax, dword [ebp - 0x50]
pop edx
call fcn.00404e14
test eax, eax
jle 0x41993d
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x40], 0xb
mov eax, 0x419adc
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea edx, [ebp - 0x44]
mov eax, 0x419aa4
mov ecx, 1
call fcn.0040b1fc
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x40], 0xb
mov eax, 0x419af4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea edx, [ebp - 0x44]
mov eax, 0x419aa4
mov ecx, 1
call fcn.0040b1fc
mov eax, dword [ebp - 8]
call fcn.0040a810
test al, al
jne 0x4195e0
call fcn.004043dc
jmp 0x41995a
lea ecx, [ebp - 0x1c]
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00419144
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x419b08
mov edx, 0x419b1c
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
lea ecx, [ebp - 0x18]
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.00419144
cmp dword [ebp - 0x18], 0
je 0x41993d
lea eax, [ebp - 0x20]
push eax
mov edx, 0x419b1c
mov ecx, 0x419b08
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0xc0]
dec eax
test eax, eax
jl 0x4198fd
inc eax
mov dword [ebp - 0x34], eax
xor ebx, ebx
lea ecx, [ebp - 0x54]
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc4]
mov eax, dword [ebp - 0x54]
mov edx, 0x419b30
mov ecx, dword [eax]
call dword [ecx + 0x8c]
test al, al
jne 0x4198f3
movzx eax, byte [0x419b3c]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x5c]
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc4]
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x58]
mov edx, 0x419b48
mov edi, dword [eax]
call dword [edi + 0x6c]
mov eax, dword [ebp - 0x58]
mov ecx, esi
mov edx, dword [ebp - 0x2c]
call fcn.0040eeac
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x14]
call fcn.0040aadc
mov eax, dword [ebp - 0x60]
call fcn.0040a87c
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404d74
push eax
lea ecx, [ebp - 0x68]
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc4]
mov eax, dword [ebp - 0x68]
mov edx, 0x419b48
lea ecx, [ebp - 0x64]
mov edi, dword [eax]
call dword [edi + 0x6c]
mov eax, dword [ebp - 0x64]
call fcn.00404d74
push eax
call sub.kernel32.dll_CopyFileA
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x20]
lea ecx, [ebp - 0x70]
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc4]
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x6c]
mov edx, 0x419b5c
mov edi, dword [eax]
call dword [edi + 0x6c]
mov ecx, dword [ebp - 0x6c]
mov edx, 0x419b5c
mov eax, dword [ebp - 0x28]
mov edi, dword [eax]
call dword [edi + 0x70]
mov edx, 0x419b48
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov edi, dword [eax]
call dword [edi + 0x70]
movzx eax, byte [0x419b3c]
push eax
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x7c]
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc4]
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x78]
mov edx, 0x419b70
mov edi, dword [eax]
call dword [edi + 0x6c]
mov eax, dword [ebp - 0x78]
mov ecx, esi
mov edx, dword [ebp - 0x2c]
call fcn.0040eeac
mov ecx, dword [ebp - 0x74]
mov edx, 0x419b70
mov eax, dword [ebp - 0x28]
mov edi, dword [eax]
call dword [edi + 0x70]
lea ecx, [ebp - 0x80]
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc4]
mov eax, dword [ebp - 0x80]
mov edx, 0x419b80
mov ecx, dword [eax]
call dword [ecx + 0x94]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov edx, 0x419b80
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x98]
lea ecx, [ebp - 0x88]
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc4]
mov eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x84]
mov edx, 0x419b90
mov edi, dword [eax]
call dword [edi + 0x6c]
mov ecx, dword [ebp - 0x84]
mov edx, 0x419b90
mov eax, dword [ebp - 0x28]
mov edi, dword [eax]
call dword [edi + 0x70]
lea ecx, [ebp - 0x8c]
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc4]
mov eax, dword [ebp - 0x8c]
mov edx, 0x419ba4
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov ecx, eax
mov edx, 0x419ba4
mov eax, dword [ebp - 0x28]
mov edi, dword [eax]
call dword [edi + 0x90]
lea ecx, [ebp - 0x94]
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc4]
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
mov edx, 0x419bb8
mov edi, dword [eax]
call dword [edi + 0x6c]
mov ecx, dword [ebp - 0x90]
mov edx, 0x419bb8
mov eax, dword [ebp - 0x28]
mov edi, dword [eax]
call dword [edi + 0x70]
lea ecx, [ebp - 0x9c]
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc4]
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0x98]
mov edx, 0x419bc8
mov edi, dword [eax]
call dword [edi + 0x6c]
mov ecx, dword [ebp - 0x98]
mov edx, 0x419bc8
mov eax, dword [ebp - 0x28]
mov edi, dword [eax]
call dword [edi + 0x70]
lea ecx, [ebp - 0xa0]
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc4]
mov eax, dword [ebp - 0xa0]
push eax
mov edx, 0x419b30
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x8c]
push eax
mov edx, 0x419b30
mov eax, dword [ebp - 0x28]
pop ecx
mov edi, dword [eax]
call dword [edi + 0x90]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
inc ebx
dec dword [ebp - 0x34]
jne 0x41964a
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
call fcn.004191dc
movzx eax, byte [0x419b3c]
push eax
lea eax, [ebp - 0xa4]
push eax
mov ecx, esi
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
call fcn.0040eeac
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, 0x419ab4
mov edx, 0x419ac8
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax]
call dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41995a
lea eax, [ebp - 0x30]
call fcn.0040f744
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419a7a
lea eax, [ebp - 0xa4]
call fcn.00404908
lea eax, [ebp - 0xa0]
mov edx, dword [0x4179b0]
mov ecx, 2
call fcn.0040538c
lea eax, [ebp - 0x98]
call fcn.00404908
lea eax, [ebp - 0x94]
call fcn.004061bc
lea eax, [ebp - 0x90]
call fcn.00404908
lea eax, [ebp - 0x8c]
mov edx, dword [0x4179b0]
mov ecx, 2
call fcn.0040538c
lea eax, [ebp - 0x84]
call fcn.00404908
lea eax, [ebp - 0x80]
mov edx, dword [0x4179b0]
mov ecx, 2
call fcn.0040538c
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.0040492c
lea eax, [ebp - 0x70]
call fcn.004061bc
lea eax, [ebp - 0x6c]
call fcn.00404908
lea eax, [ebp - 0x68]
call fcn.004061bc
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.0040492c
lea eax, [ebp - 0x5c]
call fcn.004061bc
lea eax, [ebp - 0x58]
call fcn.00404908
lea eax, [ebp - 0x54]
call fcn.004061bc
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.0040492c
lea eax, [ebp - 0x28]
call fcn.004061bc
lea eax, [ebp - 0x24]
mov edx, dword [0x417978]
mov ecx, 2
call fcn.0040538c
lea eax, [ebp - 0x1c]
mov edx, dword [0x417940]
mov ecx, 2
call fcn.0040538c
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.0040492c
ret