Function at 0x436b70
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3c51
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
push esi
push edi
push ecx
lea edi, [ebp - 0x128]
mov ecx, 0x47
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4c6280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x118], 0
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.00410760
push eax
lea ecx, [ebp - 0x34]
call fcn.00419660
mov dword [ebp - 4], 0
lea esi, [ebp - 0x34]
call fcn.0045e370
lea ecx, [ebp - 0x48]
call fcn.00437530
mov byte [ebp - 4], 1
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x34]
call fcn.0045e4f0
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00437060
test eax, eax
je 0x436eef
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004375b0
jmp 0x436c20
lea ecx, [ebp - 0x58]
call fcn.004376d0
lea edx, [ebp - 0xe0]
push edx
lea ecx, [ebp - 0x48]
call fcn.004375f0
push eax
lea ecx, [ebp - 0x58]
call fcn.00437790
movzx eax, al
test eax, eax
je 0x436eef
lea ecx, [ebp - 0x58]
call fcn.004376a0
mov ecx, eax
call fcn.0045e4f0
push eax
lea ecx, [ebp - 0x64]
call fcn.0040ff10
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.00410760
push eax
lea ecx, [ebp - 0x64]
call fcn.00420bb0
test eax, eax
je 0x436ede
lea ecx, [ebp - 0x58]
call fcn.004376a0
push eax
lea ecx, [ebp - 0xfc]
call fcn.0045dde0
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x120], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x120]
call fcn.0045e4f0
push eax
lea ecx, [ebp - 0x70]
call fcn.0040ff10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xfc]
call fcn.00419810
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xa0], 0
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x7c]
push edx
push 0x4b3564
lea ecx, [ebp - 0x70]
call fcn.00410760
push eax
call fcn.004833f6
add esp, 0x18
cmp eax, 4
jne 0x436ed2
lea ecx, [ebp - 0xb4]
call fcn.00437530
mov byte [ebp - 4], 6
push 1
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x64]
call fcn.00410760
push eax
call fcn.0045bcb0
add esp, 0xc
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
je 0x436ec3
lea ecx, [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0xb4]
call fcn.004375b0
jmp 0x436d89
push 0
lea edx, [ebp - 0x104]
push edx
lea ecx, [ebp - 0xc8]
call fcn.00437700
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xb4]
call fcn.004375f0
push eax
lea ecx, [ebp - 0xc8]
call fcn.00437790
movzx ecx, al
test ecx, ecx
je 0x436e95
lea ecx, [ebp - 0xc8]
call fcn.004376a0
mov ecx, eax
call fcn.0045e4f0
push eax
lea ecx, [ebp - 0xd4]
call fcn.0040ff10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xd4]
call fcn.0040feb0
cmp eax, 4
jle 0x436e2d
push 4
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0xd4]
call fcn.00420e80
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x118]
or eax, 1
mov dword [ebp - 0x118], eax
push 0x4b357c
mov ecx, dword [ebp - 0x124]
call fcn.00420bb0
test eax, eax
jne 0x436e2d
mov dword [ebp - 0x128], 1
jmp 0x436e37
mov dword [ebp - 0x128], 0
mov cl, byte [ebp - 0x128]
mov byte [ebp - 0x10d], cl
mov edx, dword [ebp - 0x118]
and edx, 1
je 0x436e60
and dword [ebp - 0x118], 0xfffffffe
lea ecx, [ebp - 0x114]
call fcn.0040fde0
movzx eax, byte [ebp - 0x10d]
test eax, eax
je 0x436e81
push 0
lea ecx, [ebp - 0xd4]
call fcn.00410760
push eax
call fcn.0045b3b0
add esp, 8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
call fcn.0040fde0
jmp 0x436d75
mov ecx, dword [ebp - 0x64]
push ecx
push 0x4b3588
mov ecx, 0x4ca290
call fcn.0045ef50
add esp, 8
lea ecx, [ebp - 0x64]
call fcn.00410760
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp esi, esp
call fcn.0049f8de
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb4]
call fcn.00437580
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.0040fde0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.0040fde0
jmp 0x436c18
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00437580
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00419810
push edx
mov ecx, ebp
push eax
lea edx, [0x436f44]
call fcn.0049f901
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047f404
add esp, 0x128
cmp ebp, esp
call fcn.0049f8de
mov esp, ebp
pop ebp
ret