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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, dword [0x448c78]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [edi*8]
sub eax, edi
lea eax, [ebx + eax*8]
mov ebx, dword [eax + 4]
cmp edi, 3
ja case.default.0x42624c
jmp dword [edi*4 + 0x42668c]
mov dword [ebp - 0x14], esi
jmp 0x426272
mov dword [ebp - 0x10], 3
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], ecx
jmp case.default.0x42624c
mov dword [ebp - 0x14], edx
jmp 0x426272
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 1
mov esi, dword [ebp - 0x10]
mov edi, dword [edi*4 + 0x444370]
mov ecx, dword [eax]
mov dword [ebp - 0x20], esi
add esi, ebx
cmp byte [edi], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], esi
je 0x426664
mov ebx, dword [ebp + 8]
nop
test esi, esi
je 0x426664
mov eax, edi
call fcn.00409b40
mov edi, eax
cmp dword [edi], 0
mov dword [ebp - 0x24], 0
jle 0x426523
mov eax, dword [edi + 4]
dec eax
mov dword [ebp - 0x18], 1
cmp eax, 5
ja case.default.0x4262d5
jmp dword [eax*4 + 0x42669c]
mov eax, dword [edi + 8]
test eax, eax
je 0x426301
mov edx, dword [ebp - 4]
push edx
push 1
push eax
push 0x444520
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
je 0x426301
xor ebx, ebx
jmp 0x426306
mov ebx, 1
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x38]
push ecx
push 0x43b6dc
push 0x444520
mov byte [eax + 0x444520], 0
call dword [sym.imp.MSVCR100.dll_sscanf]
fld qword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
fstp qword [eax]
add eax, 8
add esp, 0xc
dec esi
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esi
jmp 0x4264fe
cmp dword [edi + 8], 0xc
jg 0x42653c
mov eax, dword [ebp - 0x20]
dec eax
je 0x426381
dec eax
je 0x426360
dec eax
jne 0x426586
mov esi, dword [ebp - 0x28]
jmp 0x426384
mov esi, dword [ebp - 0x2c]
push 0xd
push 0x4532f0
push esi
call dword [sym.imp.MSVCR100.dll_strncpy]
mov eax, dword [edi + 8]
add esp, 0xc
test eax, eax
je 0x4263b6
mov ecx, dword [ebp - 4]
push ecx
jmp 0x4263a0
mov esi, dword [ebp - 0x14]
push 0xd
push 0x4532f0
push esi
call dword [sym.imp.MSVCR100.dll_strncpy]
mov eax, dword [edi + 8]
add esp, 0xc
test eax, eax
je 0x4263b6
mov edx, dword [ebp - 4]
push edx
push 1
push eax
push esi
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
je 0x4263b6
xor ebx, ebx
jmp 0x4263bb
mov ebx, 1
mov eax, 0xc
call fcn.00406820
mov eax, 1
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x20], eax
mov esi, dword [ebp - 0xc]
jmp 0x4264fe
mov eax, dword [edi + 8]
test eax, eax
je 0x4263fd
mov ecx, dword [ebp - 4]
push ecx
push 1
push eax
push 0x444520
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
je 0x4263fd
xor ebx, ebx
jmp 0x426402
mov ebx, 1
mov edx, dword [edi + 8]
lea eax, [ebp - 0x38]
push eax
push 0x440a5c
push 0x444520
mov byte [edx + 0x444520], 0
call dword [sym.imp.MSVCR100.dll_sscanf]
fld qword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
fstp qword [eax]
add eax, 8
add esp, 0xc
dec esi
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esi
jmp 0x4264fe
mov eax, dword [edi + 8]
test eax, eax
je 0x426462
mov ecx, dword [ebp - 4]
push ecx
push 1
push eax
push 0x444520
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
je 0x426462
xor ebx, ebx
jmp 0x426467
mov ebx, 1
mov edx, dword [edi + 8]
lea eax, [ebp - 0x38]
push eax
push 0x440a60
push 0x444520
mov byte [edx + 0x444520], 0
call dword [sym.imp.MSVCR100.dll_sscanf]
fld qword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
fstp qword [eax]
add eax, 8
add esp, 0xc
dec esi
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esi
jmp 0x4264fe
mov eax, dword [edi + 8]
test eax, eax
je 0x4264c4
mov ecx, dword [ebp - 4]
push ecx
push 1
push eax
push 0x444520
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x4265d4
mov ebx, 1
jmp 0x426510
mov edx, dword [ebp - 4]
push edx
push 0x4000
push 0x444520
call dword [sym.imp.MSVCR100.dll_fgets]
add esp, 0xc
jmp 0x4264fe
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x444370]
push ecx
push str.problem_with_format_n_s_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
inc ebx
test ebx, ebx
je 0x4265d4
cmp dword [ebp - 0x18], 0
je 0x4265de
test esi, esi
je 0x426523
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, dword [edi]
jl 0x4262c1
mov eax, dword [ebp - 0x1c]
add eax, dword [edi + 0xc]
cmp byte [eax], 0
mov dword [ebp - 0x1c], eax
je 0x426664
mov edi, eax
jmp 0x4262a0
push str.id_must_be_12_or_fewer_characters_n
call dword [sym.imp.MSVCR100.dll_printf]
call fcn.00406fe0
mov edx, dword [0x4596c4]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
push edx
mov dword [0x443e58], 1
call esi
mov eax, dword [0x448bc8]
push eax
call esi
add esp, 0xc
cmp dword [0x443e58], 0
je 0x42657e
call fcn.00406b90
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
mov ecx, dword [ebp - 0x10]
push ecx
push str._nThere_should_only_be__d_ID_field_s__specified__n
call dword [sym.imp.MSVCR100.dll_printf]
call fcn.00406fe0
mov edx, dword [0x4596c4]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
push edx
mov dword [0x443e58], 1
call esi
mov eax, dword [0x448bc8]
push eax
call esi
add esp, 0x10
cmp dword [0x443e58], 0
je 0x4265cc
call fcn.00406b90
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x1c]
push ecx
push str._nData_do_not_match_format_at__s_n
call dword [sym.imp.MSVCR100.dll_printf]
call fcn.00406fe0
mov edx, dword [0x4596c4]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
push edx
mov dword [0x443e58], 1
call esi
mov eax, dword [0x448bc8]
push eax
call esi
add esp, 0x10
cmp dword [0x443e58], 0
je 0x42665c
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
lea ebx, [ebx]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, esi
cmp ecx, 3
jbe 0x426640
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
mov edx, dword [ebp - 4]
push edx
push 0x4000
push 0x444520
call dword [sym.imp.MSVCR100.dll_fgets]
add esp, 0xc
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
dec eax
pop ebx
mov esp, ebp
pop ebp
ret