Function at 0x40b9f0
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x436011
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x443d3c]
xor eax, esp
mov dword [esp + 0x154], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x443d3c]
xor eax, esp
push eax
lea eax, [esp + 0x16c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x17c]
push 0x12c
lea eax, [esp + 0x40]
push 0
push eax
mov dword [esp + 0x28], ecx
call fcn.00420550
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0xc
push esi
lea ecx, [esp + 0x40]
push ecx
call ebx
lea ecx, [esp + 0x20]
call fcn.0041631f
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x178], 0
call fcn.0040b930
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx - 0xc]
lea eax, [esi - 1]
test eax, eax
mov byte [esp + 0x174], 1
jl 0x40bc95
cmp eax, esi
jg 0x40bc95
mov al, byte [eax + ecx]
cmp al, 0x5c
je 0x40bae5
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
lea edi, [esi + 1]
sub eax, edi
or eax, edx
jge 0x40bac1
push edi
lea ecx, [esp + 0x18]
call fcn.00409ee0
mov ecx, dword [esp + 0x14]
test edi, edi
mov byte [esi + ecx], 0x5c
jl 0x40bc95
mov eax, dword [esp + 0x14]
cmp edi, dword [eax - 8]
jg 0x40bc95
mov dword [eax - 0xc], edi
mov edx, dword [esp + 0x14]
mov byte [edi + edx], 0
push 0x43a160
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0040b850
add esp, 0xc
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x17c], 2
call fcn.004163ab
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x174], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bb3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x40bc26
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 1
call edi
lea ecx, [esp + 0x20]
call fcn.0041601d
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.00416562
mov eax, dword [eax]
push eax
lea edx, [esp + 0x40]
push edx
call ebx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bb97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
call fcn.004162e6
test eax, eax
jne 0x40bbd1
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x24]
call eax
test eax, eax
je 0x40bbd1
push 0x80
lea ecx, [esp + 0x40]
push ecx
call ebp
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x3c]
push edx
call fcn.0040b9f0
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x38]
push 0x10
lea ecx, [esp + 0x24]
call edx
test eax, eax
jne 0x40bc1e
push 0x80
lea eax, [esp + 0x40]
push eax
call ebp
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x24]
call fcn.00416562
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bc1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x40bb50
lea ecx, [esp + 0x20]
call fcn.00415f4d
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x174], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bc57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x174], 0xffffffff
call fcn.00416343
mov ecx, dword [esp + 0x16c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.0042050e
add esp, 0x164
ret 4
push 0x80070057
call fcn.00401090
int3