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

Disassembly:
cmp dword [0x4ad33b3c], 3
jne 0x4ad0c276
cmp dword [0x4ad33b50], esi
je 0x4ad0c4a4
push dword [ebx]
push 0x4ad34b88
call fcn.4ad05e00
push 0x4ad34b78
call fcn.4ad05e00
add esp, 0xc
push dword [0x4ad2ba04]
call fcn.4ad0c21a
push dword [ebp - 0x62c]
call fcn.4ad01c24
push edi
push esi
call fcn.4ad0c2b1
nop
nop
nop
nop
nop
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 0x4ad162f1
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.4ad0ca49
cmp eax, esi
mov dword [ebp - 0x630], eax
je 0x4ad11a50
cmp dword [0x4ad33b30], esi
jne 0x4ad162f9
mov ebx, dword [ebx + 0x1c]
cmp ebx, esi
je 0x4ad0e473
lea eax, [ebp - 0x62c]
push eax
push dword [ebx + 0x14]
push 0x21
push dword [ebx]
call fcn.4ad01349
push eax
call fcn.4ad02a34
test al, al
je 0x4ad0c261
cmp dword [0x4ad2b9e8], esi
jne 0x4ad16c00
lea eax, [ebp - 0x61c]
push eax
push ebx
call fcn.4ad0e49a
cmp eax, edi
je 0x4ad16c35
cmp dword [0x4ad33b50], esi
je 0x4ad118d7
test byte [ebx + 0x18], 8
jne 0x4ad118e9
cmp dword [0x4ad33b3c], 3
je 0x4ad118e9
push esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x634]
push ebx
call fcn.4ad0e5e2
cmp eax, edi
je 0x4ad16c35
cmp dword [0x4ad33b3c], 3
je 0x4ad119e8
cmp word [ebp - 0x20c], si
je 0x4ad0c8c4
push esi
push dword [ebx + 4]
call fcn.4ad0e8ae
cmp eax, 0xffffffff
mov dword [ebp - 0x628], eax
je 0x4ad16338
push eax
call fcn.4ad02c65
test eax, eax
jne 0x4ad16377
cmp dword [0x4ad33b30], esi
jne 0x4ad1639e
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 0x4ad11916
and eax, 0xfffffffb
test al, al
mov dword [ebx + 0x18], eax
js 0x4ad163bd
or eax, edi
mov dword [ebx + 0x18], eax
cmp byte [0x4ad2fa64], 0
je 0x4ad163c5
push 0x208
push dword [ebx + 4]
push 0x4ad3d3a0
call fcn.4ad01aa5
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.4ad0e551
cmp dword [0x4ad2ba04], 0
mov dword [ebp - 0x640], eax
jne 0x4ad163f4
cmp dword [0x4ad33b3c], 3
je 0x4ad11a03
lea eax, [ebp - 0x20c]
push eax
push 0x4ad3d3a0
push esi
call fcn.4ad0e98b
test eax, eax
jne 0x4ad1641e
mov eax, dword [ebp - 0x634]
mov dword [0x4ad33b44], edi
cmp dword [eax + 0x1c], 0
je 0x4ad0c68c
cmp dword [0x4ad33b50], 0
je 0x4ad0c68c
and dword [0x4ad2ba04], 0
mov dword [0x4ad33b40], edi
push dword [eax + 0x1c]
call fcn.4ad06142
mov eax, dword [0x4ad2ba04]
cmp eax, 0x15
je 0x4ad11a43
cmp eax, 0x458
je 0x4ad11a43
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x634]
push ebx
call fcn.4ad0e5e2
cmp eax, edi
je 0x4ad16c2a
cmp word [ebp - 0x20c], 0
je 0x4ad164a8
lea eax, [ebp - 0x20c]
push eax
push 0x4ad3d3a0
push esi
call fcn.4ad0e98b
test eax, eax
jne 0x4ad164b8
xor esi, esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.vKERNEL32.dll_GetFileAttributesW]
cmp dword [ebp - 0x638], esi
jne 0x4ad0c729
cmp dword [ebp - 0x660], esi
je 0x4ad0c709
cmp eax, 0xffffffff
mov dword [ebp - 0x648], esi
jne 0x4ad1651b
mov dword [ebp - 0x660], esi
and dword [ebx + 0x18], 0xfffffffb
cmp byte [0x4ad2fa64], 0
mov ecx, dword [ebx + 0x18]
je 0x4ad1652e
cmp dword [ebp - 0x648], esi
jne 0x4ad16572
cmp dword [0x4ad33b50], esi
je 0x4ad0c755
mov ecx, dword [ebp - 0x634]
mov ecx, dword [ecx + 0x1c]
cmp ecx, esi
je 0x4ad0c748
test byte [ecx + 0x18], 8
jne 0x4ad11a57
cmp dword [0x4ad33b3c], 3
je 0x4ad16589
test al, 6
je 0x4ad11a22
or dword [ebp - 0x620], 0xffffffff
mov dword [0x4ad2ba04], 5
cmp dword [ebp - 0x620], 0xffffffff
mov dword [ebp - 0x650], esi
jne 0x4ad165bb
mov dword [ebp - 0x65c], esi
cmp dword [ebp - 0x66c], edi
je 0x4ad165f7
mov eax, dword [ebx + 0x18]
test al, 8
jne 0x4ad0c7a7
cmp dword [0x4ad33b3c], 3
je 0x4ad16627
mov eax, dword [ebx + 0x18]
test al, 8
jne 0x4ad118c5
push dword [ebx + 0x18]
lea eax, [ebp - 0x624]
push eax
push dword [ebp - 0x630]
call fcn.4ad0e385
cmp dword [0x4ad33b3c], 3
je 0x4ad11a31
test byte [ebx + 0x18], 1
je 0x4ad11a31
cmp dword [ebp - 0x620], 0xffffffff
jne 0x4ad1666a
test byte [ebx + 0x19], 4
jne 0x4ad16681
mov eax, dword [0x4ad2fa6c]
test eax, eax
push dword [ebp - 0x654]
je 0x4ad166c6
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 0x4ad166db
cmp dword [ebp - 0x650], esi
jne 0x4ad0c859
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.vKERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.vKERNEL32.dll_SetFileAttributesW]
cmp dword [0x4ad33b30], esi
jne 0x4ad16742
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.4ad02e00
cmp dword [0x4ad33b3c], 3
je 0x4ad0c8bc
cmp dword [0x4ad2b9e8], esi
jne 0x4ad16bb1
lea eax, [ebp - 0x680]
push eax
push dword [ebp - 0x620]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x634]
push ebx
call fcn.4ad0e3b8
mov dword [0x4ad33b4c], edi
mov dword [0x4ad33b50], esi
xor esi, esi
push dword [ebp - 0x62c]
push 0x21
push dword [ebx + 0x14]
call fcn.4ad0649c
test al, al
jne 0x4ad0c4d0
push dword [ebp - 0x62c]
call fcn.4ad01c24
jmp 0x4ad0c4a4
cmp dword [0x4ad33b3c], 3
je 0x4ad16bd4
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
jne 0x4ad0c7b2
jmp 0x4ad16642
cmp dword [0x4ad33b3c], 3
jne 0x4ad0c4fd
jmp 0x4ad16324
push dword [ebx + 4]
push str._s_r_n
call fcn.4ad05e00
cmp dword [0x4ad33b3c], 3
pop ecx
pop ecx
jne 0x4ad0c514
cmp dword [0x4ad33b50], esi
jne 0x4ad0c514
jmp 0x4ad0c54f
mov dword [ebp - 0x638], eax
jmp 0x4ad0c5c4
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.vmsvcrt.dll_wcscpy]
pop ecx
pop ecx
jmp 0x4ad0c542
cmp dword [0x4ad33b50], 0
jne 0x4ad0c629
jmp 0x4ad0c787
test eax, eax
je 0x4ad0c4fd
jmp 0x4ad0c8c4
test byte [ebx + 0x19], 4
je 0x4ad165a4
jmp 0x4ad0c76e
cmp dword [ebp - 0x620], 0xffffffff
je 0x4ad1698b
jmp 0x4ad169e2
push 0
push eax
call fcn.4ad0bfae
jmp 0x4ad16c28
mov eax, edi
jmp 0x4ad0e486
cmp dword [ebx + 0x1c], esi
jne 0x4ad0c748
mov dword [0x4ad33b3c], edi
jmp 0x4ad0c748
mov eax, dword [edx + 0x18]
jmp 0x4ad0c45c
push edi
lea eax, [ebp - 0x668]
push eax
push 0x80
push dword [ebp - 0x658]
call fcn.4ad0ca49
cmp eax, esi
mov dword [ebp - 0x64c], eax
je 0x4ad11a50
jmp 0x4ad0c4a4
push dword [ebx + 4]
lea eax, [ebp - 0x414]
push eax
call fcn.4ad1d645
jmp 0x4ad11a15
push dword [0x4ad2ba04]
call fcn.4ad0c21a
cmp dword [0x4ad33b3c], 3
jne 0x4ad1636c
cmp dword [ebp - 0x620], 0xffffffff
jne 0x4ad1636c
push dword [ebx + 4]
lea eax, [ebp - 0x20c]
push eax
call fcn.4ad1d645
test eax, eax
jne 0x4ad0c29a
mov dword [ebp - 0x644], edi
jmp 0x4ad0c8c4
mov eax, 0x80
or dword [ebx + 0x18], eax
mov dword [ebp - 0x63c], eax
mov eax, dword [ebx + 0x18]
test al, 1
je 0x4ad0c599
and eax, 0xfffffffe
or eax, 4
mov dword [ebx + 0x18], eax
jmp 0x4ad0c599
mov ecx, dword [ebp - 0x658]
mov eax, dword [ebp - 0x668]
cmp ecx, eax
jae 0x4ad0c587
mov dword [ebp - 0x63c], ecx
jmp 0x4ad0c58d
or eax, 2
jmp 0x4ad0c5b4
cmp dword [0x4ad33b50], esi
je 0x4ad0c5c4
test al, 8
jne 0x4ad0c5c4
cmp dword [0x4ad33b3c], 3
jne 0x4ad0c5c4
and eax, 0xfffffffe
or eax, 2
mov dword [ebx + 0x18], eax
jmp 0x4ad0c5c4
push dword [ebp - 0x628]
call fcn.4ad02e00
push 0x6e
call fcn.4ad0c21a
cmp dword [0x4ad33b3c], 3
je 0x4ad16c45
mov dword [ebp - 0x644], edi
jmp 0x4ad0c8c2
test byte [ebx + 0x18], 0x80
jne 0x4ad0c643
push dword [ebp - 0x628]
call fcn.4ad02e00
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.4ad1d8b8
xor esi, esi
cmp dword [0x4ad33b50], esi
je 0x4ad1648e
cmp dword [0x4ad33b3c], 3
jne 0x4ad16488
and dword [ebx + 0x18], 0xfffffffe
cmp dword [ebp - 0x638], esi
mov eax, dword [ebx + 0x18]
jne 0x4ad1647f
or eax, 2
jmp 0x4ad16485
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.4ad0e385
jmp 0x4ad0c8bc
push dword [ebp - 0x628]
call fcn.4ad02e00
jmp 0x4ad0c8c2
test byte [ebx + 0x18], 0x80
jne 0x4ad0c6d5
push dword [ebp - 0x628]
call fcn.4ad02e00
mov eax, dword [0x4ad33b50]
xor esi, esi
cmp eax, esi
je 0x4ad164f6
mov ecx, dword [ebp - 0x634]
mov ecx, dword [ecx + 0x1c]
cmp ecx, esi
je 0x4ad164f6
test byte [ecx + 0x18], 8
je 0x4ad164f6
cmp dword [ebx + 0x1c], esi
jne 0x4ad164f6
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.4ad1d8b8
jmp 0x4ad0c6d7
test al, 0x10
je 0x4ad0c703
mov dword [ebp - 0x648], edi
jmp 0x4ad0c703
test cl, 8
je 0x4ad0c71d
cmp dword [0x4ad33b3c], 3
jne 0x4ad0c71d
cmp dword [ebp - 0x648], esi
mov dword [ebp - 0x664], 3
jne 0x4ad0c729
mov edx, dword [ebp - 0x634]
mov edx, dword [edx + 0x1c]
cmp edx, esi
je 0x4ad1656d
test byte [edx + 0x18], 8
jne 0x4ad1657f
or ecx, 2
jmp 0x4ad16581
cmp dword [ebp - 0x664], 3
jne 0x4ad0c729
or ecx, edi
mov dword [ebx + 0x18], ecx
jmp 0x4ad0c729
mov ecx, dword [ebp - 0x638]
cmp ecx, esi
jne 0x4ad1659c
mov ecx, dword [ebx + 0x18]
and ecx, 0xfffffffe
or ecx, 2
mov dword [ebx + 0x18], ecx
jmp 0x4ad0c755
lea eax, [ebp - 0x20c]
push eax
call fcn.4ad1e11e
mov dword [ebp - 0x620], eax
jmp 0x4ad0c76e
push dword [ebp - 0x620]
mov dword [ebp - 0x65c], edi
call fcn.4ad02c65
test eax, eax
je 0x4ad0c787
cmp dword [ebp - 0x638], esi
mov dword [ebp - 0x650], edi
jne 0x4ad0c787
mov eax, dword [ebx + 0x18]
and eax, 0xfffffffe
or eax, 2
mov dword [ebx + 0x18], eax
jmp 0x4ad0c787
cmp dword [0x4ad33b3c], 3
jne 0x4ad0c793
and dword [ebx + 0x18], 0xfffffffe
cmp dword [ebp - 0x638], 0
mov eax, dword [ebx + 0x18]
jne 0x4ad16619
or eax, 2
jmp 0x4ad1661f
or eax, dword [ebp - 0x638]
mov dword [ebx + 0x18], eax
jmp 0x4ad0c793
cmp dword [ebp - 0x638], 0
jne 0x4ad0c7a7
and eax, 0xfffffffe
or eax, 2
mov dword [ebx + 0x18], eax
jmp 0x4ad0c7a7
cmp dword [ebp - 0x648], 0
jne 0x4ad0c7b2
cmp dword [ebp - 0x638], 0
jne 0x4ad0c7b2
and eax, 0xfffffffe
or eax, 2
mov dword [ebx + 0x18], eax
jmp 0x4ad0c7b2
push dword [ebp - 0x620]
call fcn.4ad02e00
or dword [ebp - 0x620], 0xffffffff
jmp 0x4ad0c7eb
push dword [ebx + 4]
call fcn.4ad1e207
test eax, eax
jne 0x4ad1669d
lea eax, [ebp - 0x20c]
push eax
call fcn.4ad1e207
test eax, eax
je 0x4ad1669f
mov eax, edi
mov ecx, dword [ebp - 0x654]
or ecx, 2
push ecx
push 0
push eax
push 0x4ad1d5a1
lea eax, [ebp - 0x20c]
push eax
push dword [ebx + 4]
call dword [0x4ad2fa6c]
jmp 0x4ad0c81d
lea eax, [ebp - 0x20c]
push eax
push dword [ebx + 4]
call dword [sym.imp.vKERNEL32.dll_CopyFileW]
jmp 0x4ad0c81d
call dword [sym.imp.vKERNEL32.dll_GetLastError]
push dword [ebp - 0x628]
mov dword [0x4ad2ba04], eax
call fcn.4ad02e00
cmp dword [ebp - 0x650], esi
je 0x4ad166fc
push 0x1d
pop esi
xor eax, eax
cmp dword [0x4ad2ba04], eax
mov dword [0x4ad33b18], eax
jne 0x4ad16715
mov dword [0x4ad2ba04], 0x70
cmp dword [0x4ad2b9e8], eax
je 0x4ad16721
xor esi, esi
jmp 0x4ad16730
cmp esi, eax
jne 0x4ad16730
push dword [0x4ad2ba04]
call fcn.4ad0c21a
cmp dword [ebp - 0x65c], 0
je 0x4ad169d1
jmp 0x4ad0c2a5
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.4ad1e100
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x620], esi
je 0x4ad1691b
push esi
call fcn.4ad02c65
test eax, eax
push esi
jne 0x4ad1697a
call dword [sym.imp.vmsvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.vKERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x4ad1679d
lea eax, [ebp - 0x20c]
push eax
push edi
push 0x271f
call fcn.4ad05fb5
add esp, 0xc
push esi
jmp 0x4ad1697a
push esi
call fcn.4ad02e00
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.4ad0e8ae
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x620], esi
je 0x4ad1691b
push esi
call fcn.4ad02c65
test eax, eax
jne 0x4ad16782
mov esi, dword [sym.imp.vmsvcrt.dll__get_osfhandle]
push eax
push eax
push eax
push dword [ebp - 0x628]
call esi
pop ecx
push eax
call dword [sym.imp.vKERNEL32.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.vKERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x678]
push eax
push dword [ebp - 0x628]
call esi
pop ecx
push eax
call dword [sym.imp.vKERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [ebp - 0x670]
push eax
push dword [ebp - 0x620]
call dword [sym.imp.vmsvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.vKERNEL32.dll_GetFileSize]
cmp esi, eax
jne 0x4ad1695f
mov eax, dword [ebp - 0x678]
cmp eax, dword [ebp - 0x670]
jne 0x4ad1695f
and dword [ebp - 0x640], 0
mov edi, dword [sym.imp.vmsvcrt.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.vKERNEL32.dll_ReadFile]
pop ecx
push eax
call esi
test eax, eax
je 0x4ad168ec
cmp dword [ebp - 0x624], 0
je 0x4ad168ec
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 0x4ad16906
mov ecx, dword [ebp - 0x624]
cmp dword [ebp - 0x674], ecx
jne 0x4ad16906
cmp dword [ebp - 0x63c], ecx
je 0x4ad168ce
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 0x4ad16935
cmp dword [ebp - 0x640], eax
je 0x4ad1684f
push dword [ebp - 0x620]
call fcn.4ad02e00
or dword [ebp - 0x620], 0xffffffff
xor edi, edi
inc edi
jmp 0x4ad0c859
push dword [ebp - 0x620]
call fcn.4ad02e00
or dword [ebp - 0x620], 0xffffffff
xor edi, edi
inc edi
lea eax, [ebp - 0x20c]
push eax
push edi
push 0x271f
call fcn.4ad05fb5
add esp, 0xc
jmp 0x4ad0c859
push dword [ebp - 0x620]
call fcn.4ad02e00
or dword [ebp - 0x620], 0xffffffff
lea eax, [ebp - 0x20c]
push eax
push 1
push 0x271f
call fcn.4ad05fb5
add esp, 0xc
jmp 0x4ad168fe
lea eax, [ebp - 0x20c]
push eax
push edi
push 0x271f
call fcn.4ad05fb5
add esp, 0xc
push dword [ebp - 0x620]
call fcn.4ad02e00
or dword [ebp - 0x620], 0xffffffff
jmp 0x4ad0c859
xor esi, esi
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.4ad1e100
cmp eax, 0xffffffff
mov dword [ebp - 0x620], eax
jne 0x4ad169e2
push dword [ebp - 0x628]
call fcn.4ad02e00
cmp dword [0x4ad33b38], esi
jne 0x4ad169c4
push dword [0x4ad2ba04]
call fcn.4ad0c21a
cmp dword [0x4ad33b3c], 3
je 0x4ad0c29a
mov dword [ebp - 0x644], edi
mov dword [0x4ad33b4c], edi
jmp 0x4ad0c8c2
cmp dword [0x4ad33b50], 0
jne 0x4ad16a27
cmp dword [0x4ad33b3c], 3
jne 0x4ad16a27
mov eax, dword [ebx + 0x18]
test al, 2
je 0x4ad16a27
mov esi, 0x4000
test esi, eax
je 0x4ad16a2c
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.vmsvcrt.dll_memmove]
add esp, 0xc
jmp 0x4ad16a2c
mov esi, 0x4000
test dword [ebx + 0x18], esi
je 0x4ad16a46
mov ecx, dword [ebp - 0x634]
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4ad16a43
or dword [eax + 0x18], esi
jmp 0x4ad16a46
or dword [ecx + 0x18], esi
cmp dword [0x4ad33b18], 0
je 0x4ad16a61
cmp dword [ebp - 0x624], 0
jg 0x4ad16b3b
jmp 0x4ad0c859
cmp dword [ebp - 0x640], edi
jne 0x4ad16b15
push dword [ebp - 0x628]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x624]
push dword [ebp - 0x630]
push dword [ebp - 0x620]
call fcn.4ad1d974
xor esi, esi
cmp dword [0x4ad33b30], esi
je 0x4ad16ad7
push dword [ebp - 0x620]
call fcn.4ad02c65
test eax, eax
jne 0x4ad16ad7
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.4ad1d7c8
cmp eax, edi
je 0x4ad0c29a
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.4ad0e551
cmp dword [0x4ad33b18], esi
mov dword [ebp - 0x640], eax
je 0x4ad16a61
cmp dword [0x4ad33b18], 0
je 0x4ad0c859
cmp dword [ebp - 0x624], 0
jle 0x4ad0c859
cmp dword [ebp - 0x640], edi
jne 0x4ad0c859
push dword [ebp - 0x628]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x624]
push dword [ebp - 0x630]
push dword [ebp - 0x620]
call fcn.4ad1d974
cmp dword [0x4ad33b30], 0
je 0x4ad0c859
push dword [ebp - 0x620]
call fcn.4ad02c65
test eax, eax
jne 0x4ad0c859
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.4ad1d7c8
cmp eax, edi
jne 0x4ad0c859
jmp 0x4ad16c45
push dword [ebp - 0x620]
call fcn.4ad02e00
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.vKERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x644], edi
jmp 0x4ad0c8b6
cmp dword [ebp - 0x620], 0xffffffff
je 0x4ad0e480
push esi
push dword [ebp - 0x620]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x634]
push ebx
call fcn.4ad0e3b8
jmp 0x4ad0e480
push dword [ebp - 0x62c]
call fcn.4ad01c24
cmp dword [ebp - 0x620], 0xffffffff
je 0x4ad11a50
push dword [ebp - 0x620]
call fcn.4ad02e00
jmp 0x4ad11a50
pop ecx
pop ecx
push dword [ebp - 0x628]
call fcn.4ad02e00
push dword [ebp - 0x62c]
call fcn.4ad01c24
jmp 0x4ad11a50
push dword [ebp - 0x62c]
call fcn.4ad01c24
push edi
push 0
jmp 0x4ad0c2a7