Function at 0x427240
Capabilities:
Delete file
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], edx
lea edx, [eax*8]
sub edx, eax
mov eax, dword [0x448c78]
lea eax, [eax + edx*8]
mov edx, dword [eax + 4]
push ebx
mov ebx, dword [eax + 0x18]
push esi
mov esi, dword [eax + 0x10]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x14]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x1c], edx
test esi, esi
je 0x4272a1
push ecx
push 1
push esi
push edx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x4272bb
xor eax, eax
test esi, esi
je 0x4272bb
mov ecx, dword [ebp - 0x1c]
lea ebx, [ebx]
cmp byte [eax + ecx], 0x20
jne 0x4272d1
inc eax
cmp eax, esi
jb 0x4272b0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004391bc
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 0
jle 0x4274a2
mov dword [ebp - 0x24], edi
lea edi, [ebx + 2]
mov ebx, dword [ebp - 0x20]
jmp 0x4272f3
mov ecx, dword [ebp - 0x1c]
movzx eax, word [edi + 2]
test ax, ax
je 0x42748f
jns 0x42746c
cmp dword [0x448520], 0
je 0x4273c2
movsx eax, word [edi]
mov edx, dword [edi + 0x12]
add edx, dword [ebp - 0x1c]
push eax
lea esi, [ebp - 0x3c]
call fcn.004081c0
movsx eax, word [edi + 2]
add esp, 4
cmp eax, 0xfffffffd
je 0x427345
cmp eax, 0xfffffffe
je 0x427340
cmp eax, 0xffffffff
jne 0x427348
mov ebx, dword [ebp - 0x2c]
jmp 0x427348
mov ebx, dword [ebp - 0x28]
jmp 0x427348
mov ebx, dword [ebp - 0x30]
fld qword [ebp - 0x3c]
sub esp, 8
fadd qword [0x441a90]
fstp qword [esp]
call sub.MSVCR100.dll_floor
fst qword [ebx]
add esp, 8
fcomp qword [0x448680]
fnstsw ax
test ah, 0x41
jne 0x42748f
push str.ID_mus_be_no_more_than_12_digits_long_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00406fe0
mov eax, dword [0x4596c4]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
push eax
mov dword [0x443e58], 1
call esi
mov ecx, dword [0x448bc8]
add esp, 4
push ecx
call esi
add esp, 4
cmp dword [0x443e58], 0
je 0x4273ba
call fcn.00406b90
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [0x4532f4]
mov edx, dword [0x4532f0]
mov dword [ebp - 0x14], eax
mov al, byte [0x4532fc]
mov dword [ebp - 0x18], edx
mov edx, dword [0x4532f8]
mov byte [ebp - 0xc], al
mov dword [ebp - 0x10], edx
movzx eax, word [edi]
cmp ax, 0xc
cwde
jl 0x4273f3
mov eax, 0xc
mov edx, dword [edi + 0x12]
push eax
add edx, ecx
push edx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVCR100.dll_strncpy]
add esp, 0xc
mov eax, 0xc
lea esi, [ebp - 0x18]
call fcn.00406820
movsx eax, word [edi + 2]
cmp eax, 0xfffffffd
je 0x427452
cmp eax, 0xfffffffe
je 0x42743c
cmp eax, 0xffffffff
jne 0x42748f
mov edx, dword [ebp - 0x2c]
mov ecx, esi
mov eax, esi
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x427430
jmp 0x42748f
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x18]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x427446
jmp 0x42748f
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x18]
mov ecx, eax
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x427460
jmp 0x42748f
movsx edx, word [edi]
push edx
mov edx, dword [edi + 0x12]
add edx, dword [ebp - 0x1c]
lea esi, [ebp - 0x3c]
call fcn.004081c0
mov eax, dword [ebp - 0x24]
fld qword [ebp - 0x3c]
add esp, 4
fstp qword [eax]
add eax, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x34]
inc eax
add edi, 0x1c
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x20]
jl 0x4272f0
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004391bc
mov esp, ebp
pop ebp
ret