Function at 0x418fd0
Capabilities:
Delete directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov dword [ebp - 0x40], 0x7807
mov dword [ebp - 0x38], 0x150c
mov dword [ebp - 4], 0x166ec
mov dword [ebp - 0x30], 0xbf7d
mov dword [ebp - 0xc], 0x53f
mov dword [ebp - 0x3c], 0x106cf
mov dword [ebp - 0x24], 0x180a0
mov dword [ebp - 8], 0x15bea
mov dword [ebp - 0x14], 0x13599
mov dword [ebp - 0x34], 0x9b81
mov dword [ebp - 0x28], 0xb8b6
mov dword [ebp - 0x10], 0xddc5
mov dword [ebp - 0x2c], 0xd7ca
mov dword [ebp - 0x1c], 0xf7ca
mov dword [ebp - 0x8c], 0x5142
mov dword [ebp - 0xf8], 0x3ee2
mov dword [ebp - 0x48], 0x14a2d
mov dword [ebp - 0x50], 0xef76
mov dword [ebp - 0xfc], 0xbfee
mov dword [ebp - 0x5c], 0x9681
mov dword [ebp - 0x20], 0x39cf
mov dword [ebp - 0x18], 0xc831
mov dword [ebp - 0x4c], 0xd09b
mov dword [ebp - 0x44], 0xcd9
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x14]
je 0x4193db
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 0x14]
jge 0x4190a7
mov dword [ebp - 0x60], 1
jmp 0x4190ae
mov dword [ebp - 0x60], 0
mov edx, dword [ebp - 0x38]
xor edx, dword [ebp - 0x60]
je 0x4193db
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x48]
jge 0x4190cb
mov dword [ebp - 0x64], 1
jmp 0x4190d2
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x28]
jge 0x4190e3
mov dword [ebp - 0x68], 1
jmp 0x4190ea
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 0x64]
or edx, dword [ebp - 0x68]
je 0x4193db
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x14]
jne 0x4193db
mov ecx, dword [ebp + 0x20]
cmp ecx, dword [ebp - 0xc]
jne 0x4193db
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x4c]
jge 0x41911f
mov dword [ebp - 0x6c], 1
jmp 0x419126
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x40]
and eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 8]
xor ecx, dword [ebp - 0x38]
and eax, ecx
je 0x4193c3
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp + 0x1c]
jne 0x4193c3
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x30]
jne 0x4193c3
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x2c]
jne 0x4193c3
mov edx, dword [ebp + 0x1c]
cmp edx, dword [ebp + 0x18]
jne 0x4193c3
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x28]
jne 0x4193c3
push 0x1385e
push 0x822e
push 0x1766e
push 0x3bc6
push 0x1154a
push 0x3c4f
push 0xdd0c
push 0x4391
push 0x8802
call dword [sym.imp.KERNEL32.dll_GetThreadIOPendingFlag]
add esp, 0x24
mov ecx, dword [ebp + 0x20]
cmp ecx, dword [ebp - 0x38]
jge 0x4191c0
mov dword [ebp - 0x70], 1
jmp 0x4191c7
mov dword [ebp - 0x70], 0
mov edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x10]
or edx, dword [ebp - 0x70]
je 0x4193c3
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 4]
jne 0x4193c3
mov ecx, dword [ebp - 0x8c]
cmp ecx, dword [ebp - 0x30]
jne 0x4193c3
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x30]
jne 0x4193c3
push 0xc5b6
push 0x96ec
push 0xbf98
call dword [sym.imp.KERNEL32.dll_WriteFileEx]
add esp, 0xc
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jge 0x419226
mov dword [ebp - 0x74], 1
jmp 0x41922d
mov dword [ebp - 0x74], 0
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x3c]
jge 0x419241
mov dword [ebp - 0x78], 1
jmp 0x419248
mov dword [ebp - 0x78], 0
mov edx, dword [ebp - 0x48]
xor edx, dword [ebp - 8]
and edx, dword [ebp - 0x74]
and edx, dword [ebp - 0x78]
je 0x4193c3
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0xc0]
jge 0x41928c
mov dword [ebp - 0x7c], 1
jmp 0x419293
mov dword [ebp - 0x7c], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x34]
jge 0x4192a4
mov dword [ebp - 0x80], 1
jmp 0x4192ab
mov dword [ebp - 0x80], 0
mov edx, dword [ebp - 0x7c]
and edx, dword [ebp - 0x80]
je 0x4193bd
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 0x20]
jne 0x4193bd
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x10]
jne 0x4193bd
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp + 0x18]
jne 0x4193bd
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x4c]
jne 0x4193bd
mov ecx, dword [ebp - 0x3c]
xor ecx, dword [ebp - 0x50]
mov edx, dword [ebp + 0x1c]
add edx, dword [ebp + 0xc]
or ecx, edx
je 0x4193bd
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 0x10]
jne 0x4193bd
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0xc]
jne 0x4193bd
mov edx, dword [ebp + 0x20]
cmp edx, dword [ebp - 0x18]
jne 0x4193bd
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x48]
jne 0x4193bd
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x5c]
jne 0x4193bd
push 0xf7b0
push 0xc4c2
push 0xd289
push 0x177ae
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
add esp, 0x10
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0xc]
jge 0x419368
mov dword [ebp - 0x84], 1
jmp 0x419372
mov dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x2c]
jge 0x419386
mov dword [ebp - 0x88], 1
jmp 0x419390
mov dword [ebp - 0x88], 0
mov ecx, dword [ebp - 0x84]
and ecx, dword [ebp - 0x88]
je 0x4193bd
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x34]
jne 0x4193bd
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x4c]
jne 0x4193bd
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call dword [sym.imp.KERNEL32.dll_CreateThreadpoolCleanupGroup]
push 0xd9b9
push 0xf51a
push 0x4f15
call dword [sym.imp.KERNEL32.dll_CompareStringEx]
add esp, 0xc
mov dword [ebp - 0x54], 0
jmp 0x4193ed
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0xc]
sub eax, 0x53e
cmp dword [ebp - 0x54], eax
jge 0x41942e
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xc4], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc8], edx
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xc4]
cmp ecx, dword [ebp - 0xc8]
jge 0x41942c
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
jmp 0x4193e4
mov dword [ebp - 0x58], 0
jmp 0x419440
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 0xddc4
cmp dword [ebp - 0x58], ecx
jge 0x4195e2
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x5c]
jge 0x419466
mov dword [ebp - 0x98], 1
jmp 0x419470
mov dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x8c]
jge 0x419487
mov dword [ebp - 0x90], 1
jmp 0x419491
mov dword [ebp - 0x90], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xcc], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xcc]
cmp ecx, dword [ebp - 0xd0]
jge 0x4194c6
mov dword [ebp - 0x94], 1
jmp 0x4194d0
mov dword [ebp - 0x94], 0
mov edx, dword [ebp - 8]
and edx, dword [ebp - 0x90]
and edx, dword [ebp - 0x94]
or edx, dword [ebp - 0x98]
je 0x4195dd
mov eax, dword [ebp - 0x48]
xor eax, dword [ebp - 0x20]
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0x20]
sub edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0xd4]
cmp eax, dword [ebp - 0xd8]
jge 0x4195dd
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp + 0x10]
jne 0x4195dd
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x34]
jne 0x4195dd
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x38]
jne 0x4195dd
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xdc]
cmp edx, dword [ebp - 0xe0]
jge 0x41957d
mov dword [ebp - 0x9c], 1
jmp 0x419587
mov dword [ebp - 0x9c], 0
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x2c]
and edx, ecx
or edx, dword [ebp - 0x9c]
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
cmp dword [ebp - 0xe4], 0
je 0x4195dd
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
push 0x710a
push 0x14542
push 0x12ca7
call dword [sym.imp.KERNEL32.dll_GetDllDirectoryW]
add esp, 0xc
jmp 0x419437
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x50]
jge 0x4195f9
mov dword [ebp - 0xa0], 1
jmp 0x419603
mov dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xc]
sub eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0xe8], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xec], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xe8]
cmp ecx, dword [ebp - 0xec]
jge 0x419641
mov dword [ebp - 0xa4], 1
jmp 0x41964b
mov dword [ebp - 0xa4], 0
mov edx, dword [ebp - 0xa0]
and edx, dword [ebp - 0xa4]
je 0x41983b
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0xf4], ecx
mov edx, dword [ebp - 0x44]
sub edx, 1
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0xf0]
cmp eax, dword [ebp - 0xf4]
jge 0x419692
mov dword [ebp - 0xa8], 1
jmp 0x41969c
mov dword [ebp - 0xa8], 0
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0x24]
jge 0x4196b0
mov dword [ebp - 0xac], 1
jmp 0x4196ba
mov dword [ebp - 0xac], 0
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jge 0x4196d7
mov dword [ebp - 0xb0], 1
jmp 0x4196e1
mov dword [ebp - 0xb0], 0
mov ecx, dword [ebp - 0xa8]
and ecx, dword [ebp - 0x48]
xor ecx, dword [ebp - 0xac]
or ecx, dword [ebp - 0xb0]
je 0x41983b
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x10]
jne 0x41983b
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x28]
jne 0x41983b
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x1c]
jne 0x41983b
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x40]
jne 0x41983b
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp + 0x1c]
jne 0x41983b
mov ecx, dword [ebp - 0xf8]
or ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 4]
jge 0x419752
mov dword [ebp - 0xb4], 1
jmp 0x41975c
mov dword [ebp - 0xb4], 0
mov edx, dword [ebp + 8]
cmp edx, dword [ebp - 0x14]
jge 0x419770
mov dword [ebp - 0xb8], 1
jmp 0x41977a
mov dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb4]
or eax, dword [ebp - 0xb8]
je 0x419819
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x4c]
jne 0x419819
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x18]
jne 0x419819
push 0x133f6
push 0x16740
push 0x985c
push 0x17d74
push 0x77f8
push 0x15290
push 0x12d1d
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryTransactedW]
add esp, 0x1c
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0xfc]
cmp eax, dword [ebp - 0x1c]
jge 0x419819
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp + 0xc]
jne 0x419819
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x1c]
jne 0x419819
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x34]
jne 0x419819
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0xc]
jne 0x419819
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ebp - 0x10]
jne 0x419819
push 0x135a6
call dword [sym.imp.KERNEL32.dll_TrySubmitThreadpoolCallback]
add esp, 4
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
push 0x209a
push 0x17e01
push 0x1194c
push 0xdb65
push 0x15545
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
add esp, 0x14
mov esp, ebp
pop ebp
ret