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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x144], ecx
lea ecx, [eax + eax*8]
shl ecx, 4
push ebx
mov dword [ebp - 0x138], edx
mov edx, dword [ecx + 0x42fa24]
push esi
push edi
mov dword [ebp - 0x13c], ecx
cmp edx, dword [ecx + 0x42fa20]
jl 0x41ef05
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00425fc4
mov esp, ebp
pop ebp
ret
lea edx, [eax*8]
sub edx, eax
mov eax, dword [0x42fb48]
mov edi, dword [eax + edx*8]
mov eax, dword [ecx + 0x42fa34]
mov edx, dword [ecx + 0x42fa2c]
mov dword [ebp - 0x150], eax
xor eax, eax
xor esi, esi
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x140], eax
cmp si, word [ecx + 0x42fa28]
jge 0x41f3dc
mov ebx, dword [sym.imp.MSVCR100.dll_fread]
jmp 0x41ef66
mov edx, dword [ebp - 0x128]
cmp dword [ebp - 0x130], 1
je 0x41f3dc
cmp dword [ecx + 0x42fa38], 7
jle 0x41f10a
movzx esi, byte [eax + edx]
lea eax, [esi - 0xfb]
cmp eax, 4
ja case.default.0x41ef93
jmp dword [eax*4 + 0x41f4a8]
push edi
push 1
lea ecx, [ebp - 0x10d]
push 1
push ecx
call ebx
add esp, 0x10
lea ecx, [eax - 1]
mov al, byte [ebp - 0x10d]
neg ecx
sbb ecx, ecx
inc ecx
cmp al, 0x64
jg 0x41f09a
movsx edx, al
mov dword [ebp - 0x118], edx
fild dword [ebp - 0x118]
fst qword [ebp - 0x11c]
jmp 0x41f285
push edi
push 1
lea eax, [ebp - 0x120]
push 2
push eax
call ebx
add esp, 0x10
lea ecx, [eax - 1]
mov ax, word [ebp - 0x120]
neg ecx
sbb ecx, ecx
mov edx, 0x7fe4
inc ecx
cmp ax, dx
jle 0x41f016
fld qword [0x430d18]
fst qword [ebp - 0x11c]
jmp 0x41f285
cwde
mov dword [ebp - 0x118], eax
fild dword [ebp - 0x118]
fst qword [ebp - 0x11c]
jmp 0x41f285
push edi
push 1
lea ecx, [ebp - 0x124]
push 4
push ecx
call ebx
add esp, 0x10
lea ecx, [eax - 1]
neg ecx
sbb ecx, ecx
inc ecx
cmp dword [ebp - 0x124], 0x7fffffe4
jle 0x41f244
fld qword [0x430d18]
fst qword [ebp - 0x11c]
jmp 0x41f285
push edi
push 1
lea edx, [ebp - 0x12c]
push 4
push edx
call ebx
fld dword [ebp - 0x12c]
fcom qword [0x42e288]
add esp, 0x10
lea ecx, [eax - 1]
fnstsw ax
neg ecx
sbb ecx, ecx
inc ecx
test ah, 0x41
jne 0x41f16b
fstp st(0)
fld qword [0x430d18]
fst qword [ebp - 0x11c]
jmp 0x41f285
push edi
push 1
lea eax, [ebp - 0x14c]
push 8
push eax
call ebx
fld qword [0x42e280]
fld qword [ebp - 0x14c]
add esp, 0x10
fcom st(1)
lea ecx, [eax - 1]
neg ecx
sbb ecx, ecx
inc ecx
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x41f16b
fstp st(0)
fld qword [0x430d18]
fst qword [ebp - 0x11c]
jmp 0x41f285
test esi, esi
je 0x41f272
push edi
push 1
push esi
lea ecx, [ebp - 0x10c]
push ecx
jmp 0x41f264
movzx eax, byte [eax + edx]
lea ecx, [eax - 0x62]
cmp ecx, 0xa
ja case.0x41f121.99
movzx edx, byte [ecx + 0x41f4d4]
jmp dword [edx*4 + 0x41f4bc]
push edi
push 1
lea eax, [ebp - 0x10d]
push 1
push eax
call ebx
add esp, 0x10
lea ecx, [eax - 1]
mov al, byte [ebp - 0x10d]
neg ecx
sbb ecx, ecx
inc ecx
cmp al, 0x7f
jne 0x41f15c
fld qword [0x430d18]
fst qword [ebp - 0x11c]
jmp 0x41f285
movsx edx, al
mov dword [ebp - 0x118], edx
fild dword [ebp - 0x118]
fst qword [ebp - 0x11c]
jmp 0x41f285
push edi
push 1
lea eax, [ebp - 0x14c]
push 8
push eax
call ebx
fld qword [0x42e278]
fld qword [ebp - 0x14c]
add esp, 0x10
fcom st(1)
lea ecx, [eax - 1]
neg ecx
sbb ecx, ecx
inc ecx
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x41f16b
fstp st(0)
fld qword [0x430d18]
fst qword [ebp - 0x11c]
jmp 0x41f285
push edi
push 1
lea ecx, [ebp - 0x12c]
push 4
push ecx
call ebx
fld dword [ebp - 0x12c]
fcom qword [0x42e270]
jmp 0x41f082
push edi
push 1
lea edx, [ebp - 0x120]
push 2
push edx
call ebx
add esp, 0x10
lea ecx, [eax - 1]
mov ax, word [ebp - 0x120]
neg ecx
sbb ecx, ecx
mov edx, 0x7fff
inc ecx
cmp ax, dx
je 0x41f09a
cwde
mov dword [ebp - 0x118], eax
fild dword [ebp - 0x118]
fst qword [ebp - 0x11c]
jmp 0x41f285
push edi
push 1
lea ecx, [ebp - 0x124]
push 4
push ecx
call ebx
add esp, 0x10
lea ecx, [eax - 1]
neg ecx
sbb ecx, ecx
inc ecx
cmp dword [ebp - 0x124], 0x7fffffff
je 0x41f09a
fild dword [ebp - 0x124]
fst qword [ebp - 0x11c]
jmp 0x41f285
lea esi, [eax - 0x7f]
test esi, esi
je 0x41f272
push edi
push 1
push esi
lea edx, [ebp - 0x10c]
push edx
call ebx
add esp, 0x10
cmp eax, 1
je 0x41f272
xor ecx, ecx
jmp 0x41f277
mov ecx, 1
fld qword [ebp - 0x11c]
mov byte [ebp + esi - 0x10c], 0
test ecx, ecx
jne 0x41f293
mov dword [ebp - 0x130], 1
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x134]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x41f3b8
cmp eax, 0xffffffff
jne 0x41f331
cmp dword [0x430a60], 0
je 0x41f2f0
fld qword [0x430bb0]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x41f3f9
fadd qword [0x42e1f0]
sub esp, 8
fstp qword [esp]
call sub.MSVCR100.dll_floor
mov ecx, dword [ebp - 0x138]
fstp qword [ecx]
add esp, 8
jmp 0x41f3ba
lea eax, [ebp - 0x10c]
fstp st(0)
lea edx, [eax + 1]
jmp 0x41f300
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f300
sub eax, edx
cmp eax, 0xc
ja 0x41f434
mov edx, dword [ebp - 0x138]
lea eax, [ebp - 0x10c]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41f322
jmp 0x41f3ba
cmp eax, 1
jne 0x41f3b8
mov edx, dword [ebp - 0x13c]
cmp dword [edx + 0x42fa38], 7
jle 0x41f390
mov eax, dword [ebp - 0x128]
cmp byte [ecx + eax], 0xfb
jae 0x41f3a0
mov esi, dword [sym.imp.MSVCR100.dll_printf]
fstp st(0)
push str.mdm_variables_must_be_numeric__n
call esi
add esp, 4
push 0x427955
push 0x428e48
call esi
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x41f388
call fcn.00403eb0
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
mov edx, dword [ebp - 0x128]
cmp byte [ecx + edx], 0x80
jae 0x41f46d
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x144]
fstp qword [ecx + eax*8]
inc eax
mov dword [ebp - 0x140], eax
jmp 0x41f3ba
fstp st(0)
mov ecx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x134]
movsx edx, word [ecx + 0x42fa28]
inc eax
mov dword [ebp - 0x134], eax
cmp eax, edx
jl 0x41ef60
inc dword [ecx + 0x42fa24]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x130]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00425fc4
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.MSVCR100.dll_printf]
fstp st(0)
push str.ID_must_be_no_more_than_12_digits_long_n
call esi
add esp, 4
push 0x427955
push 0x428e48
call esi
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x41f42c
call fcn.00403eb0
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
mov esi, dword [sym.imp.MSVCR100.dll_printf]
push str.Your_ID_variable_is_longer_than_12_characters._n
call esi
add esp, 4
push 0x427955
push 0x428e48
call esi
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x41f465
call fcn.00403eb0
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
mov esi, dword [sym.imp.MSVCR100.dll_printf]
fstp st(0)
push str.mdm_variables_must_be_numeric__n
call esi
add esp, 4
push 0x427955
push 0x428e48
call esi
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x41f4a0
call fcn.00403eb0
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
lcall 0x41ef, 0xdb0041ef
add byte [esi], ch
invalid