Function at 0x100193c2
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x6c
call fcn.1002748d
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x1b
rep stosd dword es:[edi], eax
add ebx, 0x68
push ebx
push 0x88
call fcn.1002748d
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x1002c2e8
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x20
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
push 8
call fcn.1002748d
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x1002c201
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0
push 0
push 0
push 0
push 1
mov ebx, 0x264
call fcn.100294c0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001947d
push ebx
call fcn.10027487
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], esp
push 0
push dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x100194b7
push 0x2e
push 0x40128ec
push 6
call fcn.10027499
add esp, 0xc
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x100194ca
mov eax, 0x1002c200
push eax
push 1
mov ebx, 0x268
call fcn.10028d40
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100194f4
push ebx
call fcn.10027487
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000005
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1001950b
mov eax, 0x1002c201
push eax
push 1
mov ebx, 0x194
call fcn.10028000
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x40
jge 0x1001956e
push 0x80000004
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x10019540
mov eax, 0x1002c200
push eax
push 1
mov ebx, 0x268
call fcn.10028d40
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001956a
push ebx
call fcn.10027487
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.1000241a
mov dword [ebp - 0xc], eax
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1001958d
mov eax, 0x1002c200
push eax
push 1
mov ebx, 0x244
call fcn.10028e50
add esp, 0x10
push 1
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
call fcn.10006495
test eax, eax
je 0x100195d6
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp word [ebx], 0x10b
jne 0x100195d6
mov eax, 1
jmp 0x100195db
mov eax, 0
test eax, eax
je 0x10019832
mov ebx, dword [ebp - 0x10]
add ebx, 0x3c
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], esp
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push 8
push dword [0x1002d471]
call dword [0x1002d541]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x10019625
push 0x249
push 0x40128ec
push 6
call fcn.10027499
add esp, 0xc
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0x40
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push dword [ebp - 0xc]
push dword [ebp - 0x14]
call fcn.10007b67
push 8
call fcn.1002748d
add esp, 4
mov dword [ebp - 0x20], eax
mov edi, eax
mov esi, 0x1002c201
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0xc]
call fcn.10008edd
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
push ebx
call fcn.10027487
add esp, 4
mov eax, dword [ebp - 0x24]
xor ecx, ecx
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x10019822
mov ebx, dword [ebp - 0x18]
call fcn.10001000
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x100196be
push 0x334
push 0x40128ec
push 4
call fcn.10027499
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x100196db
push 0x334
push 0x40128ec
push 1
call fcn.10027499
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push dword [ebp - 0x14]
call fcn.10001b27
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x18]
call fcn.10001000
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x1001974f
push 0x365
push 0x40128ec
push 4
call fcn.10027499
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1001976c
push 0x365
push 0x40128ec
push 1
call fcn.10027499
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov ebx, dword [ebp - 0x38]
push dword [ebx]
push dword [ebp - 0xc]
call fcn.10001b27
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x18]
call fcn.10001000
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x100197e0
push 0x365
push 0x40128ec
push 4
call fcn.10027499
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x100197fd
push 0x365
push 0x40128ec
push 1
call fcn.10027499
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
push dword [ebx]
push dword [ebp - 0x4c]
push dword [ebp - 0x34]
call fcn.10007b67
pop eax
pop ebx
pop ecx
jmp 0x10019689
add esp, 0xc
push 1
push dword [ebp + 8]
push dword [ebp - 0x14]
call fcn.100094fb
mov eax, dword [ebp - 0x14]
jmp 0x1001983a
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001984b
push ebx
call fcn.10027487
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001985b
push ebx
call fcn.10027487
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 0x68
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.10027487
add esp, 4
pop ebx
call fcn.10027487
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10019895
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10019891
imul eax, dword [ebx]
jmp 0x10019886
mov ecx, eax
test ecx, ecx
je 0x100198bd
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.10027487
add esp, 4
pop ebx
call fcn.10027487
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1001989b
call fcn.10027487
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8