Function at 0x4ad1a051
Capabilities:
Copy file
Delete file
Get file attributes
Get file size
Read file on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
or dword [ebp - 4], 0xffffffff
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x468]
mov dword [ebp - 0x46c], 0x20
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x1c]
xor esi, esi
xor edi, edi
inc edi
cmp eax, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x44], edi
jne 0x4ad1a09a
mov eax, dword [ecx + 0x18]
jmp 0x4ad1a09d
mov eax, dword [eax + 0x18]
shr eax, 1
and eax, 8
push esi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x2c]
push eax
mov ebx, 0x80
push ebx
push 0xfe00
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x28], esi
call fcn.4ad1854e
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x4ad1ac32
cmp dword [0x4ad30b30], esi
je 0x4ad1a0ec
push edi
lea eax, [ebp - 0x3c]
push eax
push ebx
push dword [ebp - 0x2c]
call fcn.4ad1854e
cmp eax, esi
mov dword [ebp - 0x24], eax
je 0x4ad1ac32
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x1c]
jmp 0x4ad1abcb
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 0x14]
push 0x21
push dword [ebx]
call fcn.4ad0171e
push eax
call fcn.4ad017bc
test al, al
jne 0x4ad1a159
cmp dword [0x4ad30b3c], 3
jne 0x4ad1a126
cmp dword [0x4ad30b50], esi
je 0x4ad1abc8
push dword [ebx]
push 0x4ad3a240
call fcn.4ad03e14
push 0x4ad31870
call fcn.4ad03e14
add esp, 0xc
push dword [0x4ad28a04]
call fcn.4ad1b458
push dword [ebp - 0xc]
call fcn.4ad01c46
push edi
push esi
call fcn.4ad19491
cmp dword [0x4ad289e8], esi
jne 0x4ad1ac00
lea eax, [ebp - 0x674]
push eax
push ebx
call fcn.4ad19247
cmp eax, edi
je 0x4ad1ac2a
cmp dword [0x4ad30b50], esi
jne 0x4ad1a1a2
cmp dword [0x4ad30b3c], 3
jne 0x4ad1a1a2
push dword [ebx + 4]
lea eax, [ebp - 0x46c]
push eax
call fcn.4ad19436
test eax, eax
jne 0x4ad1abab
test byte [ebx + 0x18], 8
jne 0x4ad1a1b1
cmp dword [0x4ad30b3c], 3
jne 0x4ad1a1d1
push dword [ebx + 4]
push str._s_r_n
call fcn.4ad03e14
cmp dword [0x4ad30b3c], 3
pop ecx
pop ecx
jne 0x4ad1a1d1
cmp dword [0x4ad30b50], esi
je 0x4ad1a21b
push esi
push 0x104
lea eax, [ebp - 0x264]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.4ad19c76
cmp eax, edi
je 0x4ad1ac2a
cmp dword [0x4ad30b3c], 3
jne 0x4ad1a20e
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x46c]
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
cmp word [ebp - 0x264], si
je 0x4ad1abab
push esi
push dword [ebx + 4]
call fcn.4ad1b5be
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x4ad1a270
push dword [0x4ad28a04]
call fcn.4ad1b458
cmp dword [0x4ad30b3c], 3
jne 0x4ad1a268
cmp dword [ebp - 4], 0xffffffff
jne 0x4ad1a268
push dword [ebx + 4]
lea eax, [ebp - 0x264]
push eax
call fcn.4ad19436
test eax, eax
je 0x4ad1a268
push dword [ebp - 0xc]
call fcn.4ad01c46
push edi
push esi
call fcn.4ad19491
mov dword [ebp - 0x20], edi
jmp 0x4ad1abab
push eax
call fcn.4ad01eec
test eax, eax
je 0x4ad1a287
mov eax, 0x80
or dword [ebx + 0x18], eax
mov dword [ebp - 0x18], eax
jmp 0x4ad1a2aa
cmp dword [0x4ad30b30], esi
je 0x4ad1a29e
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
jae 0x4ad1a2a1
mov dword [ebp - 0x18], ecx
jmp 0x4ad1a2a4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x18]
test al, 4
je 0x4ad1a2ee
and eax, 0xfffffffb
test al, al
mov dword [ebx + 0x18], eax
jns 0x4ad1a2c0
or eax, 2
jmp 0x4ad1a2c2
or eax, edi
mov dword [ebx + 0x18], eax
cmp byte [0x4ad2ca64], 0
jne 0x4ad1a2f1
cmp dword [0x4ad30b50], esi
je 0x4ad1a2f1
test al, 8
jne 0x4ad1a2f1
cmp dword [0x4ad30b3c], 3
jne 0x4ad1a2f1
and eax, 0xfffffffe
or eax, 2
mov dword [ebx + 0x18], eax
jmp 0x4ad1a2f1
mov dword [ebp - 0x14], eax
push 0x208
push dword [ebx + 4]
push 0x4ad3a500
call fcn.4ad01d5f
mov esi, eax
lea eax, [ebp - 0x264]
push eax
call fcn.4ad0171e
push eax
push dword [ebp - 4]
lea eax, [ebp - 8]
push ebx
push eax
push 0x200
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.4ad19ad1
cmp dword [0x4ad28a04], 0
mov dword [ebp - 0x1c], eax
je 0x4ad1a36b
push dword [ebp + 8]
call fcn.4ad0355e
push 0x6e
call fcn.4ad1b458
cmp dword [0x4ad30b3c], 3
je 0x4ad1a356
mov dword [ebp - 0x20], edi
jmp 0x4ad1aba9
push dword [ebp - 0xc]
call fcn.4ad01c46
push edi
push 0
call fcn.4ad19491
jmp 0x4ad1a5ea
cmp dword [0x4ad30b3c], 3
jne 0x4ad1a381
cmp dword [0x4ad30b50], 0
je 0x4ad1a5ea
lea eax, [ebp - 0x264]
push eax
push 0x4ad3a500
push esi
call fcn.4ad193f0
test eax, eax
je 0x4ad1a3ff
test byte [ebx + 0x18], 0x80
jne 0x4ad1a3ff
push dword [ebp + 8]
call fcn.4ad0355e
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [0x4ad30b50]
push eax
push ebx
call fcn.4ad19838
xor esi, esi
cmp dword [0x4ad30b50], esi
je 0x4ad1a3eb
cmp dword [0x4ad30b3c], 3
jne 0x4ad1a3e8
and dword [ebx + 0x18], 0xfffffffe
cmp dword [ebp - 0x14], esi
mov eax, dword [ebx + 0x18]
jne 0x4ad1a3e2
or eax, 2
jmp 0x4ad1a3e5
or eax, dword [ebp - 0x14]
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x40], edi
push dword [ebx + 0x18]
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
call fcn.4ad193aa
jmp 0x4ad1aba3
mov eax, dword [ebp + 0xc]
mov dword [0x4ad30b44], edi
cmp dword [eax + 0x1c], 0
je 0x4ad1a445
cmp dword [0x4ad30b50], 0
je 0x4ad1a445
and dword [0x4ad28a04], 0
mov dword [0x4ad30b40], edi
push dword [eax + 0x1c]
call fcn.4ad07cdc
mov eax, dword [0x4ad28a04]
cmp eax, 0x15
je 0x4ad1ac18
cmp eax, 0x458
je 0x4ad1ac18
push edi
push 0x104
lea eax, [ebp - 0x264]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.4ad19c76
cmp eax, edi
je 0x4ad1ac22
cmp word [ebp - 0x264], 0
jne 0x4ad1a47a
push dword [ebp + 8]
call fcn.4ad0355e
jmp 0x4ad1aba9
lea eax, [ebp - 0x264]
push eax
push 0x4ad3a500
push esi
call fcn.4ad193f0
test eax, eax
je 0x4ad1a4d7
test byte [ebx + 0x18], 0x80
jne 0x4ad1a4d7
push dword [ebp + 8]
call fcn.4ad0355e
mov eax, dword [0x4ad30b50]
test eax, eax
je 0x4ad1a4c3
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
je 0x4ad1a4c3
test byte [ecx + 0x18], 8
je 0x4ad1a4c3
cmp dword [ebx + 0x1c], 0
jne 0x4ad1a4c3
mov dword [0x4ad30b3c], edi
push dword [ebp - 0xc]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push ebx
call fcn.4ad19838
lea eax, [ebp - 0x264]
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [ebp - 0x14], esi
jne 0x4ad1a551
cmp dword [ebp - 0x44], esi
je 0x4ad1a502
cmp eax, 0xffffffff
mov dword [ebp - 0x28], esi
je 0x4ad1a4ff
test al, 0x10
je 0x4ad1a4ff
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x44], esi
and dword [ebx + 0x18], 0xfffffffb
cmp byte [0x4ad2ca64], 0
mov ecx, dword [ebx + 0x18]
jne 0x4ad1a541
test cl, 8
je 0x4ad1a541
cmp dword [0x4ad30b3c], 3
jne 0x4ad1a541
cmp dword [ebp - 0x28], esi
mov dword [ebp - 0x38], 3
jne 0x4ad1a551
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x1c]
cmp edx, esi
je 0x4ad1a53c
test byte [edx + 0x18], 8
jne 0x4ad1a54c
or ecx, 2
jmp 0x4ad1a54e
cmp dword [ebp - 0x28], esi
je 0x4ad1a551
cmp dword [ebp - 0x38], 3
jne 0x4ad1a551
or ecx, edi
mov dword [ebx + 0x18], ecx
cmp dword [0x4ad30b50], esi
je 0x4ad1a590
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x1c]
cmp ecx, esi
je 0x4ad1a574
test byte [ecx + 0x18], 8
je 0x4ad1a574
cmp dword [ebx + 0x1c], esi
jne 0x4ad1a574
mov dword [0x4ad30b3c], edi
cmp dword [0x4ad30b3c], 3
jne 0x4ad1a590
mov ecx, dword [ebp - 0x14]
cmp ecx, esi
jne 0x4ad1a58d
mov ecx, dword [ebx + 0x18]
and ecx, 0xfffffffe
or ecx, 2
mov dword [ebx + 0x18], ecx
test al, 6
je 0x4ad1a5a4
or dword [ebp - 4], 0xffffffff
mov dword [0x4ad28a04], 5
jmp 0x4ad1a5b9
test byte [ebx + 0x19], 4
jne 0x4ad1a5b9
lea eax, [ebp - 0x264]
push eax
call fcn.4ad1b5d2
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x30], esi
je 0x4ad1a5e7
push dword [ebp - 4]
mov dword [ebp - 0x48], edi
call fcn.4ad01eec
test eax, eax
je 0x4ad1a5ea
cmp dword [ebp - 0x14], esi
mov dword [ebp - 0x30], edi
jne 0x4ad1a5ea
mov eax, dword [ebx + 0x18]
and eax, 0xfffffffe
or eax, 2
mov dword [ebx + 0x18], eax
jmp 0x4ad1a5ea
mov dword [ebp - 0x48], esi
xor esi, esi
cmp dword [ebp - 0x40], edi
jne 0x4ad1a611
cmp dword [0x4ad30b3c], 3
jne 0x4ad1a611
and dword [ebx + 0x18], 0xfffffffe
cmp dword [ebp - 0x14], esi
mov eax, dword [ebx + 0x18]
jne 0x4ad1a60b
or eax, 2
jmp 0x4ad1a60e
or eax, dword [ebp - 0x14]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x18]
test al, 8
jne 0x4ad1a62f
cmp dword [0x4ad30b3c], 3
jne 0x4ad1a62f
cmp dword [ebp - 0x14], esi
jne 0x4ad1a62f
and eax, 0xfffffffe
or eax, 2
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x18]
test al, 8
je 0x4ad1a652
cmp dword [0x4ad30b3c], 3
jne 0x4ad1a652
cmp dword [ebp - 0x28], esi
jne 0x4ad1a652
cmp dword [ebp - 0x14], esi
jne 0x4ad1a652
and eax, 0xfffffffe
or eax, 2
mov dword [ebx + 0x18], eax
push dword [ebx + 0x18]
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
call fcn.4ad193aa
cmp dword [0x4ad30b3c], 3
je 0x4ad1a973
test byte [ebx + 0x18], 1
je 0x4ad1a973
cmp dword [ebp - 4], 0xffffffff
je 0x4ad1a68a
push dword [ebp - 4]
call fcn.4ad0355e
or dword [ebp - 4], 0xffffffff
test byte [ebx + 0x19], 4
je 0x4ad1a6ce
push dword [ebx + 4]
call fcn.4ad1b8da
test eax, eax
jne 0x4ad1a6ac
lea eax, [ebp - 0x264]
push eax
call fcn.4ad1b8da
test eax, eax
je 0x4ad1a6ae
mov eax, edi
mov ecx, dword [ebp - 0x34]
or ecx, 2
push ecx
push esi
push eax
push 0x4ad19308
lea eax, [ebp - 0x264]
push eax
push dword [ebx + 4]
call dword [0x4ad2ca6c]
jmp 0x4ad1a6ff
mov eax, dword [0x4ad2ca6c]
cmp eax, esi
push dword [ebp - 0x34]
jne 0x4ad1a6ec
lea eax, [ebp - 0x264]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x4ad1a6ff
push 0x4ad289e8
push esi
push esi
lea ecx, [ebp - 0x264]
push ecx
push dword [ebx + 4]
call eax
cmp eax, esi
jne 0x4ad1a765
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp + 8]
mov dword [0x4ad28a04], eax
call fcn.4ad0355e
cmp dword [ebp - 0x30], esi
je 0x4ad1a720
push 0x1d
pop esi
xor eax, eax
cmp dword [0x4ad28a04], eax
mov dword [0x4ad30b18], eax
jne 0x4ad1a739
mov dword [0x4ad28a04], 0x70
cmp dword [0x4ad289e8], eax
je 0x4ad1a745
xor esi, esi
jmp 0x4ad1a754
cmp esi, eax
jne 0x4ad1a754
push dword [0x4ad28a04]
call fcn.4ad1b458
cmp dword [ebp - 0x48], 0
je 0x4ad1a9b3
push edi
push esi
jmp 0x4ad1ab37
cmp dword [ebp - 0x30], esi
jne 0x4ad1ab3c
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [0x4ad30b30], 0
je 0x4ad1ab3c
push 0
push edi
lea eax, [ebp - 0x264]
push eax
call fcn.4ad1b5a8
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 4], esi
jne 0x4ad1a7cc
lea eax, [ebp - 0x264]
push eax
push edi
push 0x271f
call fcn.4ad0b54d
add esp, 0xc
jmp 0x4ad1ab3c
push esi
call fcn.4ad01eec
test eax, eax
push esi
je 0x4ad1a7e5
call fcn.4ad0355e
or dword [ebp - 4], 0xffffffff
jmp 0x4ad1ab3c
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
je 0x4ad1a81f
push esi
call fcn.4ad0355e
push 0
lea eax, [ebp - 0x264]
push eax
call fcn.4ad1b5be
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 4], esi
je 0x4ad1a7b2
push esi
call fcn.4ad01eec
test eax, eax
je 0x4ad1a837
lea eax, [ebp - 0x264]
push eax
push edi
push 0x271f
call fcn.4ad0b54d
add esp, 0xc
push esi
jmp 0x4ad1a7d7
mov esi, dword [sym.imp.msvcrt.dll__get_osfhandle]
xor eax, eax
push eax
push eax
push eax
push dword [ebp + 8]
call esi
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 4]
call esi
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x50]
push eax
push dword [ebp + 8]
call esi
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 4]
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp esi, eax
jne 0x4ad1a956
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x4c]
jne 0x4ad1a956
and dword [ebp - 0x1c], 0
mov edi, dword [sym.imp.msvcrt.dll__get_osfhandle]
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [ebp + 8]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
pop ecx
push eax
call esi
test eax, eax
je 0x4ad1a90a
cmp dword [ebp - 8], 0
je 0x4ad1a90a
push 0
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 8]
push dword [ebp - 0x24]
push dword [ebp - 4]
call edi
pop ecx
push eax
call esi
test eax, eax
je 0x4ad1a91e
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x54], ecx
jne 0x4ad1a91e
cmp dword [ebp - 0x18], ecx
je 0x4ad1a8f9
mov dword [ebp - 0x1c], 1
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4ad1a932
cmp dword [ebp - 0x1c], eax
je 0x4ad1a8a1
push dword [ebp - 4]
call fcn.4ad0355e
or dword [ebp - 4], 0xffffffff
xor edi, edi
inc edi
jmp 0x4ad1ab3c
push dword [ebp - 4]
call fcn.4ad0355e
or dword [ebp - 4], 0xffffffff
xor edi, edi
inc edi
jmp 0x4ad1a7b2
push dword [ebp - 4]
call fcn.4ad0355e
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x264]
push eax
push 1
push 0x271f
call fcn.4ad0b54d
add esp, 0xc
jmp 0x4ad1a916
lea eax, [ebp - 0x264]
push eax
push edi
push 0x271f
call fcn.4ad0b54d
add esp, 0xc
push dword [ebp - 4]
jmp 0x4ad1a7d7
cmp dword [ebp - 4], 0xffffffff
jne 0x4ad1a9d0
push esi
push edi
lea eax, [ebp - 0x264]
push eax
call fcn.4ad1b5a8
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x4ad1a9d0
push dword [ebp + 8]
call fcn.4ad0355e
cmp dword [0x4ad30b38], esi
jne 0x4ad1a9aa
push dword [0x4ad28a04]
call fcn.4ad1b458
cmp dword [0x4ad30b3c], 3
je 0x4ad1a9c1
mov dword [ebp - 0x20], edi
mov dword [0x4ad30b4c], edi
jmp 0x4ad1aba9
push dword [ebp - 0xc]
call fcn.4ad01c46
push edi
push esi
call fcn.4ad19491
cmp dword [0x4ad30b50], esi
jne 0x4ad1aa0b
cmp dword [0x4ad30b3c], 3
jne 0x4ad1aa0b
mov eax, dword [ebx + 0x18]
test al, 2
je 0x4ad1aa0b
mov esi, 0x4000
test esi, eax
je 0x4ad1aa10
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], 2
push dword [ebp - 8]
lea ecx, [eax + 2]
push ecx
push eax
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
jmp 0x4ad1aa10
mov esi, 0x4000
test dword [ebx + 0x18], esi
je 0x4ad1aa27
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4ad1aa24
or dword [eax + 0x18], esi
jmp 0x4ad1aa27
or dword [ecx + 0x18], esi
cmp dword [0x4ad30b18], 0
je 0x4ad1aa3f
cmp dword [ebp - 8], 0
jle 0x4ad1ab3c
jmp 0x4ad1aae2
cmp dword [ebp - 0x1c], edi
jne 0x4ad1aace
push dword [ebp + 8]
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.4ad19bc7
xor esi, esi
cmp dword [0x4ad30b30], esi
je 0x4ad1aaa2
push dword [ebp - 4]
call fcn.4ad01eec
test eax, eax
jne 0x4ad1aaa2
push dword [ebp - 0x24]
lea eax, [ebp - 0x264]
push dword [ebp - 0x10]
push dword [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.4ad1974f
cmp eax, edi
jne 0x4ad1aaa2
push dword [ebp - 0xc]
call fcn.4ad01c46
push edi
push esi
call fcn.4ad19491
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 4]
lea eax, [ebp - 8]
push ebx
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.4ad19ad1
cmp dword [0x4ad30b18], esi
mov dword [ebp - 0x1c], eax
je 0x4ad1aa3f
cmp dword [0x4ad30b18], 0
je 0x4ad1ab3c
cmp dword [ebp - 8], 0
jle 0x4ad1ab3c
cmp dword [ebp - 0x1c], edi
jne 0x4ad1ab3c
push dword [ebp + 8]
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.4ad19bc7
cmp dword [0x4ad30b30], 0
je 0x4ad1ab3c
push dword [ebp - 4]
call fcn.4ad01eec
test eax, eax
jne 0x4ad1ab3c
push dword [ebp - 0x24]
lea eax, [ebp - 0x264]
push dword [ebp - 0x10]
push dword [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.4ad1974f
cmp eax, edi
jne 0x4ad1ab3c
push dword [ebp - 0xc]
call fcn.4ad01c46
push edi
push 0
call fcn.4ad19491
push dword [ebp + 8]
xor esi, esi
mov dword [0x4ad30b18], esi
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x5c], ecx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x58], eax
call fcn.4ad0355e
cmp dword [0x4ad30b3c], 3
je 0x4ad1aba3
cmp dword [0x4ad289e8], esi
je 0x4ad1ab86
push dword [ebp - 4]
call fcn.4ad0355e
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x20], edi
jmp 0x4ad1ab9d
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x264]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.4ad198f5
mov dword [0x4ad30b4c], edi
mov dword [0x4ad30b50], esi
xor esi, esi
push dword [ebp - 0xc]
push 0x21
push dword [ebx + 0x14]
call fcn.4ad0cbbb
test al, al
jne 0x4ad1a159
push dword [ebp - 0xc]
call fcn.4ad01c46
mov ebx, dword [ebx + 0x1c]
cmp ebx, esi
jne 0x4ad1a0f7
cmp dword [0x4ad30b3c], 3
jne 0x4ad1abf6
cmp dword [ebp - 4], 0xffffffff
je 0x4ad1abf6
push esi
push dword [ebp - 4]
lea eax, [ebp - 0x264]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.4ad198f5
mov eax, dword [ebp - 0x20]
pop edi
pop esi
pop ebx
leave
ret 8
push dword [ebp - 0xc]
call fcn.4ad01c46
cmp dword [ebp - 4], 0xffffffff
je 0x4ad1ac32
push dword [ebp - 4]
call fcn.4ad0355e
jmp 0x4ad1ac32
push 0
push eax
call fcn.4ad0d276
pop ecx
pop ecx
push dword [ebp + 8]
call fcn.4ad0355e
push dword [ebp - 0xc]
call fcn.4ad01c46
mov eax, edi
jmp 0x4ad1abf9