Function at 0x41f320
Capabilities:
Delete file
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508b05
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
push ebx
push esi
push edi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0046d400
mov byte [ebp - 4], 2
sub esp, 0x18
lea eax, [ebp + 8]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00468b20
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0040ae10
add esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
jbe 0x41f388
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x64
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.004e1ab0
add esp, 0xc
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0xf
jbe 0x41f3ae
mov eax, dword [ebp + 0x20]
push dword [ebp + 0x30]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.004e1370
push 0x64
lea eax, [ebp - 0xf4]
push 0
push eax
call fcn.004e1ab0
add esp, 0x18
mov eax, 0x541d9c
cmp dword [0x541db0], 0xf
jbe 0x41f3e4
mov eax, dword [0x541d9c]
push dword [0x541dac]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.004e1370
push 0x64
lea eax, [ebp - 0x158]
push 0
push eax
call fcn.004e1ab0
add esp, 0x18
mov eax, 0x544394
cmp dword [0x5443a8], 0xf
jbe 0x41f41d
mov eax, dword [0x544394]
push dword [0x5443a4]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.004e1370
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
mov edx, dword [ecx + 0x10]
add eax, 0x12c
cmp eax, edx
ja 0x41f459
mov dword [ecx + 0x10], eax
cmp dword [ecx + 0x14], 0xf
jbe 0x41f453
mov ecx, dword [ecx]
mov byte [ecx + eax], 0
jmp 0x41f463
push 0
sub eax, edx
push eax
call fcn.0046b420
mov edi, dword [ebp - 0x20]
cmp dword [edi + 0x14], 0xf
jbe 0x41f46e
mov edi, dword [edi]
mov ecx, 0x19
lea esi, [ebp - 0x90]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x20]
cmp dword [edi + 0x14], 0xf
jbe 0x41f486
mov edi, dword [edi]
add edi, 0x64
lea esi, [ebp - 0xf4]
mov ecx, 0x19
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x20]
cmp dword [edi + 0x14], 0xf
jbe 0x41f4a1
mov edi, dword [edi]
add edi, 0xc8
lea esi, [ebp - 0x158]
mov ecx, 0x19
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
cmp dword [edx + 0x14], 0xf
jbe 0x41f4c1
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 0xf
jbe 0x41f4cc
mov eax, dword [eax]
push dword [edx + 0x10]
add eax, 0x12c
push ecx
push eax
call fcn.004e1370
push 0
push 0x3550
call fcn.00407ed0
mov ebx, dword [0x540b1c]
add esp, 0x14
mov edi, eax
mov dword [ebp - 0x14], 0xd9dad6
mov byte [ebp - 0x10], 1
xor ecx, ecx
nop
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 3
jb 0x41f500
sub esp, 0x18
mov byte [ebp - 0x10], 0
mov edx, esp
mov dword [ebp - 0x18], esp
xor eax, eax
lea ecx, [ebp - 0x14]
lea esi, [ecx + 1]
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f532
sub ecx, esi
lea eax, [ebp - 0x14]
push ecx
push eax
mov ecx, edx
call fcn.00402ea0
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
mov edx, edi
mov ecx, ebx
call fcn.0041e030
push 0
push 0x3544
call fcn.00407ed0
mov edi, dword [0x540b1c]
add esp, 0x18
mov edx, esp
mov dword [ebp - 0x18], esp
mov esi, eax
mov dword [edx], 0
mov dword [edx + 4], 0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x41f58c
lock inc dword [ecx + 4]
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov dword [edx + 4], eax
mov byte [ebp - 4], 6
mov byte [ebp - 4], 4
mov edx, esi
mov ecx, edi
call fcn.0041dd50
push 0
push 0x3550
call fcn.00407ed0
mov edi, dword [0x540b1c]
lea ecx, [ebp - 0x17]
sub esp, 8
mov word [ebp - 0x17], 0x33
mov edx, esp
mov byte [ebp - 0x15], 0
mov esi, eax
mov dword [ebp - 0x14], esp
xor eax, eax
lea ebx, [ecx + 1]
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f5e7
sub ecx, ebx
lea eax, [ebp - 0x17]
push ecx
push eax
mov ecx, edx
call fcn.00402ea0
mov byte [ebp - 4], 7
mov byte [ebp - 4], 4
mov edx, esi
mov ecx, edi
call fcn.0041e030
add esp, 0x18
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x24]
or edi, 0xffffffff
test esi, esi
je 0x41f63d
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41f63d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x41f63d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x41f666
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41f666
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x41f666
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402c80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00402c80
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret