Function at 0x42ec20
Capabilities:
Contain obfuscated stackstrings
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52163a
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x595be0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp + 8]
call fcn.004288a0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0x18]
mov dx, word [ecx]
mov word [ebp - 0x22], dx
add dword [ebp - 0x18], 2
cmp word [ebp - 0x22], 0
jne 0x42ec68
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xf4]
sar eax, 1
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
add eax, 2
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004fe866
add esp, 4
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x14], eax
push 0
lea ecx, [ebp + 8]
call fcn.004288a0
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 2
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.005009eb
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov word [edx + ecx*2], ax
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov word [edx + ecx*2 + 2], ax
movzx eax, byte [0x59d188]
test eax, eax
je 0x42edc1
lea ecx, [ebp - 0x20]
call fcn.0042a230
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
push ecx
push str.pszFrom___s_
lea edx, [ebp - 0x20]
push edx
call fcn.0042a490
add esp, 0xc
push 0x562258
lea ecx, [ebp - 0x50]
call fcn.00428940
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.0042a230
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
lea eax, [ebp - 0xdc]
push eax
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x74], ecx
mov byte [ebp - 4], 4
push 0
mov edx, dword [ebp - 0x74]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.0042b420
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xdc]
call fcn.00428a40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.00428a40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00428a40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00428a40
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 3
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x150], 0
mov edx, 0x14
mov word [ebp - 0x14c], dx
movzx eax, byte [ebp + 0xc]
test eax, eax
jne 0x42ee0d
movzx ecx, word [ebp - 0x14c]
or ecx, 0x40
mov word [ebp - 0x14c], cx
mov dword [ebp - 0x14a], 0
mov dword [ebp - 0x142], 0
mov dword [ebp - 0x146], 0
lea edx, [ebp - 0x15c]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.004fe861
add esp, 4
cmp dword [ebp - 0x28], 0
jne 0x42ee62
mov dword [ebp - 0x2c], 1
jmp 0x42ee69
mov dword [ebp - 0x2c], 0
mov dl, byte [ebp - 0x2c]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x42f36b
push 0x5622bc
lea ecx, [ebp - 0x40]
call fcn.00428940
mov byte [ebp - 4], 5
push str.SHFileOperation_path
lea ecx, [ebp - 0x48]
call fcn.004289c0
mov byte [ebp - 4], 6
push 0x562324
lea ecx, [ebp - 0x38]
call fcn.00428940
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xbc]
call fcn.0042a230
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0xe4], ecx
mov byte [ebp - 4], 8
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0xe4]
push eax
lea ecx, [ebp - 0xfc]
push ecx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x114], edx
mov byte [ebp - 4], 9
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x114]
push ecx
lea edx, [ebp - 0xb4]
push edx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0xec]
push edx
lea eax, [ebp - 0x11c]
push eax
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x12c], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x12c]
push eax
lea ecx, [ebp - 0xac]
push ecx
call fcn.0042a8b0
add esp, 0xc
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x58], edx
mov byte [ebp - 4], 0xc
push 2
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.0042b420
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xac]
call fcn.00428a40
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x11c]
call fcn.00428a40
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xb4]
call fcn.00428a40
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xfc]
call fcn.00428a40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xbc]
call fcn.00428a40
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.00428a40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
call fcn.00428a40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00428a40
push 0x5622d0
lea ecx, [ebp - 0x30]
call fcn.00428940
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x78]
call fcn.0042a230
mov dword [ebp - 0x13c], eax
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0xc4], edx
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xc4]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0xcc]
push edx
lea eax, [ebp - 0x68]
push eax
call fcn.0042a8b0
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x60]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.0042d650
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x68]
call fcn.00428a40
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x70]
call fcn.00428a40
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x78]
call fcn.00428a40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00428a40
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x42f363
push str.RemoveDirectory_error
lea ecx, [ebp - 0x3c]
call fcn.004289c0
mov byte [ebp - 4], 0x11
push str.DeleteFileSystemElement
lea ecx, [ebp - 0x34]
call fcn.00428940
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xc0]
call fcn.0042a230
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x88], ecx
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0xb8]
push ecx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x98], edx
mov byte [ebp - 4], 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x98]
push eax
lea ecx, [ebp - 0xb0]
push ecx
call fcn.0042a8b0
add esp, 0xc
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], edx
mov byte [ebp - 4], 0x15
push 2
mov eax, dword [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.0042b420
add esp, 0xc
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xb0]
call fcn.00428a40
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xb8]
call fcn.00428a40
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xc0]
call fcn.00428a40
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x34]
call fcn.00428a40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00428a40
push str.RemoveDirectory_error_
lea ecx, [ebp - 0x44]
call fcn.00428940
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xf0]
call fcn.0042a230
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xd0], edx
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0xd0]
push ecx
lea edx, [ebp - 0xe8]
push edx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0xe0]
push ecx
lea edx, [ebp - 0x54]
push edx
call fcn.0042a8b0
add esp, 0xc
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xe8]
call fcn.00428a40
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0xf0]
call fcn.00428a40
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x44]
call fcn.00428a40
push 0x5622cc
lea ecx, [ebp - 0x4c]
call fcn.00428940
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x138]
call fcn.0042a230
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x100]
push edx
lea eax, [ebp - 0x130]
push eax
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x110], ecx
mov byte [ebp - 4], 0x1f
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x110]
push eax
lea ecx, [ebp - 0x128]
push ecx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x120], edx
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.004309d0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x128]
call fcn.00428a40
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x130]
call fcn.00428a40
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x138]
call fcn.00428a40
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x4c]
call fcn.00428a40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00428a40
jmp 0x42f36b
mov ecx, dword [ebp + 0x10]
call fcn.00428830
mov cl, byte [ebp - 0xd]
mov byte [ebp - 0xe], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00428a40
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret