Function at 0x41fa70
Capabilities:
Create thread
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x487a55
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x4afe78]
xor eax, esp
mov dword [esp + 0x45c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x474]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x488]
mov eax, dword [esp + 0x494]
mov esi, ecx
mov ecx, dword [esp + 0x484]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
test ecx, ecx
jne 0x41fad2
xor eax, eax
jmp 0x41fae6
mov eax, ecx
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x41fad7
sub eax, edi
sar eax, 1
push eax
push ecx
lea ebx, [esi + 0x10]
mov ecx, ebx
call fcn.00401840
cmp dword [esi + 0xc], 1
mov ecx, dword [esp + 0x48c]
jle 0x4200c3
test cl, cl
jne 0x4200c3
lea ecx, [esp + 0x48]
call fcn.00454ff5
xor edi, edi
push ebp
lea ecx, [esi + 0x14]
mov dword [esp + 0x480], edi
call fcn.00401b90
mov ebp, dword [0x4ae388]
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], edi
test ebp, ebp
jle 0x41fbf7
lea esp, [esp]
mov eax, dword [ebx]
push eax
mov ecx, esi
call fcn.0041f810
mov dword [esi + 4], eax
test eax, eax
jge 0x41fbe0
mov eax, dword [ebx]
push 0
push ecx
sub eax, 0x10
mov dword [esp + 0x30], esp
mov edi, esp
push eax
call fcn.00401660
add esp, 4
lea ecx, [esp + 0x1c]
add eax, 0x10
push ecx
lea ecx, [esp + 0x3b]
mov dword [edi], eax
call fcn.0043c840
lea edx, [esp + 0x14]
push ebx
push edx
mov byte [esp + 0x484], 1
call fcn.00408980
add esp, 8
test al, al
je 0x41fbb8
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.0041f810
mov dword [esi + 4], eax
test eax, eax
jl 0x41fbb8
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.00401ab0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x47c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41fbe0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi + 4], 0
jge 0x41fbf7
mov eax, dword [esp + 0x18]
inc eax
cmp eax, ebp
mov dword [esp + 0x18], eax
jl 0x41fb40
mov ecx, dword [esi + 4]
test ecx, ecx
jg 0x41fc24
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x48]
mov dword [esp + 0x47c], 0xffffffff
call fcn.004550fd
xor eax, eax
jmp 0x4200dc
mov eax, ecx
cdq
idiv dword [esi + 0xc]
lea eax, [eax + eax*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
cdq
and edx, 0x3ff
add eax, edx
mov ebx, eax
sar ebx, 0xa
shl ebx, 0xa
cmp ebx, 0xc800
jge 0x41fc54
mov ebx, 0xc800
mov eax, ecx
cdq
idiv ebx
mov dword [esi + 8], eax
test edx, edx
je 0x41fc64
inc eax
mov dword [esi + 8], eax
cmp dword [esi + 8], 0
jne 0x41fc71
mov dword [esi + 8], 1
mov ebp, dword [esp + 0x490]
mov edi, dword [esp + 0x1c]
push ecx
push ebp
push 0x414
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebp
push 0x42d
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 8]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00446b54
mov ecx, eax
xor ebp, ebp
add esp, 4
xor eax, eax
cmp dword [esi + 8], ebp
mov dword [esp + 0x28], ecx
jle 0x41fccc
mov dword [ecx + eax*4], ebp
inc eax
cmp eax, dword [esi + 8]
jl 0x41fcc3
lea ecx, [esp + 0x34]
call fcn.0044e082
cmp dword [esi + 8], ebp
mov byte [esp + 0x47c], 2
mov dword [esp + 0x18], 0xffffffff
jle 0x41feaf
mov dword [esp + 0x24], ebp
call fcn.0044dc57
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41fe7d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
push ebp
push ecx
lea edx, [esp + 0x1c]
push str._s.part_d
push edx
mov byte [esp + 0x48c], 3
call fcn.00403ac0
mov edi, dword [esi + 4]
sub edi, dword [esp + 0x34]
add esp, 0x10
cmp edi, ebx
jle 0x41fd43
mov edi, ebx
push 0x2c
call fcn.00446b1a
add esp, 4
mov dword [esp + 0x6c], eax
mov byte [esp + 0x47c], 4
test eax, eax
je 0x41fd8e
mov ecx, dword [esp + 0x1c]
push ecx
push dword [esp + 0x494]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x10]
push 0
push ecx
mov ecx, dword [esi]
push ecx
mov ecx, dword [esp + 0x38]
push ebp
push edi
push ecx
mov ecx, dword [esp + 0x34]
push ecx
push edx
push esi
mov ecx, eax
call fcn.0041e980
mov edi, eax
jmp 0x41fd90
xor edi, edi
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x484], 3
call fcn.0044e358
lea ecx, [esp + 0x68]
push ecx
push 0
push edi
push 0x41f610
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [esp + 0x28]
mov dword [edx + ebp*4], eax
mov eax, dword [esi]
push eax
push 0xe0001
call fcn.00421e30
add esp, 8
test eax, eax
setne al
test al, al
jne 0x41fe87
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
call edi
mov ecx, dword [esi]
push ecx
push 0xe0003
call fcn.00421e30
add esp, 8
cmp eax, dword [esi + 0xc]
jle 0x41fe22
test eax, eax
jl 0x41fe22
push 0xa
call edi
mov edx, dword [esi]
push edx
push 0xe0003
call fcn.00421e30
add esp, 8
cmp eax, dword [esi + 0xc]
jg 0x41fe05
cmp dword [esp + 0x18], eax
je 0x41fe45
mov ecx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x494]
push eax
push 0x416
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x47c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41fe6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add dword [esp + 0x24], ebx
inc ebp
cmp ebp, dword [esi + 8]
jl 0x41fcf2
jmp 0x41feaf
push 0x80004005
call fcn.00401280
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x47c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41feaf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor bl, bl
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
test bl, bl
jne 0x41fed2
mov ecx, dword [esi]
push ecx
push 0xe0001
call fcn.00421e30
add esp, 8
test eax, eax
setne bl
mov edx, dword [esi]
push edx
push 0xe0003
call fcn.00421e30
add esp, 8
test eax, eax
jle 0x41ff0b
cmp dword [esp + 0x18], eax
je 0x41feb1
mov ecx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x494]
push eax
push 0x416
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41feb1
mov edx, dword [esp + 0x28]
push edx
call fcn.00446b49
add esp, 4
test bl, bl
jne 0x42000e
mov eax, dword [esp + 0x20]
push 0
push 0x1001
push eax
lea ecx, [esp + 0x54]
call fcn.00455483
test eax, eax
je 0x42000e
mov eax, dword [esp + 0x3c]
xor edi, edi
mov ebp, eax
test eax, eax
jle 0x41ffef
mov bl, 5
nop
lea ecx, [esp + 0x58]
call fcn.00454ff5
mov byte [esp + 0x47c], bl
test edi, edi
jl 0x42002b
cmp edi, dword [esp + 0x3c]
jge 0x42002b
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + edi*4]
push 0
push 0
push eax
lea ecx, [esp + 0x64]
call fcn.00455483
lea ecx, [esp + 0x58]
test eax, eax
je 0x42001c
push 0x400
lea edx, [esp + 0x74]
push edx
call fcn.00454ce9
test eax, eax
jle 0x41ffcc
push eax
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x50]
call fcn.00454d2b
push 0x400
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x60]
call fcn.00454ce9
test eax, eax
jg 0x41ffa6
lea ecx, [esp + 0x58]
call fcn.00454f8f
lea ecx, [esp + 0x58]
mov byte [esp + 0x47c], 2
call fcn.004550fd
inc edi
cmp edi, ebp
jl 0x41ff50
lea ecx, [esp + 0x48]
call fcn.00454e17
lea ecx, [esp + 0x48]
call fcn.00454ee0
lea ecx, [esp + 0x48]
mov dword [esp + 0x30], eax
call fcn.00454f8f
mov eax, dword [esp + 0x3c]
xor edi, edi
mov ebp, eax
test eax, eax
jle 0x420051
jmp 0x420034
mov byte [esp + 0x47c], 2
call fcn.004550fd
jmp 0x41ffef
call fcn.0044d954
mov eax, dword [esp + 0x3c]
test edi, edi
jl 0x42002b
cmp edi, eax
jge 0x42002b
mov edx, dword [esp + 0x38]
mov eax, dword [edx + edi*4]
push eax
call fcn.0040c4d0
inc edi
add esp, 4
cmp edi, ebp
jl 0x420030
mov eax, dword [esp + 0x30]
mov edi, 1
cmp eax, dword [esi + 4]
je 0x420061
xor edi, edi
mov ebx, dword [esp + 0x20]
push 0x80
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test edi, edi
je 0x420093
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x490]
mov eax, dword [esp + 0x1c]
push ecx
push edx
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x42009a
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x34]
mov byte [esp + 0x47c], 0
call fcn.0044e25f
lea ecx, [esp + 0x48]
mov dword [esp + 0x47c], 0xffffffff
call fcn.004550fd
mov eax, edi
jmp 0x4200dc
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx]
push edx
mov edx, dword [esp + 0x494]
push edx
push ecx
push ebp
push eax
mov ecx, esi
call fcn.0041f790
mov ecx, dword [esp + 0x474]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x45c]
xor ecx, esp
call fcn.0046dc02
add esp, 0x46c
ret 0x14