Function at 0x10019260
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e8d7
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x100871e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x19c], ecx
push 1
push 0
push str.0PA_
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [ebp + 8]
call fcn.100091a0
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
sub eax, 1
mov dword [ebp - 0x20], eax
jmp 0x100192c2
mov ecx, dword [ebp - 0x20]
sub ecx, 1
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
jl 0x10019949
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.10009af0
mov dword [ebp - 4], 0
push 0
push 0x1007c9f0
lea ecx, [ebp - 0x28]
call fcn.100065f0
cmp eax, 1
jne 0x10019300
mov dword [ebp - 0x3c], 0x26
jmp 0x10019340
push 0
push 0x1007c9f4
lea ecx, [ebp - 0x28]
call fcn.100065f0
cmp eax, 1
jne 0x1001931d
mov dword [ebp - 0x3c], 0x23
jmp 0x10019340
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
sub ecx, 0x10
mov dword [ebp - 0x188], ecx
mov ecx, dword [ebp - 0x188]
call fcn.10003fb0
jmp 0x100192b9
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x8c]
push edx
push ecx
mov eax, esp
mov dword [ebp - 0x1a8], esp
push 0xa
push 3
push eax
lea ecx, [ebp - 0x28]
call fcn.10006710
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x208], ecx
mov byte [ebp - 4], 2
push ecx
mov edx, esp
mov dword [ebp - 0x1e4], esp
mov eax, dword [ebp - 0x3c]
push eax
push edx
call fcn.10033f70
add esp, 8
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 4], 1
call fcn.10031060
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x80], ecx
cmp dword [ebp - 0x80], 0
jne 0x100193f6
push ecx
mov edx, esp
mov dword [ebp - 0x20c], esp
mov eax, dword [ebp - 0x20]
push eax
push edx
mov ecx, dword [ebp + 8]
call fcn.10009d60
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp + 8]
call fcn.10009b80
mov dword [ebp - 0x50], 0
jmp 0x10019408
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
cmp edx, dword [ebp - 0x80]
jae 0x10019917
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x134]
push ecx
call fcn.10033f70
add esp, 8
mov dword [ebp - 0x180], eax
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0xa4], edx
mov byte [ebp - 4], 3
push 0x1007c9fc
mov eax, dword [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x130]
push ecx
call fcn.1000a100
add esp, 0xc
mov dword [ebp - 0x160], eax
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0xac], edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call fcn.1001a680
push eax
mov eax, dword [ebp - 0xac]
push eax
lea ecx, [ebp - 0x168]
push ecx
call fcn.10006820
add esp, 0xc
mov dword [ebp - 0x1a0], eax
mov edx, dword [ebp - 0x1a0]
mov dword [ebp - 0xb4], edx
mov byte [ebp - 4], 5
push 0x1007c9f8
mov eax, dword [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.1000a100
add esp, 0xc
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x168]
sub edx, 0x10
mov dword [ebp - 0xbc], edx
mov ecx, dword [ebp - 0xbc]
call fcn.10003fb0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x130]
sub eax, 0x10
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
call fcn.10003fb0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x134]
sub ecx, 0x10
mov dword [ebp - 0xcc], ecx
mov ecx, dword [ebp - 0xcc]
call fcn.10003fb0
lea ecx, [ebp - 0x8c]
call fcn.1001a6d0
push ecx
mov edx, esp
mov dword [ebp - 0x1ec], esp
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x14]
sub eax, 0x10
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
push ecx
call fcn.10007f90
add esp, 4
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp - 0xd4]
add edx, 0x10
mov eax, dword [ebp - 0x60]
mov dword [eax], edx
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x1c4], ecx
call fcn.10034440
add esp, 4
mov byte [ebp - 0x1a], al
movzx edx, byte [ebp - 0x1a]
test edx, edx
je 0x1001960e
push ecx
mov eax, esp
mov dword [ebp - 0x204], esp
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 0x10
mov dword [ebp - 0x144], ecx
mov edx, dword [ebp - 0x144]
push edx
call fcn.10007f90
add esp, 4
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
add eax, 0x10
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x1cc], edx
call fcn.100340f0
add esp, 4
push ecx
mov eax, esp
mov dword [ebp - 0x1f4], esp
mov ecx, dword [ebp - 0x20]
push ecx
push eax
mov ecx, dword [ebp + 8]
call fcn.10009d60
mov dword [ebp - 0x1d4], eax
mov ecx, dword [ebp + 8]
call fcn.10009b80
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
sub edx, 0x10
mov dword [ebp - 0x14c], edx
mov ecx, dword [ebp - 0x14c]
call fcn.10003fb0
jmp 0x100193ff
push 0x3385
mov ecx, dword [0x1008954c]
call fcn.1002ab40
push ecx
mov ecx, esp
mov dword [ebp - 0x210], esp
push eax
call fcn.100064a0
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x1dc], eax
mov byte [ebp - 4], 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0x1fc], esp
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x14]
sub edx, 0x10
mov dword [ebp - 0x154], edx
mov eax, dword [ebp - 0x154]
push eax
call fcn.10007f90
add esp, 4
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
add ecx, 0x10
mov edx, dword [ebp - 0x68]
mov dword [edx], ecx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x1ac], eax
lea ecx, [ebp - 0x30]
push ecx
mov byte [ebp - 4], 9
call fcn.10031280
add esp, 0xc
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x30]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jne 0x100196f1
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x30]
sub ecx, 0x10
mov dword [ebp - 0xf4], ecx
mov ecx, dword [ebp - 0xf4]
call fcn.10003fb0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
sub edx, 0x10
mov dword [ebp - 0x164], edx
mov ecx, dword [ebp - 0x164]
call fcn.10003fb0
jmp 0x100193ff
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.10006820
add esp, 0xc
mov byte [ebp - 4], 0xc
push 0x13c
call fcn.100422c2
add esp, 4
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x78], 0
je 0x10019730
mov ecx, dword [ebp - 0x78]
call fcn.10012ab0
mov dword [ebp - 0x70], eax
jmp 0x10019737
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
push edx
lea ecx, [ebp - 0x328]
call fcn.1001b3a0
mov byte [ebp - 4], 0xe
push 0
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push ecx
mov eax, esp
mov dword [ebp - 0x1b8], esp
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x40]
sub ecx, 0x10
mov dword [ebp - 0x16c], ecx
mov edx, dword [ebp - 0x16c]
push edx
call fcn.10007f90
add esp, 4
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
add eax, 0x10
mov ecx, dword [ebp - 0x5c]
mov dword [ecx], eax
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x1c0], edx
lea ecx, [ebp - 0x328]
call fcn.1001ef50
mov byte [ebp - 0x19], al
mov al, byte [ebp - 0x19]
mov byte [ebp - 0x17], al
push 0
push 0
call dword [sym.imp.USER32.dll_GetWindow]
movzx ecx, byte [ebp - 0x17]
test ecx, ecx
jne 0x10019888
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x174], edx
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x10019817
mov ecx, dword [ebp - 0x34]
call fcn.10013040
mov ecx, 1
and ecx, 1
je 0x1001980c
mov edx, dword [ebp - 0x34]
push edx
call fcn.100422ae
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10c], eax
jmp 0x10019821
mov dword [ebp - 0x10c], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x328]
call fcn.10019db0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x40]
sub ecx, 0x10
mov dword [ebp - 0x17c], ecx
mov ecx, dword [ebp - 0x17c]
call fcn.10003fb0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x30]
sub edx, 0x10
mov dword [ebp - 0x90], edx
mov ecx, dword [ebp - 0x90]
call fcn.10003fb0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
sub eax, 0x10
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x184]
call fcn.10003fb0
jmp 0x100193ff
lea ecx, [ebp - 0x1c8]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.1001a7e0
mov edx, dword [eax]
mov dword [ebp - 0x11c], edx
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.1001ac00
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x328]
call fcn.10019db0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x40]
sub edx, 0x10
mov dword [ebp - 0x18c], edx
mov ecx, dword [ebp - 0x18c]
call fcn.10003fb0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x30]
sub eax, 0x10
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
call fcn.10003fb0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
sub ecx, 0x10
mov dword [ebp - 0x194], ecx
mov ecx, dword [ebp - 0x194]
call fcn.10003fb0
jmp 0x100193ff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.1001a880
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x28]
sub edx, 0x10
mov dword [ebp - 0x12c], edx
mov ecx, dword [ebp - 0x12c]
call fcn.10003fb0
jmp 0x100192b9
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x19c]
mov ecx, dword [ecx]
call fcn.10014320
mov dword [ebp - 4], 0xf
mov byte [ebp - 0xd], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x1a4], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x44]
call fcn.1001ab80
jmp 0x1001998f
lea ecx, [ebp - 0x44]
call fcn.1001a980
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x138], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x170]
call fcn.1001ab80
lea edx, [ebp - 0x170]
push edx
lea ecx, [ebp - 0x44]
call fcn.1001a9a0
movzx eax, al
test eax, eax
jne 0x100199cf
mov dword [ebp - 0x64], 1
jmp 0x100199d6
mov dword [ebp - 0x64], 0
movzx ecx, byte [ebp - 0x64]
test ecx, ecx
je 0x10019a7e
mov edx, dword [ebp - 0x44]
add edx, 8
mov dword [ebp - 0x140], edx
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x140]
mov ecx, dword [ecx]
call fcn.10014320
mov dword [ebp - 0x198], eax
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x148], edx
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax]
mov dword [ebp - 0x178], ecx
mov edx, dword [ebp - 0x178]
push edx
lea ecx, [ebp - 0x24]
call fcn.10009f90
test eax, eax
jne 0x10019a42
mov dword [ebp - 0x6c], 1
jmp 0x10019a49
mov dword [ebp - 0x6c], 0
mov al, byte [ebp - 0x6c]
mov byte [ebp - 0x15], al
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x150]
sub ecx, 0x10
mov dword [ebp - 0x190], ecx
mov ecx, dword [ebp - 0x190]
call fcn.10003fb0
movzx edx, byte [ebp - 0x15]
test edx, edx
je 0x10019a79
mov byte [ebp - 0xd], 1
jmp 0x10019987
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x10019d68
push 0x3385
mov ecx, dword [0x1008954c]
call fcn.1002ab40
push ecx
mov ecx, esp
mov dword [ebp - 0x1d0], esp
push eax
call fcn.100064a0
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x1d8], ecx
mov byte [ebp - 4], 0x11
push ecx
mov ecx, esp
mov dword [ebp - 0x1e0], esp
lea edx, [ebp - 0x24]
push edx
call fcn.100080b0
mov dword [ebp - 0x1e8], eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0xf
call fcn.10031280
add esp, 0xc
mov dword [ebp - 0x1f0], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x98], edx
cmp dword [ebp - 0x98], 0
jne 0x10019b56
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xb0], ecx
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x2c]
sub edx, 0x10
mov dword [ebp - 0xa0], edx
mov ecx, dword [ebp - 0xa0]
call fcn.10003fb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
sub eax, 0x10
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
call fcn.10003fb0
mov eax, dword [ebp - 0xb0]
jmp 0x10019d98
push 0x1007ca00
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0xc8]
push edx
call fcn.1000a100
add esp, 0xc
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0xc0]
push edx
lea eax, [ebp - 0x54]
push eax
call fcn.10006820
add esp, 0xc
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0xc8]
sub ecx, 0x10
mov dword [ebp - 0xd0], ecx
mov ecx, dword [ebp - 0xd0]
call fcn.10003fb0
push 0x13c
call fcn.100422c2
add esp, 4
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x74], 0
je 0x10019be0
mov ecx, dword [ebp - 0x74]
call fcn.10012ab0
mov dword [ebp - 0x7c], eax
jmp 0x10019be7
mov dword [ebp - 0x7c], 0
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0xd8], edx
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x440]
call fcn.1001b3a0
mov byte [ebp - 4], 0x17
push 0
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push ecx
mov ecx, esp
mov dword [ebp - 0x1f8], esp
lea edx, [ebp - 0x54]
push edx
call fcn.100080b0
mov dword [ebp - 0x200], eax
lea ecx, [ebp - 0x440]
call fcn.1001ef50
mov byte [ebp - 0x16], al
mov al, byte [ebp - 0x16]
mov byte [ebp - 0x18], al
movzx ecx, byte [ebp - 0x18]
test ecx, ecx
jne 0x10019d17
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x10019c91
mov ecx, dword [ebp - 0x38]
call fcn.10013040
mov ecx, 1
and ecx, 1
je 0x10019c86
mov edx, dword [ebp - 0x38]
push edx
call fcn.100422ae
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xe8], eax
jmp 0x10019c9b
mov dword [ebp - 0xe8], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x108], edx
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x440]
call fcn.10019db0
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x54]
sub eax, 0x10
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
call fcn.10003fb0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x2c]
sub ecx, 0x10
mov dword [ebp - 0xf8], ecx
mov ecx, dword [ebp - 0xf8]
call fcn.10003fb0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x24]
sub edx, 0x10
mov dword [ebp - 0x100], edx
mov ecx, dword [ebp - 0x100]
call fcn.10003fb0
mov eax, dword [ebp - 0x108]
jmp 0x10019d98
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.1001a5f0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x440]
call fcn.10019db0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x54]
sub ecx, 0x10
mov dword [ebp - 0x110], ecx
mov ecx, dword [ebp - 0x110]
call fcn.10003fb0
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x2c]
sub edx, 0x10
mov dword [ebp - 0x118], edx
mov ecx, dword [ebp - 0x118]
call fcn.10003fb0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x128], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x24]
sub edx, 0x10
mov dword [ebp - 0x120], edx
mov ecx, dword [ebp - 0x120]
call fcn.10003fb0
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8