Function at 0x422fb0
Capabilities:
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x4383e0]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [0x437c5c]
lea eax, [eax + edx*8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 8], edx
mov edx, dword [ebp + 0xc]
add eax, edx
cmp byte [ecx], 0
push edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
je 0x423354
mov ebx, dword [ebp + 0xc]
jmp 0x423000
test eax, eax
je 0x423354
mov eax, ecx
call fcn.004076e0
mov edi, eax
cmp dword [edi], 0
mov dword [ebp - 0x1c], 0
jle 0x42327a
mov eax, dword [edi + 4]
dec eax
mov ecx, 1
mov dword [ebp - 0x10], ecx
cmp eax, 5
ja case.default.0x423036
jmp dword [eax*4 + 0x42337c]
mov eax, dword [edi + 8]
test eax, eax
je 0x423061
mov edx, dword [ebp - 8]
push edx
push ecx
push eax
push 0x4385a0
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
je 0x423061
xor ebx, ebx
jmp 0x423066
mov ebx, 1
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x28]
push ecx
push 0x42fb04
push 0x4385a0
mov byte [eax + 0x4385a0], 0
call dword [sym.imp.MSVCR100.dll_sscanf]
fld qword [ebp - 0x28]
fstp qword [esi]
add esi, 8
add esp, 0xc
dec dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], esi
jmp 0x423253
cmp dword [edi + 8], 0xc
jg 0x423297
mov eax, dword [ebp - 0x18]
sub eax, ecx
je 0x4230c2
sub eax, ecx
jne 0x4232bf
mov esi, dword [ebp + 0x10]
push 0xd
push 0x4392b0
jmp 0x4230eb
push 0xd
push 0x4392b0
cmp dword [ebp + 0xc], ecx
jne 0x4230e8
mov esi, dword [ebp + 0x10]
push esi
call dword [sym.imp.MSVCR100.dll_strncpy]
mov eax, dword [edi + 8]
add esp, 0xc
test eax, eax
je 0x423116
mov ecx, dword [ebp - 8]
push ecx
jmp 0x423100
mov esi, dword [ebp + 0x14]
push esi
call dword [sym.imp.MSVCR100.dll_strncpy]
mov eax, dword [edi + 8]
add esp, 0xc
test eax, eax
je 0x423116
mov edx, dword [ebp - 8]
push edx
push 1
push eax
push esi
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
je 0x423116
xor ebx, ebx
jmp 0x42311b
mov ebx, 1
mov eax, 0xc
call fcn.004045b0
mov esi, dword [ebp - 0xc]
mov eax, 1
sub dword [ebp - 4], eax
sub dword [ebp - 0x18], eax
jmp 0x423253
mov eax, dword [edi + 8]
test eax, eax
je 0x42315c
mov edx, dword [ebp - 8]
push edx
push ecx
push eax
push 0x4385a0
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
je 0x42315c
xor ebx, ebx
jmp 0x423161
mov ebx, 1
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x28]
push ecx
push 0x435420
push 0x4385a0
mov byte [eax + 0x4385a0], 0
call dword [sym.imp.MSVCR100.dll_sscanf]
fld qword [ebp - 0x28]
fstp qword [esi]
add esi, 8
add esp, 0xc
dec dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], esi
jmp 0x423253
mov eax, dword [edi + 8]
test eax, eax
je 0x4231bc
mov edx, dword [ebp - 8]
push edx
push ecx
push eax
push 0x4385a0
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
je 0x4231bc
xor ebx, ebx
jmp 0x4231c1
mov ebx, 1
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x28]
push ecx
push 0x435424
push 0x4385a0
mov byte [eax + 0x4385a0], 0
call dword [sym.imp.MSVCR100.dll_sscanf]
fld qword [ebp - 0x28]
fstp qword [esi]
add esi, 8
add esp, 0xc
dec dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], esi
jmp 0x423253
mov eax, dword [edi + 8]
test eax, eax
je 0x423219
mov edx, dword [ebp - 8]
push edx
push ecx
push eax
push 0x4385a0
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x4232eb
mov ebx, 1
jmp 0x423265
mov eax, dword [ebp - 8]
push eax
push 0x800
push 0x4385a0
call dword [sym.imp.MSVCR100.dll_fgets]
add esp, 0xc
jmp 0x423253
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x4383e0]
push edx
push str.problem_with_format_n_s_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
inc ebx
test ebx, ebx
je 0x4232eb
cmp dword [ebp - 0x10], 0
je 0x4232f5
cmp dword [ebp - 4], 0
je 0x42327a
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [edi]
jl 0x423021
mov eax, dword [ebp - 0x14]
add eax, dword [edi + 0xc]
cmp byte [eax], 0
mov dword [ebp - 0x14], eax
je 0x423354
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
jmp 0x423000
push str.id_must_be_12_or_fewer_characters_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404c60
inc dword [0x437d8c]
je 0x4232b7
call fcn.004048c0
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [ebp + 0xc]
push eax
push str._nThere_should_only_be__d_ID_field_s__specified__n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
call fcn.00404c60
inc dword [0x437d8c]
je 0x4232e3
call fcn.004048c0
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 - 0x14]
push ecx
push str._nData_do_not_match_format_at__s_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
call fcn.00404c60
inc dword [0x437d8c]
je 0x42334c
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
nop
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
cmp eax, 3
jbe 0x423330
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
mov ecx, dword [ebp - 8]
push ecx
push 0x800
push 0x4385a0
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