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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x680
mov eax, dword [0x4ad33b78]
mov edx, dword [ebp + 0xc]
or dword [ebp - 0x620], 0xffffffff
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x410]
mov dword [ebp - 0x414], 0x20
rep stosd dword es:[edi], eax
mov eax, dword [edx + 0x1c]
xor esi, esi
xor edi, edi
inc edi
cmp eax, esi
mov dword [ebp - 0x634], edx
mov dword [ebp - 0x644], esi
mov dword [ebp - 0x66c], esi
mov dword [ebp - 0x638], esi
mov dword [ebp - 0x660], edi
je 0x4ad162d7
mov eax, dword [eax + 0x18]
shr eax, 1
and eax, 8
push esi
mov dword [ebp - 0x654], eax
lea eax, [ebp - 0x658]
push eax
push 0x80
push 0xfe00
mov dword [ebp - 0x664], esi
mov dword [ebp - 0x648], esi
call fcn.4ad07811
cmp eax, esi
mov dword [ebp - 0x630], eax
je 0x4ad0e99b
cmp dword [0x4ad33b30], esi
jne 0x4ad162df
mov ebx, dword [ebx + 0x1c]
cmp ebx, esi
je 0x4ad07c01
lea eax, [ebp - 0x62c]
push eax
push dword [ebx + 0x14]
push 0x21
push dword [ebx]
call fcn.4ad01349
push eax
call fcn.4ad02a4c
test al, al
je 0x4ad11994
cmp dword [0x4ad2b9e8], esi
jne 0x4ad16be6
lea eax, [ebp - 0x61c]
push eax
push ebx
call fcn.4ad07c28
cmp eax, edi
je 0x4ad16c1b
cmp dword [0x4ad33b50], esi
je 0x4ad0e820
test byte [ebx + 0x18], 8
jne 0x4ad0e832
cmp dword [0x4ad33b3c], 3
je 0x4ad0e832
push esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x634]
push ebx
call fcn.4ad07d70
cmp eax, edi
je 0x4ad16c1b
cmp dword [0x4ad33b3c], 3
je 0x4ad0e933
cmp word [ebp - 0x20c], si
je 0x4ad0768e
push esi
push dword [ebx + 4]
call fcn.4ad0803b
cmp eax, 0xffffffff
mov dword [ebp - 0x628], eax
je 0x4ad1631e
push eax
call fcn.4ad02c7d
test eax, eax
jne 0x4ad1635d
cmp dword [0x4ad33b30], esi
jne 0x4ad16384
mov eax, dword [ebp - 0x658]
mov dword [ebp - 0x63c], eax
mov eax, dword [ebp - 0x63c]
mov dword [ebp - 0x668], eax
mov eax, dword [ebx + 0x18]
test al, 4
je 0x4ad0e85f
and eax, 0xfffffffb
test al, al
mov dword [ebx + 0x18], eax
js 0x4ad163a3
or eax, edi
mov dword [ebx + 0x18], eax
cmp byte [0x4ad2fa64], 0
je 0x4ad163ab
push 0x208
push dword [ebx + 4]
push 0x4ad3d420
call fcn.4ad01ab9
mov esi, eax
lea eax, [ebp - 0x20c]
push eax
call fcn.4ad01349
push eax
push dword [ebp - 0x620]
lea eax, [ebp - 0x624]
push ebx
push eax
push 0x200
push dword [ebp - 0x630]
push dword [ebp - 0x628]
call fcn.4ad07cdf
cmp dword [0x4ad2ba04], 0
mov dword [ebp - 0x640], eax
jne 0x4ad163da
cmp dword [0x4ad33b3c], 3
je 0x4ad0e94e
lea eax, [ebp - 0x20c]
push eax
push 0x4ad3d420
push esi
call fcn.4ad08118
test eax, eax
jne 0x4ad16404
mov eax, dword [ebp - 0x634]
mov dword [0x4ad33b44], edi
cmp dword [eax + 0x1c], 0
je 0x4ad07456
cmp dword [0x4ad33b50], 0
je 0x4ad07456
and dword [0x4ad2ba04], 0
mov dword [0x4ad33b40], edi
push dword [eax + 0x1c]
call fcn.4ad06476
mov eax, dword [0x4ad2ba04]
cmp eax, 0x15
je 0x4ad0e98e
cmp eax, 0x458
je 0x4ad0e98e
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x634]
push ebx
call fcn.4ad07d70
cmp eax, edi
je 0x4ad16c10
cmp word [ebp - 0x20c], 0
je 0x4ad1648e
lea eax, [ebp - 0x20c]
push eax
push 0x4ad3d420
push esi
call fcn.4ad08118
test eax, eax
jne 0x4ad1649e
xor esi, esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [ebp - 0x638], esi
jne 0x4ad074f3
cmp dword [ebp - 0x660], esi
je 0x4ad074d3
cmp eax, 0xffffffff
mov dword [ebp - 0x648], esi
jne 0x4ad16501
mov dword [ebp - 0x660], esi
and dword [ebx + 0x18], 0xfffffffb
cmp byte [0x4ad2fa64], 0
mov ecx, dword [ebx + 0x18]
je 0x4ad16514
cmp dword [ebp - 0x648], esi
jne 0x4ad16558
cmp dword [0x4ad33b50], esi
je 0x4ad0751f
mov ecx, dword [ebp - 0x634]
mov ecx, dword [ecx + 0x1c]
cmp ecx, esi
je 0x4ad07512
test byte [ecx + 0x18], 8
jne 0x4ad0e9a2
cmp dword [0x4ad33b3c], 3
je 0x4ad1656f
test al, 6
je 0x4ad0e96d
or dword [ebp - 0x620], 0xffffffff
mov dword [0x4ad2ba04], 5
cmp dword [ebp - 0x620], 0xffffffff
mov dword [ebp - 0x650], esi
jne 0x4ad165a1
mov dword [ebp - 0x65c], esi
cmp dword [ebp - 0x66c], edi
je 0x4ad165dd
mov eax, dword [ebx + 0x18]
test al, 8
jne 0x4ad07571
cmp dword [0x4ad33b3c], 3
je 0x4ad1660d
mov eax, dword [ebx + 0x18]
test al, 8
jne 0x4ad0e80e
push dword [ebx + 0x18]
lea eax, [ebp - 0x624]
push eax
push dword [ebp - 0x630]
call fcn.4ad07b13
cmp dword [0x4ad33b3c], 3
je 0x4ad0e97c
test byte [ebx + 0x18], 1
je 0x4ad0e97c
cmp dword [ebp - 0x620], 0xffffffff
jne 0x4ad16650
test byte [ebx + 0x19], 4
jne 0x4ad16667
mov eax, dword [0x4ad2fa6c]
test eax, eax
push dword [ebp - 0x654]
je 0x4ad166ac
push 0x4ad2b9e8
push 0
push 0
lea ecx, [ebp - 0x20c]
push ecx
push dword [ebx + 4]
call eax
xor esi, esi
cmp eax, esi
je 0x4ad166c1
cmp dword [ebp - 0x650], esi
jne 0x4ad07623
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [0x4ad33b30], esi
jne 0x4ad16728
push dword [ebp - 0x628]
xor esi, esi
mov dword [0x4ad33b18], esi
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x680], ecx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x67c], eax
call fcn.4ad02e18
cmp dword [0x4ad33b3c], 3
je 0x4ad07686
cmp dword [0x4ad2b9e8], esi
jne 0x4ad16b97
lea eax, [ebp - 0x680]
push eax
push dword [ebp - 0x620]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x634]
push ebx
call fcn.4ad07b46
mov dword [0x4ad33b4c], edi
mov dword [0x4ad33b50], esi
xor esi, esi
push dword [ebp - 0x62c]
push 0x21
push dword [ebx + 0x14]
call fcn.4ad067d0
test al, al
jne 0x4ad0729a
push dword [ebp - 0x62c]
call fcn.4ad01c38
jmp 0x4ad0726e
cmp dword [0x4ad33b3c], 3
je 0x4ad16bba
mov eax, dword [ebp - 0x644]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.4ad01305
leave
ret 8
cmp dword [0x4ad33b3c], 3
je 0x4ad16628
jmp 0x4ad0757c
cmp dword [0x4ad33b3c], 3
je 0x4ad1630a
jmp 0x4ad072c7
push dword [ebx + 4]
push 0x4ad3cbe0
call fcn.4ad05e0c
cmp dword [0x4ad33b3c], 3
pop ecx
pop ecx
jne 0x4ad072de
cmp dword [0x4ad33b50], esi
je 0x4ad07319
jmp 0x4ad072de
mov dword [ebp - 0x638], eax
jmp 0x4ad0738e
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
jmp 0x4ad0730c
cmp dword [0x4ad33b50], 0
je 0x4ad07551
jmp 0x4ad073f3
test eax, eax
jne 0x4ad0768e
jmp 0x4ad072c7
test byte [ebx + 0x19], 4
jne 0x4ad07538
jmp 0x4ad1658a
cmp dword [ebp - 0x620], 0xffffffff
jne 0x4ad169c8
jmp 0x4ad16971
push 0
push eax
call fcn.4ad069f4
jmp 0x4ad16c0e
mov eax, edi
jmp 0x4ad07c14
cmp dword [ebx + 0x1c], esi
jne 0x4ad07512
mov dword [0x4ad33b3c], edi
jmp 0x4ad07512
cmp dword [0x4ad33b3c], 3
jne 0x4ad119a9
cmp dword [0x4ad33b50], esi
je 0x4ad0726e
push dword [ebx]
push 0x4ad3cbb0
call fcn.4ad05e0c
push 0x4ad3cba0
call fcn.4ad05e0c
add esp, 0xc
push dword [0x4ad2ba04]
call fcn.4ad1194d
push dword [ebp - 0x62c]
call fcn.4ad01c38
push edi
push esi
call fcn.4ad119e4
nop
nop
nop
nop
nop
mov eax, dword [edx + 0x18]
jmp 0x4ad07226
push edi
lea eax, [ebp - 0x668]
push eax
push 0x80
push dword [ebp - 0x658]
call fcn.4ad07811
cmp eax, esi
mov dword [ebp - 0x64c], eax
jne 0x4ad0726e
jmp 0x4ad0e99b
push dword [ebx + 4]
lea eax, [ebp - 0x414]
push eax
call fcn.4ad1d61d
jmp 0x4ad0e960
push dword [0x4ad2ba04]
call fcn.4ad1194d
cmp dword [0x4ad33b3c], 3
jne 0x4ad16352
cmp dword [ebp - 0x620], 0xffffffff
jne 0x4ad16352
push dword [ebx + 4]
lea eax, [ebp - 0x20c]
push eax
call fcn.4ad1d61d
test eax, eax
jne 0x4ad119cd
mov dword [ebp - 0x644], edi
jmp 0x4ad0768e
mov eax, 0x80
or dword [ebx + 0x18], eax
mov dword [ebp - 0x63c], eax
mov eax, dword [ebx + 0x18]
test al, 1
je 0x4ad07363
and eax, 0xfffffffe
or eax, 4
mov dword [ebx + 0x18], eax
jmp 0x4ad07363
mov ecx, dword [ebp - 0x658]
mov eax, dword [ebp - 0x668]
cmp ecx, eax
jae 0x4ad07351
mov dword [ebp - 0x63c], ecx
jmp 0x4ad07357
or eax, 2
jmp 0x4ad0737e
cmp dword [0x4ad33b50], esi
je 0x4ad0738e
test al, 8
jne 0x4ad0738e
cmp dword [0x4ad33b3c], 3
jne 0x4ad0738e
and eax, 0xfffffffe
or eax, 2
mov dword [ebx + 0x18], eax
jmp 0x4ad0738e
push dword [ebp - 0x628]
call fcn.4ad02e18
push 0x6e
call fcn.4ad1194d
cmp dword [0x4ad33b3c], 3
je 0x4ad16c2b
mov dword [ebp - 0x644], edi
jmp 0x4ad0768c
test byte [ebx + 0x18], 0x80
jne 0x4ad0740d
push dword [ebp - 0x628]
call fcn.4ad02e18
push dword [ebp - 0x62c]
lea eax, [ebp - 0x620]
push dword [ebp - 0x63c]
push dword [ebp - 0x630]
push dword [0x4ad33b50]
push eax
push ebx
call fcn.4ad1d890
xor esi, esi
cmp dword [0x4ad33b50], esi
je 0x4ad16474
cmp dword [0x4ad33b3c], 3
jne 0x4ad1646e
and dword [ebx + 0x18], 0xfffffffe
cmp dword [ebp - 0x638], esi
mov eax, dword [ebx + 0x18]
jne 0x4ad16465
or eax, 2
jmp 0x4ad1646b
or eax, dword [ebp - 0x638]
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x66c], edi
push dword [ebx + 0x18]
lea eax, [ebp - 0x624]
push eax
push dword [ebp - 0x630]
call fcn.4ad07b13
jmp 0x4ad07686
push dword [ebp - 0x628]
call fcn.4ad02e18
jmp 0x4ad0768c
test byte [ebx + 0x18], 0x80
jne 0x4ad0749f
push dword [ebp - 0x628]
call fcn.4ad02e18
mov eax, dword [0x4ad33b50]
xor esi, esi
cmp eax, esi
je 0x4ad164dc
mov ecx, dword [ebp - 0x634]
mov ecx, dword [ecx + 0x1c]
cmp ecx, esi
je 0x4ad164dc
test byte [ecx + 0x18], 8
je 0x4ad164dc
cmp dword [ebx + 0x1c], esi
jne 0x4ad164dc
mov dword [0x4ad33b3c], edi
push dword [ebp - 0x62c]
push dword [ebp - 0x63c]
push dword [ebp - 0x630]
push eax
lea eax, [ebp - 0x620]
push eax
push ebx
call fcn.4ad1d890
jmp 0x4ad074a1
test al, 0x10
je 0x4ad074cd
mov dword [ebp - 0x648], edi
jmp 0x4ad074cd
test cl, 8
je 0x4ad074e7
cmp dword [0x4ad33b3c], 3
jne 0x4ad074e7
cmp dword [ebp - 0x648], esi
mov dword [ebp - 0x664], 3
jne 0x4ad074f3
mov edx, dword [ebp - 0x634]
mov edx, dword [edx + 0x1c]
cmp edx, esi
je 0x4ad16553
test byte [edx + 0x18], 8
jne 0x4ad16565
or ecx, 2
jmp 0x4ad16567
cmp dword [ebp - 0x664], 3
jne 0x4ad074f3
or ecx, edi
mov dword [ebx + 0x18], ecx
jmp 0x4ad074f3
mov ecx, dword [ebp - 0x638]
cmp ecx, esi
jne 0x4ad16582
mov ecx, dword [ebx + 0x18]
and ecx, 0xfffffffe
or ecx, 2
mov dword [ebx + 0x18], ecx
jmp 0x4ad0751f
lea eax, [ebp - 0x20c]
push eax
call fcn.4ad1e0f6
mov dword [ebp - 0x620], eax
jmp 0x4ad07538
push dword [ebp - 0x620]
mov dword [ebp - 0x65c], edi
call fcn.4ad02c7d
test eax, eax
je 0x4ad07551
cmp dword [ebp - 0x638], esi
mov dword [ebp - 0x650], edi
jne 0x4ad07551
mov eax, dword [ebx + 0x18]
and eax, 0xfffffffe
or eax, 2
mov dword [ebx + 0x18], eax
jmp 0x4ad07551
cmp dword [0x4ad33b3c], 3
jne 0x4ad0755d
and dword [ebx + 0x18], 0xfffffffe
cmp dword [ebp - 0x638], 0
mov eax, dword [ebx + 0x18]
jne 0x4ad165ff
or eax, 2
jmp 0x4ad16605
or eax, dword [ebp - 0x638]
mov dword [ebx + 0x18], eax
jmp 0x4ad0755d
cmp dword [ebp - 0x638], 0
jne 0x4ad07571
and eax, 0xfffffffe
or eax, 2
mov dword [ebx + 0x18], eax
jmp 0x4ad07571
cmp dword [ebp - 0x648], 0
jne 0x4ad0757c
cmp dword [ebp - 0x638], 0
jne 0x4ad0757c
and eax, 0xfffffffe
or eax, 2
mov dword [ebx + 0x18], eax
jmp 0x4ad0757c
push dword [ebp - 0x620]
call fcn.4ad02e18
or dword [ebp - 0x620], 0xffffffff
jmp 0x4ad075b5
push dword [ebx + 4]
call fcn.4ad1e1df
test eax, eax
jne 0x4ad16683
lea eax, [ebp - 0x20c]
push eax
call fcn.4ad1e1df
test eax, eax
je 0x4ad16685
mov eax, edi
mov ecx, dword [ebp - 0x654]
or ecx, 2
push ecx
push 0
push eax
push 0x4ad1d579
lea eax, [ebp - 0x20c]
push eax
push dword [ebx + 4]
call dword [0x4ad2fa6c]
jmp 0x4ad075e7
lea eax, [ebp - 0x20c]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x4ad075e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x628]
mov dword [0x4ad2ba04], eax
call fcn.4ad02e18
cmp dword [ebp - 0x650], esi
je 0x4ad166e2
push 0x1d
pop esi
xor eax, eax
cmp dword [0x4ad2ba04], eax
mov dword [0x4ad33b18], eax
jne 0x4ad166fb
mov dword [0x4ad2ba04], 0x70
cmp dword [0x4ad2b9e8], eax
je 0x4ad16707
xor esi, esi
jmp 0x4ad16716
cmp esi, eax
jne 0x4ad16716
push dword [0x4ad2ba04]
call fcn.4ad1194d
cmp dword [ebp - 0x65c], 0
jne 0x4ad119d8
jmp 0x4ad169b7
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.4ad1e0d8
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x620], esi
je 0x4ad16901
push esi
call fcn.4ad02c7d
test eax, eax
push esi
jne 0x4ad16960
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x4ad16783
lea eax, [ebp - 0x20c]
push eax
push edi
push 0x271f
call fcn.4ad0606f
add esp, 0xc
push esi
jmp 0x4ad16960
push esi
call fcn.4ad02e18
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.4ad0803b
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x620], esi
je 0x4ad16901
push esi
call fcn.4ad02c7d
test eax, eax
jne 0x4ad16768
mov esi, dword [sym.imp.msvcrt.dll__get_osfhandle]
push eax
push eax
push eax
push dword [ebp - 0x628]
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 - 0x620]
call esi
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x678]
push eax
push dword [ebp - 0x628]
call esi
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [ebp - 0x670]
push eax
push dword [ebp - 0x620]
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp esi, eax
jne 0x4ad16945
mov eax, dword [ebp - 0x678]
cmp eax, dword [ebp - 0x670]
jne 0x4ad16945
and dword [ebp - 0x640], 0
mov edi, dword [sym.imp.msvcrt.dll__get_osfhandle]
push 0
lea eax, [ebp - 0x624]
push eax
push dword [ebp - 0x63c]
push dword [ebp - 0x630]
push dword [ebp - 0x628]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
pop ecx
push eax
call esi
test eax, eax
je 0x4ad168d2
cmp dword [ebp - 0x624], 0
je 0x4ad168d2
push 0
lea eax, [ebp - 0x674]
push eax
push dword [ebp - 0x624]
push dword [ebp - 0x64c]
push dword [ebp - 0x620]
call edi
pop ecx
push eax
call esi
test eax, eax
je 0x4ad168ec
mov ecx, dword [ebp - 0x624]
cmp dword [ebp - 0x674], ecx
jne 0x4ad168ec
cmp dword [ebp - 0x63c], ecx
je 0x4ad168b4
mov dword [ebp - 0x640], 1
mov edi, dword [ebp - 0x64c]
mov esi, dword [ebp - 0x630]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4ad1691b
cmp dword [ebp - 0x640], eax
je 0x4ad16835
push dword [ebp - 0x620]
call fcn.4ad02e18
or dword [ebp - 0x620], 0xffffffff
xor edi, edi
inc edi
jmp 0x4ad07623
push dword [ebp - 0x620]
call fcn.4ad02e18
or dword [ebp - 0x620], 0xffffffff
xor edi, edi
inc edi
lea eax, [ebp - 0x20c]
push eax
push edi
push 0x271f
call fcn.4ad0606f
add esp, 0xc
jmp 0x4ad07623
push dword [ebp - 0x620]
call fcn.4ad02e18
or dword [ebp - 0x620], 0xffffffff
lea eax, [ebp - 0x20c]
push eax
push 1
push 0x271f
call fcn.4ad0606f
add esp, 0xc
jmp 0x4ad168e4
lea eax, [ebp - 0x20c]
push eax
push edi
push 0x271f
call fcn.4ad0606f
add esp, 0xc
push dword [ebp - 0x620]
call fcn.4ad02e18
or dword [ebp - 0x620], 0xffffffff
jmp 0x4ad07623
xor esi, esi
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.4ad1e0d8
cmp eax, 0xffffffff
mov dword [ebp - 0x620], eax
jne 0x4ad169c8
push dword [ebp - 0x628]
call fcn.4ad02e18
cmp dword [0x4ad33b38], esi
jne 0x4ad169aa
push dword [0x4ad2ba04]
call fcn.4ad1194d
cmp dword [0x4ad33b3c], 3
je 0x4ad119cd
mov dword [ebp - 0x644], edi
mov dword [0x4ad33b4c], edi
jmp 0x4ad0768c
cmp dword [0x4ad33b50], 0
jne 0x4ad16a0d
cmp dword [0x4ad33b3c], 3
jne 0x4ad16a0d
mov eax, dword [ebx + 0x18]
test al, 2
je 0x4ad16a0d
mov esi, 0x4000
test esi, eax
je 0x4ad16a12
mov eax, dword [ebp - 0x630]
sub dword [ebp - 0x624], 2
push dword [ebp - 0x624]
lea ecx, [eax + 2]
push ecx
push eax
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
jmp 0x4ad16a12
mov esi, 0x4000
test dword [ebx + 0x18], esi
je 0x4ad16a2c
mov ecx, dword [ebp - 0x634]
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4ad16a29
or dword [eax + 0x18], esi
jmp 0x4ad16a2c
or dword [ecx + 0x18], esi
cmp dword [0x4ad33b18], 0
je 0x4ad16a47
cmp dword [ebp - 0x624], 0
jle 0x4ad07623
jmp 0x4ad16b21
cmp dword [ebp - 0x640], edi
jne 0x4ad16afb
push dword [ebp - 0x628]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x624]
push dword [ebp - 0x630]
push dword [ebp - 0x620]
call fcn.4ad1d94c
xor esi, esi
cmp dword [0x4ad33b30], esi
je 0x4ad16abd
push dword [ebp - 0x620]
call fcn.4ad02c7d
test eax, eax
jne 0x4ad16abd
push dword [ebp - 0x64c]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x630]
push dword [ebp - 0x624]
push eax
lea eax, [ebp - 0x620]
push eax
call fcn.4ad1d7a0
cmp eax, edi
je 0x4ad119cd
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x620]
lea eax, [ebp - 0x624]
push ebx
push eax
push dword [ebp - 0x63c]
push dword [ebp - 0x630]
push dword [ebp - 0x628]
call fcn.4ad07cdf
cmp dword [0x4ad33b18], esi
mov dword [ebp - 0x640], eax
je 0x4ad16a47
cmp dword [0x4ad33b18], 0
je 0x4ad07623
cmp dword [ebp - 0x624], 0
jle 0x4ad07623
cmp dword [ebp - 0x640], edi
jne 0x4ad07623
push dword [ebp - 0x628]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x624]
push dword [ebp - 0x630]
push dword [ebp - 0x620]
call fcn.4ad1d94c
cmp dword [0x4ad33b30], 0
je 0x4ad07623
push dword [ebp - 0x620]
call fcn.4ad02c7d
test eax, eax
jne 0x4ad07623
push dword [ebp - 0x64c]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x630]
push dword [ebp - 0x624]
push eax
lea eax, [ebp - 0x620]
push eax
call fcn.4ad1d7a0
cmp eax, edi
je 0x4ad16c2b
jmp 0x4ad07623
push dword [ebp - 0x620]
call fcn.4ad02e18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x644], edi
jmp 0x4ad07680
cmp dword [ebp - 0x620], 0xffffffff
je 0x4ad07c0e
push esi
push dword [ebp - 0x620]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x634]
push ebx
call fcn.4ad07b46
jmp 0x4ad07c0e
push dword [ebp - 0x62c]
call fcn.4ad01c38
cmp dword [ebp - 0x620], 0xffffffff
je 0x4ad0e99b
push dword [ebp - 0x620]
call fcn.4ad02e18
jmp 0x4ad0e99b
pop ecx
pop ecx
push dword [ebp - 0x628]
call fcn.4ad02e18
push dword [ebp - 0x62c]
call fcn.4ad01c38
jmp 0x4ad0e99b
push dword [ebp - 0x62c]
call fcn.4ad01c38
push edi
push 0
jmp 0x4ad119da