Function at 0x422680
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4f16c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
mov ebp, ecx
push esi
lea ecx, [ebp + 4]
push edi
mov dword [esp + 0x24], ecx
call fcn.00401300
push str.Evacuate.ini
lea ebx, [ebp + 0x28]
lea eax, [esp + 0x1c]
push ebx
push eax
mov dword [esp + 0x3c], 0
call fcn.00401e30
mov eax, dword [eax]
sub eax, 0x10
push eax
mov byte [esp + 0x40], 1
call fcn.00401660
add esp, 0x10
add eax, 0x10
push 0x80
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x30], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42270e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
call fcn.004df219
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x30], 4
call fcn.004df219
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
push str.FileName
push 0x4fcf54
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 5
call fcn.0047d230
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
mov edi, eax
mov eax, dword [ebp + 0x6c]
test eax, eax
lea esi, [ecx + 1]
je 0x422772
push eax
call fcn.004df1b9
add esp, 4
push esi
mov dword [ebp + 0x68], esi
call fcn.004df1be
add esp, 4
test edi, edi
mov dword [ebp + 0x6c], eax
je 0x422799
mov ecx, esi
mov edx, ecx
mov esi, edi
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push ebx
push ecx
call fcn.00409450
mov eax, dword [eax]
push eax
lea esi, [ebp + 0x60]
push esi
mov byte [esp + 0x44], 6
call fcn.00481470
mov edi, eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x30], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4227e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor ecx, ecx
cmp edi, ecx
je 0x42281a
mov eax, dword [esi]
mov edx, eax
cmp edx, ecx
mov dword [ebp + 0x70], eax
jbe 0x422807
mov esi, dword [esi + 4]
push 0xffffffffffffffff
push eax
push esi
call fcn.0047c260
add esp, 0xc
mov dword [ebp + 0x74], eax
jmp 0x422820
push 0xffffffffffffffff
push eax
xor esi, esi
push esi
call fcn.0047c260
add esp, 0xc
mov dword [ebp + 0x74], eax
jmp 0x422820
mov dword [ebp + 0x70], ecx
mov dword [ebp + 0x74], ecx
lea eax, [ebp + 0x3c]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00488af0
lea edx, [ebp + 0x4c]
push edx
add ebp, 0x24
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.00488820
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x30], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x42286a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp]
add eax, 0xfffffff0
mov byte [esp + 0x20], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42288c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 4]
add eax, 0xfffffff0
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4228af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov dword [esp + 0x20], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret