Function at 0x46ec69
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcbbf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x98
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x46ecd7
lea eax, [ebp + 0x18]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x46ecb0
push 1
call fcn.0046ef94
pop ecx
jmp 0x46ecd2
push 1
push 0xd55
push 0x617d
push 0x56a1
push 1
push 1
push 0x3547
call fcn.0045be3f
add esp, 0x1c
jmp 0x46ef83
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x28], 0x7b55
mov dword [ebp - 0x60], str.epgvhic_tez_qmorfiu_blbcy_cfgwnwu_wlbjwcwkb_onteylb
cmp dword [ebp - 0x28], 0x7d22
jle 0x46ed9f
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
and dword [ebp - 0x1c], 0
jmp 0x46ed2b
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3a84
jge 0x46ed89
and dword [ebp - 0x20], 0
jmp 0x46ed41
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2aac
jge 0x46ed87
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sar eax, cl
cdq
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
lea ecx, [ebp - 0xa8]
call fcn.00401a01
pop ecx
pop ecx
mov ecx, eax
call fcn.004063c6
push eax
call fcn.004a68c7
pop ecx
lea ecx, [ebp - 0xa8]
call fcn.004063bc
jmp 0x46ed3a
jmp 0x46ed24
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x46ef2a
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x46eedd
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x14]
imul eax, dword [ecx]
mov ecx, dword [ebp - 0x14]
imul eax, dword [ecx]
mov ecx, dword [ebp - 0x14]
imul eax, dword [ecx]
test eax, eax
je 0x46ee33
push 0
call fcn.0047418c
pop ecx
jmp 0x46eedb
mov dword [ebp - 0x30], 0xddce
push 2
lea ecx, [ebp - 0x88]
call fcn.00406726
push 0
lea eax, [ebp - 0x88]
push eax
push 0
push 1
push 0x2916
push 0xd13
push 1
push 0
lea eax, [ebp - 0x90]
push eax
call fcn.00469694
add esp, 0x24
lea eax, [ebp - 0x30]
push eax
push 0x45e9
push 0x1233
push 0x485e
push 0x36f7
push 0x3eb8
push 0
push 0x212c
push 1
push 0x3572
push dword [ebp - 0x24]
push 0
push 0x90e
push 1
push 0x48c1
call fcn.00461d27
add esp, 0x3c
push dword [ebp - 0x14]
lea eax, [ebp - 0x88]
push eax
push 0x20f1
push 0
push 0
call fcn.0047081d
add esp, 0x14
lea ecx, [ebp - 0x88]
call fcn.004067f8
jmp 0x46ef28
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x46ef0b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 1
jge 0x46ef28
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x58]
call fcn.00406814
mov dword [eax], 0x2d3d4782
jmp 0x46ef00
jmp 0x46ef47
push 0x382c
push 0x6ee6
push 1
push 1
push 0
push 0x553d
call fcn.0045abd9
add esp, 0x18
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x7a1a
jge 0x46ef5d
push dword [ebp - 0x60]
call fcn.004a68c7
pop ecx
jmp 0x46ef79
or dword [ebp - 4], 0xffffffff
jmp 0x46ef83
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret