Function at 0x4024f0
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d9ee8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
mov eax, dword [0x52506c]
mov dword [esp + 0x74], 0
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x8c]
mov byte [esp + 0x74], 1
test ebx, ebx
jne 0x40255f
lea ecx, [esp + 0x7c]
push str..scx
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.004b28eb
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 2
call fcn.004b278f
mov byte [esp + 0x74], 1
lea ecx, [esp + 0x2c]
jmp 0x4025bd
cmp ebx, 3
jne 0x402591
lea eax, [esp + 0x7c]
push str..mp3
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.004b28eb
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], bl
call fcn.004b278f
mov byte [esp + 0x74], 1
lea ecx, [esp + 0x2c]
jmp 0x4025bd
lea edx, [esp + 0x7c]
push str..mp2
lea eax, [esp + 0x30]
push edx
push eax
call fcn.004b28eb
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 4
call fcn.004b278f
mov byte [esp + 0x74], 1
lea ecx, [esp + 0x2c]
call fcn.004b2656
mov eax, dword [0x52506c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x66], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x74], 5
call fcn.0043cd00
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.004b23cb
lea ecx, [esp + 0x3c]
call fcn.0043cea0
lea ecx, [esp + 0x38]
call fcn.0043cf40
mov eax, dword [esp + 0x14]
push 0x516548
push eax
call fcn.0048e917
add esp, 8
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x24]
mov edi, eax
push 0x5164dc
push ecx
push edx
mov dword [esp + 0x38], edi
call fcn.004b28eb
lea eax, [esp + 0x7c]
push 0x5164dc
lea ecx, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x80], 6
call fcn.004b28eb
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x30]
call fcn.004b2656
mov edx, dword [esp + 0x24]
push 0x516544
push edx
call fcn.0048e917
add esp, 8
mov esi, eax
test edi, edi
je 0x4029b0
test esi, esi
je 0x4029b0
push 2
push 0
push edi
call fcn.0048e82d
push edi
call fcn.0048e6aa
push 0
push 0
push edi
mov dword [esp + 0x2c], eax
call fcn.0048e82d
add esp, 0x1c
test ebx, ebx
jne 0x4026ca
mov eax, 0x20
jmp 0x4026d8
mov eax, ebx
sub eax, 2
neg eax
sbb eax, eax
and al, 0xf6
add eax, 0x28
mov ecx, dword [esp + 0x10]
push str.RIFF
push esi
mov dword [esp + 0x30], eax
lea edx, [eax + ecx + 0x20]
mov dword [esp + 0x3c], edx
call fcn.0048e66e
push esi
push 1
lea eax, [esp + 0x44]
push 4
push eax
call fcn.0048e23b
add esp, 0x18
push str.WAVE
push esi
call fcn.0048e66e
add esp, 8
push str.fmt
push esi
call fcn.0048e66e
push esi
push 1
lea ecx, [esp + 0x38]
push 4
push ecx
call fcn.0048e23b
add esp, 0x18
test ebx, ebx
jne 0x402758
mov ebp, dword [esp + 0x88]
mov ebx, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
mov ecx, dword [esp + 0x1c]
push ebp
push ebx
push edi
push esi
call fcn.00402240
jmp 0x402786
mov ebp, dword [esp + 0x88]
mov edi, dword [esp + 0x80]
mov ecx, dword [esp + 0x1c]
cmp ebx, 2
mov ebx, dword [esp + 0x84]
push ebp
push ebx
push edi
push esi
jne 0x402781
call fcn.004022f0
jmp 0x402786
call fcn.004023b0
push str.fact
push esi
mov dword [esp + 0x20], 4
call fcn.0048e66e
push esi
push 1
lea edx, [esp + 0x28]
push 4
push edx
call fcn.0048e23b
mov eax, dword [esp + 0xa4]
add esp, 0x18
cmp eax, 3
jne 0x402801
mov eax, 0x38e38e39
mov ecx, ebp
mul dword [esp + 0x10]
mov eax, edx
and ecx, 0xffff
shr eax, 8
shr eax, 1
xor edx, edx
lea edi, [edi + edi*4]
div ecx
imul eax, ecx
imul eax, ecx
imul eax, ebx
lea ecx, [eax + eax*8]
lea eax, [edi + edi*4]
shl ecx, 9
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 7
add eax, edx
xor edx, edx
mov edi, eax
mov eax, ecx
sar edi, 3
div edi
jmp 0x402859
and ebp, 0xffff
xor ecx, ecx
mov eax, ebp
mov dword [esp + 0x20], ecx
imul eax, ebx
shl eax, 4
mov dword [esp + 0x1c], eax
mov eax, 0xaaaaaaab
fild qword [esp + 0x1c]
mul dword [esp + 0x10]
fild dword [esp + 0x80]
fmul qword [0x4eb078]
fdivp st(1)
shr edx, 8
mov dword [esp + 0x20], ecx
lea edx, [edx + edx*2]
shl edx, 7
mov dword [esp + 0x1c], edx
fild qword [esp + 0x1c]
fmul st(1)
call fcn.0048e214
shr eax, 1
xor edx, edx
fstp st(0)
div ebp
mov dword [esp + 0x18], eax
push esi
push 1
lea eax, [esp + 0x20]
push 4
push eax
call fcn.0048e23b
add esp, 0x10
push 0x51651c
push esi
call fcn.0048e66e
push esi
push 1
lea ecx, [esp + 0x20]
push 4
push ecx
call fcn.0048e23b
mov eax, dword [esp + 0x28]
add esp, 0x18
test eax, eax
jbe 0x4028d1
cmp eax, 0x3e80
mov edi, eax
jb 0x4028a2
mov edi, 0x3e80
mov edx, dword [esp + 0x2c]
push edx
push 1
push edi
push 0x52a990
call fcn.0048e557
push esi
push 1
push edi
push 0x52a990
call fcn.0048e23b
mov eax, dword [esp + 0x30]
add esp, 0x20
sub eax, edi
mov dword [esp + 0x10], eax
jne 0x402894
mov edi, dword [esp + 0x2c]
push edi
call fcn.0048e3f1
push esi
call fcn.0048e3f1
push edi
call fcn.0048e374
push esi
call fcn.0048e374
add esp, 0x10
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 5
call fcn.004b2656
lea ecx, [esp + 0x66]
mov byte [esp + 0x74], 0x18
call fcn.004b2656
lea ecx, [esp + 0x58]
mov byte [esp + 0x74], 0x17
call fcn.004b2656
lea ecx, [esp + 0x54]
mov byte [esp + 0x74], 0x16
call fcn.004b2656
lea ecx, [esp + 0x50]
mov byte [esp + 0x74], 0x15
call fcn.004b2656
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 0x14
call fcn.004b2656
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 0x13
call fcn.004b2656
lea ecx, [esp + 0x44]
mov byte [esp + 0x74], 0x12
call fcn.004b2656
lea ecx, [esp + 0x40]
mov byte [esp + 0x74], 0x11
call fcn.004b2656
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 0x10
call fcn.004b2656
lea ecx, [esp + 0x38]
mov byte [esp + 0x74], 1
call fcn.004b2656
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 0
call fcn.004b2656
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004b2656
xor eax, eax
jmp 0x402a6e
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 5
call fcn.004b2656
lea ecx, [esp + 0x66]
mov byte [esp + 0x74], 0xf
call fcn.004b2656
lea ecx, [esp + 0x58]
mov byte [esp + 0x74], 0xe
call fcn.004b2656
lea ecx, [esp + 0x54]
mov byte [esp + 0x74], 0xd
call fcn.004b2656
lea ecx, [esp + 0x50]
mov byte [esp + 0x74], 0xc
call fcn.004b2656
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 0xb
call fcn.004b2656
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 0xa
call fcn.004b2656
lea ecx, [esp + 0x44]
mov byte [esp + 0x74], 9
call fcn.004b2656
lea ecx, [esp + 0x40]
mov byte [esp + 0x74], 8
call fcn.004b2656
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 7
call fcn.004b2656
lea ecx, [esp + 0x38]
mov byte [esp + 0x74], 1
call fcn.004b2656
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 0
call fcn.004b2656
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004b2656
mov eax, 1
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret 0x14