Function at 0x41f930
Capabilities:
Access peb ldr_data
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x4733e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x50], 0
call fcn.004684ee
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 1
call fcn.0045bb07
push str..
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x5c], 2
call fcn.00407cd0
add esp, 0xc
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 3
call fcn.0045bb9a
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x50], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f9c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x41fc2d
lea ecx, [esp + 0x30]
call fcn.0045b9fe
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], eax
call fcn.0045bace
test eax, eax
jne 0x41fc21
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
call fcn.0045bdc2
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebp - 0x10]
cmp eax, esi
mov byte [esp + 0x50], 4
je 0x41fa54
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x41fa46
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41fa46
push eax
call fcn.00404210
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x41fa3d
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebp, 0x10
mov dword [esp + 0x10], ebp
jmp 0x41fa54
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00404b50
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x50], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fa77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
push 0x10
lea ecx, [esp + 0x34]
call dword [eax + 0x38]
test eax, eax
push 0x475214
je 0x41fb92
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00407cd0
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x68], 5
call fcn.00407c20
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 6
call fcn.00404e20
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x50], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41faea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x50], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fb0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebp, dword [esp + 0x10]
push ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
lea esi, [ebp - 0x10]
mov dword [esp + 0x30], esp
mov ebx, esp
call dword [eax + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x41fb4e
cmp eax, dword [esi]
jne 0x41fb4e
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
add eax, 0x10
mov dword [ebx], eax
call fcn.0041f930
add esp, 4
jmp 0x41fc19
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x41fca7
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
lea edi, [eax + 0x10]
add esi, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add eax, 0x10
rep movsb byte es:[edi], byte [esi]
mov dword [ebx], eax
call fcn.0041f930
add esp, 4
jmp 0x41fc19
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00407cd0
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x68], 7
call fcn.00407c20
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 8
call fcn.00404e20
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x50], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fbeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x50], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fc0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebp, dword [esp + 0x10]
push ebp
call dword [sym.imp.kernel32.dll_DeleteFileA]
test eax, eax
je 0x41fcac
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x41f9d1
lea ecx, [esp + 0x30]
call fcn.0045b92e
mov esi, dword [esp + 0x58]
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryA]
lea ecx, [esp + 0x30]
mov edi, eax
mov byte [esp + 0x50], 1
call fcn.0045bb2b
lea eax, [ebp - 0x10]
mov byte [esp + 0x50], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fc70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov dword [esp + 0x50], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fc92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, edi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
jmp fcn.00401690
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 1
call fcn.0045bb2b
lea eax, [ebp - 0x10]
mov byte [esp + 0x50], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fcd9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
mov dword [esp + 0x50], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fcff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x44
ret