Function at 0x4129d0
Capabilities:
Delete file
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ab612
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4c4b80]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c4b80]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
lea eax, [esp + 0x54]
push 0x4b14ec
xor ebp, ebp
push eax
mov dword [0xd1b0a4], ebp
call dword [sym.imp.MSVCR100.dll_sprintf]
lea ecx, [esp + 0x5c]
push 0x200
push ecx
call fcn.00460870
lea edx, [esp + 0x64]
push 0x4b14fc
push edx
call dword [sym.imp.MSVCR100.dll_fopen]
add esp, 0x18
mov dword [0xd1b0a0], eax
cmp eax, ebp
je 0x412aa9
mov esi, dword [0xd1b03c]
mov ebx, dword [0xd1b014]
add esi, 4
lea edi, [ebp + 3]
mov eax, dword [esi]
push ebx
push 0x40d870
push eax
call fcn.004100b0
add esp, 0xc
add esi, 4
dec edi
jne 0x412a60
mov ecx, dword [0xd1b03c]
push 0x40d690
call fcn.0047dff0
cmp dword [0xd1b0a8], ebp
je 0x412ab1
mov eax, dword [0xd1b0a0]
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.MSVCR100.dll_remove]
add esp, 8
or eax, 0xffffffff
jmp 0x412cb2
mov eax, dword [0xd1b03c]
mov edx, dword [eax + 0xc]
fld dword [edx + 0x20]
push 0x88
fstp dword [esp + 0x18]
mov dword [0xd1b040], eax
fld dword [esp + 0x18]
mov dword [0xd1b03c], ebp
fstp qword [esp + 0x20]
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x260], ebp
cmp eax, ebp
je 0x412af8
mov ecx, eax
call fcn.00479ba0
jmp 0x412afa
xor eax, eax
mov dword [esp + 0x260], 0xffffffff
mov dword [0xd1b054], eax
cmp eax, ebp
je 0x412aa9
fld qword [0x4b1908]
push 1
sub esp, 0x18
fstp qword [esp + 0x10]
mov ecx, eax
fld qword [0x4b1900]
fstp qword [esp + 8]
fld qword [esp + 0x38]
fstp qword [esp]
call fcn.0047a600
test eax, eax
jne 0x412aa9
fldz
push 2
fst dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
fstp dword [esp + 0x24]
fld1
lea ecx, [esp + 0x24]
push ecx
fstp dword [esp + 0x20]
lea edx, [esp + 0x24]
push edx
call fcn.0040b920
fld dword [esp + 0x28]
mov ecx, dword [0xd1b054]
fstp qword [esp + 0x34]
fld dword [esp + 0x2c]
add esp, 0x10
fstp qword [esp + 0x2c]
lea eax, [esp + 0x24]
fld dword [esp + 0x14]
push eax
fstp qword [esp + 0x38]
call fcn.00479d90
test eax, eax
jne 0x412aa9
mov ecx, dword [0xd1b054]
push ecx
mov ecx, dword [0xd1b040]
call fcn.0047fcb0
test eax, eax
jne 0x412aa9
push 8
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebp
je 0x412bc5
mov dword [eax + 4], ebp
mov dword [eax], ebp
jmp 0x412bc7
xor eax, eax
mov dword [0xd1b048], eax
cmp eax, ebp
je 0x412aa9
mov ecx, eax
call fcn.00413c60
test eax, eax
jne 0x412aa9
mov edx, dword [0xd1b0a0]
push ebp
push ebp
push edx
call dword [sym.imp.MSVCR100.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x412aa9
xor esi, esi
cmp dword [0xd1b0a4], ebp
jle 0x412c8a
mov edi, dword [sym.imp.MSVCR100.dll_fread]
mov eax, dword [0xd1b0a0]
push eax
push 6
lea ecx, [esp + 0x44]
push 4
push ecx
call edi
add esp, 0x10
cmp eax, 6
jne 0x412aa9
mov edx, dword [0xd1b048]
mov ecx, dword [edx + 4]
call fcn.00413ea0
cmp eax, ebp
je 0x412aa9
fld dword [esp + 0x3c]
fstp dword [eax]
fld dword [esp + 0x40]
fstp dword [eax + 4]
fld dword [esp + 0x44]
fstp dword [eax + 8]
mov eax, dword [0xd1b048]
mov ecx, dword [eax + 4]
call fcn.00413ea0
cmp eax, ebp
je 0x412aa9
fld dword [esp + 0x48]
inc esi
fstp dword [eax]
fld dword [esp + 0x4c]
fstp dword [eax + 4]
fld dword [esp + 0x50]
fstp dword [eax + 8]
cmp esi, dword [0xd1b0a4]
jl 0x412c11
mov ecx, dword [0xd1b0a0]
push ecx
call dword [sym.imp.MSVCR100.dll_fclose]
lea edx, [esp + 0x58]
push edx
call dword [sym.imp.MSVCR100.dll_remove]
mov ecx, dword [0xd1b048]
add esp, 8
call fcn.00415560
xor eax, eax
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.0048d046
add esp, 0x250
ret