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

Disassembly:
push 0xffffffffffffffff
push 0x46e8a5
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x490d1c]
xor eax, esp
mov dword [esp + 0x45c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490d1c]
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 0x415fc2
xor eax, eax
jmp 0x415fd6
mov eax, ecx
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x415fc7
sub eax, edi
sar eax, 1
push eax
push ecx
lea ebx, [esi + 0x10]
mov ecx, ebx
call fcn.00401b50
cmp dword [esi + 0xc], 1
mov ecx, dword [esp + 0x48c]
jle 0x4165b3
test cl, cl
jne 0x4165b3
lea ecx, [esp + 0x48]
call fcn.0043ee62
xor edi, edi
push ebp
lea ecx, [esi + 0x14]
mov dword [esp + 0x480], edi
call fcn.00401e20
mov ebp, dword [0x48f3c8]
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], edi
test ebp, ebp
jle 0x4160e7
lea esp, [esp]
mov eax, dword [ebx]
push eax
mov ecx, esi
call fcn.00415d00
mov dword [esi + 4], eax
test eax, eax
jge 0x4160d0
mov eax, dword [ebx]
push 0
push ecx
sub eax, 0x10
mov dword [esp + 0x30], esp
mov edi, esp
push eax
call fcn.00401920
add esp, 4
lea ecx, [esp + 0x1c]
add eax, 0x10
push ecx
lea ecx, [esp + 0x3b]
mov dword [edi], eax
call fcn.0042b2d0
lea edx, [esp + 0x14]
push ebx
push edx
mov byte [esp + 0x484], 1
call fcn.004039b0
add esp, 8
test al, al
je 0x4160a8
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.00415d00
mov dword [esi + 4], eax
test eax, eax
jl 0x4160a8
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.00401d40
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 0x4160d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi + 4], 0
jge 0x4160e7
mov eax, dword [esp + 0x18]
inc eax
cmp eax, ebp
mov dword [esp + 0x18], eax
jl 0x416030
mov ecx, dword [esi + 4]
test ecx, ecx
jg 0x416114
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.0043ef6a
xor eax, eax
jmp 0x4165cc
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 0x416144
mov ebx, 0xc800
mov eax, ecx
cdq
idiv ebx
mov dword [esi + 8], eax
test edx, edx
je 0x416154
inc eax
mov dword [esi + 8], eax
cmp dword [esi + 8], 0
jne 0x416161
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.00431234
mov ecx, eax
xor ebp, ebp
add esp, 4
xor eax, eax
cmp dword [esi + 8], ebp
mov dword [esp + 0x28], ecx
jle 0x4161bc
mov dword [ecx + eax*4], ebp
inc eax
cmp eax, dword [esi + 8]
jl 0x4161b3
lea ecx, [esp + 0x34]
call fcn.0043b568
cmp dword [esi + 8], ebp
mov byte [esp + 0x47c], 2
mov dword [esp + 0x18], 0xffffffff
jle 0x41639f
mov dword [esp + 0x24], ebp
call fcn.0043b055
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41636d
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.00402e00
mov edi, dword [esi + 4]
sub edi, dword [esp + 0x34]
add esp, 0x10
cmp edi, ebx
jle 0x416233
mov edi, ebx
push 0x2c
call fcn.004311fa
add esp, 4
mov dword [esp + 0x6c], eax
mov byte [esp + 0x47c], 4
test eax, eax
je 0x41627e
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.00414ee0
mov edi, eax
jmp 0x416280
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.0043b83e
lea ecx, [esp + 0x68]
push ecx
push 0
push edi
push 0x415b70
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.00417190
add esp, 8
test eax, eax
setne al
test al, al
jne 0x416377
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
call edi
mov ecx, dword [esi]
push ecx
push 0xe0003
call fcn.00417190
add esp, 8
cmp eax, dword [esi + 0xc]
jle 0x416312
test eax, eax
jl 0x416312
push 0xa
call edi
mov edx, dword [esi]
push edx
push 0xe0003
call fcn.00417190
add esp, 8
cmp eax, dword [esi + 0xc]
jg 0x4162f5
cmp dword [esp + 0x18], eax
je 0x416335
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 0x41635d
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 0x4161e2
jmp 0x41639f
push 0x80004005
call fcn.00401530
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 0x41639f
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 0x4163c2
mov ecx, dword [esi]
push ecx
push 0xe0001
call fcn.00417190
add esp, 8
test eax, eax
setne bl
mov edx, dword [esi]
push edx
push 0xe0003
call fcn.00417190
add esp, 8
test eax, eax
jle 0x4163fb
cmp dword [esp + 0x18], eax
je 0x4163a1
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 0x4163a1
mov edx, dword [esp + 0x28]
push edx
call fcn.00431229
add esp, 4
test bl, bl
jne 0x4164fe
mov eax, dword [esp + 0x20]
push 0
push 0x1001
push eax
lea ecx, [esp + 0x54]
call fcn.0043f2c0
test eax, eax
je 0x4164fe
mov eax, dword [esp + 0x3c]
xor edi, edi
mov ebp, eax
test eax, eax
jle 0x4164df
mov bl, 5
nop
lea ecx, [esp + 0x58]
call fcn.0043ee62
mov byte [esp + 0x47c], bl
test edi, edi
jl 0x41651b
cmp edi, dword [esp + 0x3c]
jge 0x41651b
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + edi*4]
push 0
push 0
push eax
lea ecx, [esp + 0x64]
call fcn.0043f2c0
lea ecx, [esp + 0x58]
test eax, eax
je 0x41650c
push 0x400
lea edx, [esp + 0x74]
push edx
call fcn.0043eb56
test eax, eax
jle 0x4164bc
push eax
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x50]
call fcn.0043eb98
push 0x400
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x60]
call fcn.0043eb56
test eax, eax
jg 0x416496
lea ecx, [esp + 0x58]
call fcn.0043edfc
lea ecx, [esp + 0x58]
mov byte [esp + 0x47c], 2
call fcn.0043ef6a
inc edi
cmp edi, ebp
jl 0x416440
lea ecx, [esp + 0x48]
call fcn.0043ec84
lea ecx, [esp + 0x48]
call fcn.0043ed4d
lea ecx, [esp + 0x48]
mov dword [esp + 0x30], eax
call fcn.0043edfc
mov eax, dword [esp + 0x3c]
xor edi, edi
mov ebp, eax
test eax, eax
jle 0x416541
jmp 0x416524
mov byte [esp + 0x47c], 2
call fcn.0043ef6a
jmp 0x4164df
call fcn.0043ad73
mov eax, dword [esp + 0x3c]
test edi, edi
jl 0x41651b
cmp edi, eax
jge 0x41651b
mov edx, dword [esp + 0x38]
mov eax, dword [edx + edi*4]
push eax
call fcn.00407270
inc edi
add esp, 4
cmp edi, ebp
jl 0x416520
mov eax, dword [esp + 0x30]
mov edi, 1
cmp eax, dword [esi + 4]
je 0x416551
xor edi, edi
mov ebx, dword [esp + 0x20]
push 0x80
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test edi, edi
je 0x416583
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 0x41658a
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x34]
mov byte [esp + 0x47c], 0
call fcn.0043b745
lea ecx, [esp + 0x48]
mov dword [esp + 0x47c], 0xffffffff
call fcn.0043ef6a
mov eax, edi
jmp 0x4165cc
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.00415c80
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.00455930
add esp, 0x46c
ret 0x14