Function at 0x5fb2b0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x5fb2b8
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5fba1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x5fb93d
mov dl, 1
mov eax, dword [0x48fbf8]
call fcn.004b3160
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x50]
mov dword [eax + 0x40], ecx
mov ecx, dword [edx + 0x54]
mov dword [eax + 0x44], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x74], 1
mov eax, dword [ebp - 0x10]
push eax
push 0x5fa35c
mov eax, dword [ebp - 0x10]
call fcn.004c5cb8
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x54], 0
jne 0x5fb33f
cmp dword [eax + 0x50], 0x3b9aca00
jb 0x5fb3bd
jmp 0x5fb341
jl 0x5fb3bd
lea eax, [ebp - 0x20]
push eax
push 0
push 0x3b9aca00
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x54]
mov eax, dword [eax + 0x50]
call fcn.0040c63c
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
lea eax, [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0x10
push 0
push 0x989680
push 0
push 0x3b9aca00
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x54]
mov eax, dword [eax + 0x50]
call fcn.0040c71c
call fcn.0040c63c
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x10
lea edx, [ebp - 0x30]
mov ecx, 1
mov eax, 0x5fba38
call fcn.00424428
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
add eax, 0x58
call fcn.0040aec0
jmp 0x5fb437
lea eax, [ebp - 0x44]
push eax
push 0
push 0xf4240
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x54]
mov eax, dword [eax + 0x50]
call fcn.0040c63c
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
lea eax, [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0x10
push 0
push 0x2710
push 0
push 0xf4240
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x54]
mov eax, dword [eax + 0x50]
call fcn.0040c71c
call fcn.0040c63c
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x10
lea edx, [ebp - 0x30]
mov ecx, 1
mov eax, 0x5fba60
call fcn.00424428
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x10]
add eax, 0x58
call fcn.0040aec0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x58]
mov eax, dword [ebp - 0x10]
add eax, 0x48
mov edx, 0x5fba88
call fcn.0040b9e0
mov eax, dword [ebp - 0x10]
push eax
push 0x5fa314
mov eax, dword [ebp - 0x10]
call fcn.004c5cb8
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov eax, dword [0x6127f4]
cmp dword [eax], 0
je 0x5fb8a8
push 2
mov eax, dword [0x612bf4]
mov eax, dword [eax]
call fcn.0052e274
push eax
mov eax, dword [0x6127f4]
mov eax, dword [eax]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
jmp 0x5fb8a8
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
call fcn.0040b880
mov eax, dword [ebp - 0x48]
mov edx, 0x5fbaa8
call fcn.005d285c
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x50]
mov edx, 2
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x80]
lea eax, [ebp - 4]
call fcn.0040b9e0
lea ecx, [ebp - 0x58]
mov edx, 2
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.005fa290
mov edx, dword [ebp - 0x54]
mov eax, dword [0x612cec]
call fcn.0040aec0
mov eax, dword [0x612a28]
mov eax, dword [eax]
mov eax, dword [eax + 0x3b8]
mov dword [eax + 0xc], 0xfffffffc
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x60]
mov eax, dword [0x612a28]
mov eax, dword [eax]
mov eax, dword [eax + 0x3e0]
mov edx, 4
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [0x612cec]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0x11
lea edx, [ebp - 0x38]
xor ecx, ecx
pop eax
call fcn.0042d654
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x10]
add eax, 0x48
call fcn.0040aec0
mov eax, dword [ebp - 0x10]
push eax
push 0x5fa2fc
mov eax, dword [ebp - 0x10]
call fcn.004c5cb8
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x74], edx
lea ecx, [ebp - 0x64]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x64]
call fcn.004233c4
cdq
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], edx
mov eax, dword [ebp - 0x10]
push eax
push 0x5fa35c
mov eax, dword [ebp - 0x10]
call fcn.004c5cb8
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
call fcn.00423d80
mov eax, dword [ebp - 0x68]
mov dl, 1
call fcn.00423aa8
test al, al
jne 0x5fb5ed
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 4]
call fcn.00423d80
mov eax, dword [ebp - 0x6c]
call fcn.00423b88
push 1
mov eax, dword [ebp - 0x10]
push dword [eax + 0x78]
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x78]
mov edx, 2
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x78]
mov ecx, 0x5fbab8
mov edx, 0x5fbac8
call fcn.005d26e8
push dword [ebp - 0x74]
push 0x5fbad8
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.0040ba68
mov eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x7c]
mov ecx, 0x5fbad8
mov edx, dword [ebp - 4]
call fcn.0040b9e0
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x10]
pop edx
call fcn.005fa4b4
mov ebx, eax
test bl, bl
je 0x5fb853
xor eax, eax
push ebp
push 0x5fb801
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x68], 1
jne 0x5fb6f0
mov eax, dword [ebp - 0x10]
push dword [eax + 0x80]
push 0x5fbaf0
lea ecx, [ebp - 0x80]
mov edx, 2
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x80]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040ba68
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 8]
call fcn.00423d80
mov eax, dword [ebp - 0x84]
mov dl, 1
call fcn.00423aa8
test al, al
jne 0x5fb6d7
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 8]
call fcn.00423d80
mov eax, dword [ebp - 0x88]
call fcn.00423b88
push 0
mov eax, dword [ebp - 8]
call fcn.0040b774
push eax
mov eax, dword [ebp - 4]
call fcn.0040b774
push eax
call sub.kernel32.dll_CopyFileW
lea ecx, [ebp - 0x90]
mov edx, 2
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
call fcn.005fa290
mov edx, dword [ebp - 0x8c]
mov eax, dword [0x612cec]
call fcn.0040aec0
mov eax, dword [0x612a28]
mov eax, dword [eax]
mov eax, dword [eax + 0x3b8]
mov dword [eax + 0xc], 0xfffffffb
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x98]
mov eax, dword [0x612a28]
mov eax, dword [eax]
mov eax, dword [eax + 0x3e0]
mov edx, 5
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x98]
push eax
mov eax, dword [0x612cec]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0x11
lea edx, [ebp - 0x38]
xor ecx, ecx
pop eax
call fcn.0042d654
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x10]
add eax, 0x48
call fcn.0040aec0
mov eax, dword [ebp - 0x10]
push eax
push 0x5fa2fc
mov eax, dword [ebp - 0x10]
call fcn.004c5cb8
lea ecx, [ebp - 0xa0]
mov edx, 2
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x80]
lea eax, [ebp - 0x9c]
call fcn.0040b9e0
mov eax, dword [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa4]
mov ecx, 0x5fbad8
mov edx, dword [ebp - 4]
call fcn.0040b9e0
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x10]
pop ecx
call fcn.005fa918
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5fb89b
mov eax, dword [0x612a28]
mov eax, dword [eax]
mov eax, dword [eax + 0x3b8]
mov dword [eax + 0xc], 3
lea ecx, [ebp - 0xac]
mov eax, dword [0x612a28]
mov eax, dword [eax]
mov eax, dword [eax + 0x3e0]
mov edx, 3
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x10]
add eax, 0x48
call fcn.0040aec0
mov byte [ebp - 0x19], 1
jmp 0x5fb8c5
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x74], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x18]
jle 0x5fb8c5
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xe], 0
je 0x5fb4a3
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov eax, dword [ebp - 0x10]
push eax
push 0x5fa3b0
mov eax, dword [ebp - 0x10]
call fcn.004c5cb8
mov eax, dword [ebp - 0x14]
call fcn.00408e34
cmp byte [ebp - 0x19], 0
jne 0x5fb97f
mov eax, dword [0x612a28]
mov eax, dword [eax]
mov eax, dword [eax + 0x3b8]
mov dword [eax + 0xc], 6
lea ecx, [ebp - 0xb0]
mov eax, dword [0x612a28]
mov eax, dword [eax]
mov eax, dword [eax + 0x3e0]
mov edx, 6
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x10]
add eax, 0x48
call fcn.0040aec0
jmp 0x5fb97f
mov eax, dword [0x612a28]
mov eax, dword [eax]
mov eax, dword [eax + 0x3b8]
mov dword [eax + 0xc], 7
lea ecx, [ebp - 0xb4]
mov eax, dword [0x612a28]
mov eax, dword [eax]
mov eax, dword [eax + 0x3e0]
mov edx, 7
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x10]
add eax, 0x48
call fcn.0040aec0
mov eax, dword [ebp - 0x10]
push eax
push 0x5fa2fc
mov eax, dword [ebp - 0x10]
call fcn.004c5cb8
mov eax, dword [ebp - 0x10]
push eax
push 0x5fa3b0
mov eax, dword [ebp - 0x10]
call fcn.004c5cb8
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x48]
call fcn.0040af08
mov eax, dword [ebp - 0x10]
add eax, 0x48
call fcn.0040aae0
mov eax, dword [ebp - 0x10]
push eax
push 0x5fa314
mov eax, dword [ebp - 0x10]
call fcn.004c5cb8
mov eax, dword [ebp - 0x10]
add eax, 0x48
mov edx, dword [ebp - 0xc]
call fcn.0040aec0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fba23
lea eax, [ebp - 0xb4]
mov edx, 0x1b
call fcn.0040ab40
lea eax, [ebp - 0x48]
call fcn.0040ab28
lea eax, [ebp - 0x44]
call fcn.0040aae0
lea eax, [ebp - 0x20]
call fcn.0040aae0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040ab40
ret