Function at 0x10036468
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
mov dword [ebp - 0x18], 0x949f4ffc
mov dword [ebp - 0x80], 2
mov dword [ebp - 0x58], 0x552ded14
mov dword [ebp - 8], 0
jmp 0x10036496
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x100364a9
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x2c], 1
jmp 0x1003648f
mov dword [ebp - 8], 0
jmp 0x100364b9
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x100364cf
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xa4], 4
jmp 0x100364b2
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
mov dword [ebp - 0xb4], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jbe 0x100364fb
mov dword [ebp - 0x78], 1
jmp 0x100364ff
and dword [ebp - 0x78], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x78]
sub ecx, dword [ebp + eax - 0x2c]
cmp ecx, 0x2152
jg 0x10036526
cmp dword [ebp - 0x18], 0
je 0x10036526
mov dword [ebp - 0x88], 1
jmp 0x1003652d
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0xfffffffe
je 0x1003653f
mov dword [ebp - 0x3c], 1
jmp 0x10036543
and dword [ebp - 0x3c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
cmp eax, dword [ebp - 0x3c]
jg 0x1003655b
mov dword [ebp - 0x74], 1
jmp 0x1003655f
and dword [ebp - 0x74], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
add eax, 0xb99
cmp eax, dword [ebp - 0x74]
jg 0x1003657c
mov dword [ebp - 0x44], 1
jmp 0x10036580
and dword [ebp - 0x44], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2c]
cmp dword [ebp - 0x44], eax
je 0x10036598
mov dword [ebp - 0x7c], 1
jmp 0x1003659c
and dword [ebp - 0x7c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x7c]
mov dword [ebp + eax - 0xa4], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xa4]
cmp dword [ebp - 0x80], eax
jle 0x100365c7
mov dword [ebp - 0x30], 1
jmp 0x100365cb
and dword [ebp - 0x30], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp + eax - 0xa4], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
add eax, 0x81d6e6e
cmp eax, dword [ebp - 0x30]
jle 0x100365fb
mov dword [ebp - 0x84], 1
jmp 0x10036602
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0x8fe4de5a
jae 0x10036617
mov dword [ebp - 0x50], 1
jmp 0x1003661b
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0
jle 0x1003662a
mov dword [ebp - 0x70], 1
jmp 0x1003662e
and dword [ebp - 0x70], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
imul eax, dword [ebp - 0x70]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x10036653
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xa4], 0
mov eax, dword [ebp - 0x18]
add eax, 0x5f0e77da
je 0x1003666c
cmp dword [ebp - 0x80], 0
je 0x1003666c
mov dword [ebp - 0x60], 1
jmp 0x10036670
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0xd69b
je 0x10036682
mov dword [ebp - 0x34], 1
jmp 0x10036686
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x34]
jne 0x10036697
mov dword [ebp - 0x68], 1
jmp 0x1003669b
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0
jmp 0x100366b1
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x100366c7
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x90], 0
jmp 0x100366aa
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x90], 0
jmp 0x100366f5
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x90]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x90], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x90], 0xfffffff9
jle 0x1003672c
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x1003672a
push 0x1807
push 0x1009
push 0
push 0x680
push 0
call dword [sym.imp.USER32.dll_GetMenuStringW]
jmp 0x100366da
mov dword [ebp - 0xd0], 0xfe387fb0
mov dword [ebp - 0x48], 0xaa39ed0
mov dword [ebp - 0x24], 0
jmp 0x1003674d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x10036763
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0xac], 1
jmp 0x10036746
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1003678d
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xd4], 0x7689351f
mov dword [ebp - 0xb8], 0xffffffff
mov dword [ebp - 0xa8], 0xfffffffd
mov dword [ebp - 0xc], 0
jmp 0x100367d6
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jge 0x100367ec
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xf0], 0x7a73d2d6
jmp 0x100367cf
mov dword [ebp - 0xc], 0
jmp 0x100367fc
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jge 0x10036812
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xcc], 1
jmp 0x100367f5
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xcc]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0xcc], eax
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10036951
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x94], 0xffffffff
mov dword [ebp - 0x1c], 0
jmp 0x10036858
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x1003686e
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xe4], 0
jmp 0x10036851
cmp dword [ebp - 4], 0
jne 0x10036883
cmp dword [ebp - 4], 0x1d1fc
jg 0x10036883
and dword [ebp - 0x4c], 0
jmp 0x1003688a
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 4]
jne 0x1003689f
mov dword [ebp - 0x54], 1
jmp 0x100368a3
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x54], eax
jne 0x100368b4
mov dword [ebp - 0x5c], 1
jmp 0x100368b8
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x5c], eax
jne 0x100368c9
mov dword [ebp - 0x6c], 1
jmp 0x100368cd
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x64], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x64]
mov dword [ebp + eax - 0xe4], ecx
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x6c]
jge 0x100368f4
mov dword [ebp - 0x38], 1
jmp 0x100368f8
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], 0
jmp 0x10036911
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xe
je 0x10036932
mov byte [ebp - 0xf], 0
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x10036930
push 0
push 0x169c
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByteEx]
jmp 0x1003690a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
jmp 0x10036998
mov dword [ebp - 0xc0], 0xa53d06ce
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1003696f
push 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [ebp - 0x10], 0
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x10036990
push 0
push 0
push 0xb83
push 0
push 1
push 0
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esp, ebp
pop ebp
ret